LINUX GAZETTE

October 2003, Issue 95       Published by Linux Journal

Front Page  |  Back Issues  |  FAQ  |  Mirrors
The Answer Gang knowledge base (your Linux questions here!)
Search (www.linuxgazette.com)


Linux Gazette Staff and The Answer Gang

TAG Editor: Heather Stern
Senior Contributing Editor: Jim Dennis
Contributing Editors: Ben Okopnik, Dan Wilder, Don Marti

TWDT 1 (gzipped text file)
TWDT 2 (HTML file)
are files containing the entire issue: one in text format, one in HTML. They are provided strictly as a way to save the contents as one file for later printing in the format of your choice; there is no guarantee of working links in the HTML version.
Linux Gazette[tm], http://www.linuxgazette.com/
This page maintained by the Webmaster of Linux Gazette, webmaster@linuxgazette.com

Copyright © 1996-2003 Specialized Systems Consultants, Inc.

LINUX GAZETTE
...making Linux just a little more fun!
The MailBag


HELP WANTED : Article Ideas
Submit comments about articles, or articles themselves (after reading our guidelines) to The Editors of Linux Gazette, and technical answers and tips about Linux to The Answer Gang.


dual Booting xp @ suse8.2

Sat, 30 Aug 2003 15:44:39 -0700
Patrick B (ironman616 from hotmail.com)

I have two separate hard drives on my computer hda, hdb. Xp is on hda an suse 8.2 is on hdb.Im booting suse with a floopy with lilo installed on it.Do you know of a lilo configuration that will boot my system.I tried the default installation that wrote the boot loader to the mbr .All I got when I tried booting was a blinking curser in the upper left corner of the screen.If you know of a lilo configuration that works I would be most grateful.Any help is most appretiated.

ironman616


webdialer using http

Sat, 9 Aug 2003 11:39:22 +0100
Aengus Walton (smiley0 from myrealbox.com)

I have a server and workstation and when I use the workstation it's masqueraded behind the server, but when the rest of the family needs to get on the net i have to get the server to logoff the net and they logon directly from the windows workstation. So what I need is a http interface to wvdial (if possible) that's compatible with IE..

I've already spent time installing webdialer (a project which does just this) but unfortunatly it doesn't work too well with IE as its client, and changing the client isn't an option.

Any suggestions would be greatly appreciated

cheers

Aengus


booting linux from flash memory!

Wed, 30 Jul 2003 02:27:18 +0000
Devi Priya (ijpriya from hotmail.com)

Hello,

I am new to this list. I am involved in embedded project. I have a system with linux as its operating system. My system has external peripherals like SDRAM, Flash memory etc.

I have to boot my linux OS from Flash memory. I have a BIOS programming which does the minimal hardware initialization. I would like to know how to boot my OS from Flash memory?

Thanks in advance for any help!

Well, this fellow's just getting started and a google search probably helped him more than we could. But, if someone has their own tale of burning their own flash-based startup, and what they were really using it for, I think it'd make a great article. -- Heather


minicom related - help required

Tue, 5 Aug 2003 06:36:04 -0400 (EDT)
Sriram N.S. (sriram_ns from hotvoice.com)

hi,

(1) I have been using minicom v2.00.0 on red-hat 7.3 to test my serial-port driver. while doing file-transfers (with both flow-controls disabled) i observe that minicom attempts to enable software flow control automatically. this happens even when hardware flow control has been enabled. i get to see the corresponding ioctl being issued to the driver. how can i overcome this particular problem??. i have been attempting the transfer operation at baud-rates 230K, 115K using ZModem proto. Is there an undocumented limitation with minicom with respect to speed??. This particular problem also affects transfer of binary files as minicom mistakes the content of the received file as control info.

(2) what are the possible causes for "Garbage Count exceeded"/"Bad CRC" messages on minicom??

Your help in this regard will be highly appreciated

Rgds, Sriram.

If you have more juicy things to say than "there may be a new version out" - any readers are welcome to chime in with real experiences on this one... -- Heather


Re:help with grub

Fri, 8 Aug 2003 12:33:39 -0500
cnuccio (cnuccio from ltpro.com)

hi

i saw your linux tips about grub and am in a bit of a pickle and i thought you could help.

i got a new dell with xp preisntalled. i asked for fat32 but they gave me NTFS. anyway, so i instralled partition magic, made a 5 gig partiion and setup boot magic (prepare for new OS).

i activated the partition and then booted to the redhat 9 (shrike) CD and installed. reboot, and all i see is grub, with only linux as a choice.

dell was no help, so i tried for a few days to get some info on editing grub.conf and getting xp back booting. i tweaked and trial and errored and first got it to boot to xp, but there was a "unable to validated license" or something. no dialog to login.

more tweaking, added inter partition mapping (i assume the license key was on another partition and it seemed to work even if i am wrong) got it to get to login box, but after typing in log and PW, it just sat there unable to start the explorer. i know i am close, but can't seem to get grub correct.i found a GUI grubconf utlity, but it assumes you know what you are doing.

here is my grub conf as i left it when my brain melted. i did a thing or 2 more to it and broke it again, but it was late:

See attached melted.grub-conf.txt

and here is the output of fdisk -l to show my drive info:

See attached melted.fdisk-l.txt

can you help me? i didn;t make rescue floppies (xp nor partition magix) and didn't back up my data ( i have done this several times with no probs.) and i really hate reinstalling (mainly losing lots of unread mail) but i know i am close...

please help if you can. thanks very much for your time.

chris nuccio

Anyone who's gotten their hands grubby with WinXP want to give it a shot? -- Heather

GENERAL MAIL


The Mailbag: Article Idea: "Windows Defectors" column

Mon, 4 Aug 2003 12:45:15 -0400
grok (grok from sprint.ca)

Hi all:

I'm glad I came across this 'polemic' now (being, sadly, only a sometime reader of LG). My 2-cents'-worth:

Some LG contributors seem to consistently miss the point as (for that matter) do many GNU/Linux 'geeks': this isn't about what possible MS defectors should or shouldn't be doing -- it's about what they will do; and they WILL be staying away from GNU/Linux unnecessarily if they anticipate the least complication in 'switching over' -- as is already the case somewhat.

The original letter-writer has hit the nail on the head (again -- as this is not the first time this has come up, by any means). 'Turn-key' types need -- and should receive -- all the help and encouragement they can possibly get to switch over. To quibble ahead of time over the methodology or the feasibility or the desirability, even, of getting a significant percentage of Windows users to 'defect' to us, is more about confusing the politics of the matter with the mechanics of it all.

IMO 'geeks' seem to excel at being technically sophisticated about these issues -- but politically naive in the extreme. It ain't rocket science to understand that we simply are required to hold these people's hand a bit in helping them over the hump, if we entertain any hopes of freeing the planet from the thrall of Microsoft (and others). The details will take care of themselves AFAIC -- discussion here of the Knoppix solution being a case-in-point.

As a former long-time 'windows tips' reader and fairly experienced political activist -- and small-time GNU/Linux advocate/user of some years' experience (if not expertise) as well -- there is one thing that is ABUNDANTLY clear to me: there is absolutely NO fundamental contradiction between having a 'turn-key', 'idiot-proof' GNU/Linux install over top of the preferred geek wet-dream OS we all desire. We can have things both ways (when it comes to GNU/Linux, if not in Life). Geeks who object to 'dumbing things down', (for whatever reasons) are simply missing the Big (non-technical) Picture -- which does INDEED matter in the long term. Many GNU/Linux users won't settle for Free Software becoming yet another 'niche market'. Too many geeks have said as much that they wouldn't mind/care about such a state of affairs. They clearly do not understand that this attitude could (but I don't believe would) lead to the downfall of Free Software. It certainly doesn't help, and actually harms, IMO our 'Cause' [i.e. see my postscript].

I am looking forward to reading a forthcoming regular 'Windows Defectors' column monthly in Linux Gazette. ;>

P.S.: LG should do an article about the insulting little 'cliques' of geeks who inhabit the various #debian/#linux/#other channels on IRC, terrorizing and driving away newbies in droves. Clearly these 'experts' have one set of problems they themselves haven't yet 'defined'...

The staff here at LG had a mixed reaction to this. I've formatted the replies we got below in the format that TAG is laid out as, so that you, the gentle reader can still see the context of the reply. -- Thomas Adam

Some LG contributors seem to consistently miss the point as (for that matter) do many GNU/Linux 'geeks': this isn't about what possible MS defectors should or shouldn't be doing -- it's about what they will do; and they WILL be staying away from GNU/Linux unnecessarily if they anticipate the least complication in 'switching over' -- as is already the case somewhat.

[Thomas] Sigh, I think you're being too idealistic. I agree with you, but you have to remember that "will do" is the operative phrase in your sentence. Many people that write in asking questions such as "is Linux better than Windows" often don't know themselves whether or not it would be a viable alternative for them to switch, and so we ('we' as in the staff at LG) try and extrapilate what they might want to do, based on the really poor information that the querents send in.
Many people that want to run Linux though often have a pre-conceived notion as to what they want to use it for, i.e. a webserver, fileserver, mailserver, etc., and more often is the case that they've heard that Linux can do this, and so they concentrate their efforts in finding out how Linux can do that specific task -- which is great. This then usually gives them the insentive to explore Linux's capabilties further and to get Linux to do Other Things (tm).

The original letter-writer has hit the nail on the head (again -- as this is not the first time this has come up, by any means). 'Turn-key' types need -- and should receive -- all the help and encouragement they can possibly get to switch over.

[Thomas] Which we try as best we can to provide. You have to understand though that we can only go so far as to help them only if they are willing to put the effort in themselves. There is only so much effort we can put in to a querent's answer, based on how far he/she is prepared to take out efforts. This is why joining a local LUG can be hugely beneficial for those who are just finding their feet, as it were.
I know of one querent (I shan't name names, although Heather will know who I am talking about (Hi, Heather!)) who continually e-mails us questions. This is great, since this is what we're here for in the first place, but it seems to me as though very little to no effort is first put into researching the question before it is sent. More often than not, we at the LG are a front-end to google/linux.

To quibble ahead of time over the methodology or the feasibility or the desirability, even, of getting a significant percentage of Windows users to 'defect' to us, is more about confusing the politics of the matter with the mechanics of it all.

[Thomas] Not at all, the two are virtually synonymous if you ask me, and often go hand in hand, since it a) depends on what (if any specific task) person X wants to do, and b) the mechanics are usually executed as a result of the purpose for defecting. I use the term 'purpose' in the loose sense, since there are some people who try Linux, just because they have heard a lot about it.

IMO 'geeks' seem to excel at being technically sophisticated about these issues -- but politically naive in the extreme. It ain't rocket science to understand that we simply are required to hold these people's hand a bit in helping them over the hump, if we entertain any hopes of freeing the planet from the thrall of Microsoft (and others). The details will take care of themselves AFAIC -- discussion here of the Knoppix solution being a case-in-point.

I believe you are creating a stereotype, to say nothing of making a sweeping generalisation. Granted there are a small minority who have the attitude of: RTFM each and everytime a person asks a question (this is very common in IRC rooms), but then most people are genuinely trying to help. Again, I stress the importance of LUG's here as a means of "holding their hands".
I disagree with the way you have phrased your sentence: "freeing the planet from the thrall of Microsoft (and others)." Remember that switching over is down to the individual choice, or to the choice of the organisation/business/etc that a person may well work for. In the latter case though, training ought to be given, but for the former, it is again dependant on his/her needs from Linux.
There are some people who I recommend should stick to using MS-Windows based upon their requirements. My parents for example would really not get on with Linux one bit, due to their needs, and still at this time, Linux does not satisfy them.

As a former long-time 'windows tips' reader and fairly experienced political activist -- and small-time GNU/Linux advocate/user of some years' experience (if not expertise) as well -- there is one thing that is ABUNDANTLY clear to me: there is absolutely NO fundamental contradiction between having a 'turn-key', 'idiot-proof' GNU/Linux install over top of the preferred geek wet-dream OS we all desire.

[Thomas] Are you saying that Linux is a source of sexual satisfaction? I also completely refute your stereotype of "geek" (whatever you mean by that). No OS is idiot-proof', since it all comes down to how you as a user of the OS decide to manage it.

We can have things both ways (when it comes to GNU/Linux, if not in Life). Geeks who object to 'dumbing things down', (for whatever reasons) are simply missing the Big (non-technical) Picture -- which does INDEED matter in the long term.

[Thomas] Which is what?

Many GNU/Linux users won't settle for Free Software becoming yet another 'niche market'. Too many geeks have said as much that they wouldn't mind/care about such a state of affairs. They clearly do not understand that this attitude could (but I don't believe would) lead to the downfall of Free Software. It certainly doesn't help, and actually harms, IMO our 'Cause' [i.e. see my postscript].

[Thomas] We can perhaps thank RMS for his continual devotion to the FS cause here.

I am looking forward to reading a forthcoming regular 'Windows Defectors' column monthly in Linux Gazette. ;>

[Thomas] Assuming you would write one, but expect a lot of flame e-mails!

I am looking forward to reading a forthcoming regular 'Windows Defectors' column monthly in Linux Gazette. ;>

[Jimmy O'Regan] I volunteered to write about Wingate (it's still on my todo list, there's just one or two things I haven't gotten working the right way yet), I still have to use Windows to browse the net (winmodem), and most of the answers I've given have been on windows related subjects, so I volunteer to write a column about windows stuff. Now, I'm not the most confident person in the world, so (to the rest of the Answer Gang :) is there someone I can send draft articles to for constructive criticism? To Jim/grok, are there any specific topics you think should be covered?
I had been thinking of starting with articles which showed how Windows users could begin the transition by using free software under windows, to lower the learning curve: cygwin, open office (.org), mozilla &c. (I also have a couple of short scripts and aliases to convert (really) obscure windows file formats to something useful, though I might just group a few and sent them as 2c tips).
The quickest idea I could roll off is an article about Cygwin; how the standard tools are actually really useful, even if you can't just point and click to use them :) - I could roll a couple of the obscure file formats into that, by way of demonstration (using awk for CSV etc)
I could probably do an introduction to Open Office from the MS Office user's POV at the same time; provided I get enough time around my parents (my mother is/was an ECDL instructor, my Dad had to train the rest of the office staff at his last job), and having once been forced to use ASP, I'm pretty interested in trying out Arrowhead and giving my impressions.
On a level which leans more towards my personal interests, I've got some video editing to do in the next week, and I want to try out Ardour as a home studio solution, and as a guitarist, I want to see if Songwrite comes anywhere near GuitarPro as a way of representing tablature; but since on the distro I'm forced to use (Mandrake bloody 9.0) both gcc and python are broken, this may take a while.
Plus, the helicopter never came after the last time I volunteered :)

Some LG contributors seem to consistently miss the point as (for that matter) do many GNU/Linux 'geeks': this isn't about what possible MS defectors should or shouldn't be doing -- it's about what they will do; and they WILL be staying away from GNU/Linux unnecessarily if they anticipate the least complication in 'switching over' -- as is already the case somewhat.

[Ben] Och, that tired old refrain again. Why are you assuming that people are "missing" something here? What if, after sober and careful consideration, they have decided that the cons of doing what you ask for outweigh the pros? I am among the Linux "geeks" that have done so; many other people that I know are as well. Your assumption is poorly considered and rather offensive.

The original letter-writer has hit the nail on the head (again -- as this is not the first time this has come up, by any means). 'Turn-key' types need -- and should receive -- all the help and encouragement they can possibly get to switch over. To quibble ahead of time over the methodology or the feasibility or the desirability, even, of getting a significant percentage of Windows users to 'defect' to us, is more about confusing the politics of the matter with the mechanics of it all.

[Ben] Answer me one simple question here, if you would. Who pays? Conversely, who is it that owes the hundreds of thousands of hours of careful, exacting, difficult labor necessary to "convert" (quoted due to many unmerited assumptions behind the word) those would-be Wind0ws-to-Linux 'defectors'?

IMO 'geeks' seem to excel at being technically sophisticated about these issues -- but politically naive in the extreme.

[Ben] To put it plainly, you don't know what you're talking about. This myth has been propagated for so long that even people who should know better are affected by it - but a tiny bit of research would show you the cold, hard truth in just moments. Take a look at Kuroshin, Slashdot, Linux.org, EFF.org, etc.; there are many, many highly politically-savvy folks there if you look for them.

It ain't rocket science to understand that we simply are required to hold these people's hand a bit in helping them over the hump, if we entertain any hopes of freeing the planet from the thrall of Microsoft (and others).

[Ben] Who are "we"? If you are willing to do the job - if you manage to hold up for even a week of providing the level of support you're talking about without any remuneration - kudos and my respects to you. I have no doubt that LG would be more than happy to advertise your services.
Until you're willing to do this, please don't assume that you can co-opt other people's services without any return. You don't own anyone else's efforts. If we're speaking of extreme political naivete, it is exactly this, often displayed by those who spend too much time in political bull sessions and not enough time in the real world - people are not pawns, their labor is not to be taken for granted.

The details will take care of themselves AFAIC -- discussion here of the Knoppix solution being a case-in-point.

[Ben] For those details to "take care of themselves", a fellow named Klaus Knopper had to put in a few thousand hours (my best guess) of hard work. I doubt that he'd appreciate his efforts being so dismissively classified; I certainly don't.

As a former long-time 'windows tips' reader and fairly experienced political activist -- and small-time GNU/Linux advocate/user of some years' experience (if not expertise) as well -- there is one thing that is ABUNDANTLY clear to me: there is absolutely NO fundamental contradiction between having a 'turn-key', 'idiot-proof' GNU/Linux install over top of the preferred geek wet-dream OS we all desire.

[Ben] As Thomas noted, I do not use OSes for my sexual satisfaction. Besides, there's no such thing as idiot-proof; idiots are far too ingenuous. The point that you're missing is that using a computer requires intelligence, skill, and effort - and by its nature, always will. It's a *tool*: one that, in this respect, is no different from, say, a lathe... although a lathe is perhaps a little less physically forgiving. Idiots will never use either one well.
[Jason] The only way we could have a "idiot-proof", "turn-key" would be for someone other than the users to make choices for the users. Sounds kind of like what a distribution does, doesn't it?

We can have things both ways (when it comes to GNU/Linux, if not in Life). Geeks who object to 'dumbing things down', (for whatever reasons) are simply missing the Big (non-technical) Picture -- which does INDEED matter in the long term.

[Ben] The Big Picture, in your perception, being that the skilled and the knowledgeable are the servants of the idiots and the clueless? Please... try that somewhere else. I grew up under a political system that was based on that premise (the former USSR); the current state of that entity, and the amount of suffering it created in this world, should give you a clue as to the success of that idea.
[Jason] You should read "In the Beginning was the Command Line", an essay by Neal Stephenson. (I don't have a link handy: Google for it.) It's about user interfaces, and how GUIs rely upon other people making choices for you.
Oh yes, it's Linus Skywalker vs. the death star! :-)
Okay, this is going to harsh, but how will clueless Windows users help free software? They can't code. Bug reporting takes a certian skill.
That is highly inaccurate. Windows users' can write software, it is just that they'll probably be used to a different language. -- Thomas Adam
How exactly is it that we can't live without these people?
But really, I wan't to see Linux popular as much as the next guy, but if I have to do by making Linux look just like Windows, what's the point? Distros such as Mandrake, IMHO, are doing a great job of providing alternate configuration interfaces (ie, a GUI) and leveraging automatic hardware detection.
Mandrake and RedHat are trying to be too much like Windows, IMHO. The whole point about Linux should be that it is another alternative from using it...not: "How can we make Linux look more like Windows" -- Thomas Adam

 


Copyright © 2003, . Copying license http://www.linuxgazette.com/copying.html
Published in Issue 95 of Linux Gazette, October 2003

LINUX GAZETTE
...making Linux just a little more fun!
More 2-Cent Tips

See also: The Answer Gang's Knowledge Base and the LG Search Engine


cinelerra & libstdc++so.3

Fri, 08 Aug 2003 23:54:45 -0700
Thomas Adam (The LG Weekend Mechanic)
Question by Brian

Well, i installed the SuSe 8.2 pro, and it's really nice. Found Kino and got my firewire DV video camera to download some AVI files. wow! To get a final product SVCD of my little princess riding horses, i decided to use Cinelerra.it won't install, because libstdc++so.3 isn't found. I have all the C++ from SuSe, but, not this.

My Questions: 1 i have the files from a Linux Format DVD "essentials" section. It looks "involved" to install. Do i need the one file libstdc++so.3, or the whole group?

2 Could you recommend a course of action. I would like to do some video editing again. I'm 1/2 way there and real excited. Dang! i'm getting all shaky again!

This looks like a classic case of "I cannot find the symlink". I usually get annoyed at programs that do this, but the solution is simple:
1. Find "libstdc++" (possibly in /usr/lib/)
2. ln -s /usr/lib/libstdc++ /usr/lib/libstdc++so.3
(What you may find is that a file called "libstdc++so.so" exists, and should that point of a library file, symlink it as appropriate).
3. run "ldconfig -X" (as root)
(Step 3 is there to keep the cache happy, although it is usually not needed).
HTH,

Thank you very much. Cinelerra is working, the frame rate is up w/ my NVIDIA driver, and i have 2 week's vacation starting today!. whoo hoo!

I am requesting your permission to post your suggestion to the web - chat sites where a few are experiencing similar difficulties.

thanks a 1 EE6.

brian

You're more than welcome to do so -- Thomas Adam


problem in dns setting up

Wed, 6 Aug 2003 02:51:16 -0700 (PDT)
Kapil Hari Paranjape (The Answer Gnag)
Question by Anil KP

Hi, We have leaseline from our isp and they have given us 8 ethernet ipz(public ip) for our internal servers. The problem is that our ispz dns doesnt work properly. so i thought of setting up my own dns.

I was able to setup the dns on the private

network(192.168.1.1-first ethernet card) successfully but was not able to setup the dns properly on the public ip(another ethernet card). What wud be reverse lookup zone file in the case of public ip?(I was given by my isp only 8 pulic ipz ). Anticipating ur reply

[Kapil] This can only be done by subnet assignment. The ISP needs to create entries for your in their reverse zone file which point to your server. Look for CIDR or Classless Internet Domain Routing on google.
I think this is only applicable if bot hyou and the ISP use "bind". If you use DJBernstein's domain name server programs then things are different.
To repeat, this is only possible through co-operation with the entity (presumably your ISP) who has been authorised to provide reverse lookup to the entire Class C net to which your eight addresses belong.
As an example you can get for our domain:
$ host -t PTR 81.209.199.203.in-addr.arpa.
81.209.199.203.in-addr.arpa     CNAME   81.imsc.209.199.203.in-addr.arpa
81.imsc.209.199.203.in-addr.arpa        PTR     proxy.imsc.res.in

$ host -t NS 209.199.203.in-addr.arpa.
209.199.203.in-addr.arpa        NS      md3.vsnl.net.in
209.199.203.in-addr.arpa        NS      md2.vsnl.net.in

$ host -t NS imsc.209.199.203.in-addr.arpa.
imsc.209.199.203.in-addr.arpa   NS      ns1.imsc.res.in
imsc.209.199.203.in-addr.arpa   NS      ns2.imsc.res.in


Home LAN setup question

Sat, 09 Aug 2003 00:50:59 -0600
Faber Fedor (xgen from softhome.net)
Question by xgen

Hi there dude,

i have a general question regarding Home LAN setup on Linux

I have 2 PCs to be networked and sharing a connection. Do i need 2 network cards, 1 leading out to the outside world, another leading to my internal LAN? Is this setup common? Will it help in LAN security?

Thanks a mil

-Xgen

[Faber] These days, the Dude has been upgraded to Dudes and a Dudette. We're now known as The Answer Gang. The Answer Guy is still around , but he's got help these days.
Generally speaking, if you're using one of the Linux boxes as a router/firewall. If you're using, say a LInksys router/firewall, then no, you don't need two NICS in one Linux box.
Check out www.tldp.org for various documents on setting up networks and routers using Linux.


Anyone for winRAID?

Mon Sep 29 16:39:55 BST 2003
Hugo Mills (Hugo@carfax.org.uk)

[hugo] I seem to be getting a small but steady flow of people
[hugo] asking me about the Adaptec Serial ATA RAID card and Linux.

[editorgal] hrmmmm
[editorgal] is there a distro being buggy about it?
[hugo] No, it just doesn't work right.
[editorgal] a pal tells me that aacraid code is busted in some of the gentoo kernel kits but is safe to use in their vanilla source kit
[hugo] It's not AAC at all.
[hugo] It's the AAR-1210SA.

[editorgal] is theer a secret handshake for it or is it just Being Evil right now?
[hugo] It's based on the SiI3112 chip, but Adaptec mangled it.
[hugo] You can write stuff to the disk drive and read it back again,

[editorgal] since I'm working on the tips section anyway.... :D
[hugo] but every disk access just causes a DMA timeout,
[editorgal] ouch
[hugo] which takes anything up to about 45 seconds to clear.
[editorgal] urgh
[hugo] So it's basically worthless.
[editorgal] that's millenia in computer time
[hugo] I wrote a patch to the kernel to recognise the PCI ID of the card,
[hugo] which works (I've got code in the kernel! Woohoo!)
[hugo] but it has the unfortunate effect above.

[editorgal] this a private patch or submitted?
[hugo] Submitted.
[hugo] It went in 2.4.21-ac1, and 2.4.22 I think.
[hugo] (Or was it 2.4.20-ac1 and 2.4.21? I can't remember)

[editorgal] ok, it wasn't handled at all, but you provided code which tries to handle it, only DMA is still wicked?
[hugo] Yes, that's about the size of it.
[hugo] Adaptec provide Linux drivers for the card,
[hugo] but they're only for certain stock Red Hat kernel packages.
[hugo] and they're binary-only.

* Editorgal avoids ranting about RH's concept of "stock"
[hugo] I've tried asking moderately noisily on LKML about the problems with this card,
[hugo] but nobody seems to be able to give me any information at all.
[hugo] All I've achieved is having several email threads archived where I appear to be
[hugo] the font of all knowledge about getting the 1210SA working under Linux.

[tonytiger] heh
[hugo] As soon as this month's pay cheque clears, I'm buying an SIIG card instead,
[hugo] and selling the Adaptec on eBay.

[editorgal] what's the info you want to get, I could post a wanted note for you in LG?
[hugo] Why isn't it working, and how do you fix it? :)
[hugo] TBH, I can't be arsed at this point.

[editorgal] it isn't working because adaptec's too lame to cough up a source module instead of a binary for RH's heavily mangled kernels.
[hugo] Well, yes, that's about the size of it. :)
* Editorgal captures this thread for the 2c Tips column
[hugo] Also, I think they want to hide the fact that the RAID (0, 1, 0+1) part of the card is effectively done in software.
[hugo] (Or so it is rumoured)

That "rumor" is per a Linux Kernel Mailing List (LKML) post by Sam Flory. It's probably mirrored lots of places, but here's a pointer:
http://marc.theaimsgroup.com/?l=linux-kernel&m=105484662322837&w=2
In the rest of the thread, Hugo notes that he's only looking for basic drive-access features, but above, he notes that he hasn't managed to code them up himself, and is giving up (his main contribution having been patching the PCI ID recognition). For fairness sake they have binary modules for a few other stock boxed-linux kernels but as soon as you stray off the beaten path - and possibly as soon as you upgrade even if staying within the distro's offered kernels - someone else will have to figure out why the SiI3112 chip hates Seagate SATA drives.

Meanwhile, if you're the sort who bristles about binary-only drivers going into your otherwise trustable kernel, look out for VIA's "support" for the MPEG2 hardware on their EPIA boards, too. -- Heather


up2date SSL error

Fri, 26 Sep 2003 10:24:42 -0400
Greg Anderson (Greg from FutureRealms.com)

In Redhat 7.1 thru 9 running up2date fails with this message:

SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

Then it tells you your system's clock may be so wrong it is causing the problem. What is really going on is the certificate and the up2date program is out of date. You need to download the lateest up2date from Redhat.

...............

"The certificate used by up2date and rhn_register to communicate with the Red Hat Network reached its end of life on August 28th 2003. Users attempting to connect to Red Hat Network will see SSL connection or certificate verification failures."

"New versions of the up2date and rhn_register clients are now available which are required for continued access to Red Hat Network."

...............

RHSA-2003:267 for Red Hat Linux: https://rhn.redhat.com/errata/RHSA-2003-267.html

This solved it for me. -- Greg Anderson

[JimD] Might be good to try an rpm --rebuilddb command, too. Just in case rpm segfaults on a corrupted dbm/database.


Snapshot fo current window or desktop

24 Sep 2003 12:30:54 -0500
Dan Wilder, Thomas Adam, Ashwin N (the LG Answer Gang)
Question by Wes Hegge

How do I get a snapshot (preferably in gif or jpg format) of the current window in KDE? What I am looking for is the equivalent to MS's Alt-PrtScn then paste to paintbrush and then save to a file.

TIA -- Wes Hegge

[Dan] ksnapshot

Thanks,

I Guess, I am blind as a bat. Right in the "Graphics" submenu is "Screen Capture Program" (aka ksnapshot).

Thanks for the help.

[Thomas] I haven't run KDE for years (I'm an FVWM fan), but I do know that "ImageMagick" offers the "import" utility which does the same thing, as does "xwd".
[Ashwin N] Can be done using Gimp. From the menu choose,
File -> Acquire -> Screenshot
[Heather] For the ImageMagick method I keep a directory named prn and if I like what I captured I rename this image. This happens to also be where I keep documents I only have around to be printed. Here's my bash alias I've been using for awhile:
# capture an X display
# with thanks to the lazy folks at
# http://www.troubleshooters.com/linux/scrshot.htm
# who were kind enough to document how they do 'em.
screenshot ()
{
   import -window root ~/prn/screendump.png
}
Note that the man page for import is actually readable - you can take shots of specific things, not just the whole screen.
There's also an enlightenment epplet that will make screenshots.


Errors while using rpm extension..... Cygwin

Sun, 28 Sep 2003 17:34:49 +0530
Ashwin N (yodha8 from yahoo.co.uk)
Question by Atiya Azim

Actually i am not using red hat, although it is insalled on my pc. Rather i am using cygwin (http://cygwin.com which is linus-like environment for windows platform - my OS is Windows 2000) for these rpms. It is working fine with .tar and .gz files..but giving problems with all the files of rpm format.

[Ashwin] That is the problem! I have used Cygwin before, but I didn't know that they had even ported over RPM! In any case, if your need is just for a Java SDK, you can download the one available for Windows from the Sun website. Install it and the java, javac and other commandline tools will be available to you under Cygwin. Just remember to update the PATH variable with the directory where the Java binaries are located.

Thanks for the help.........it is working this way.......

[Ashwin] For other Linux utilities that are not available from the Cygwin mirrors, you will have the best chance with the .tar.gz or .tar.bz2 files of those applications.


Cool tool of the week: nntp//rss

Mon, 15 Sep 2003 11:17:32 -0600
Jason Creighton (The LG Answer Gang)

Hi,

nntp//rss (http://www.methodize.org/nntprss) is a RSS to NNTP so you can read RSS feeds in your favorite newsreaders. Very nice.


mult headeddsplay

Sun, 14 Sep 2003 20:08:16 +0100
Neil Youngman (n.youngman from ntlworld.com)
Question by Affan Ahmed

Hello,

I have a NVIDA GForce 2 Go 100 card that supports multiheaded display easily in Windows. Now i want to do the same in Linux. I have RedHat 8.0. What do you suggest that I do?

[Neil] I suggest using Google http://www.google.com/search?q=nvidia+linux+%22multiple+display%22&sourceid=opera&num=0&ie=utf-8&oe=utf-8
It throws up potentially useful stuff like
http://lists.suse.com/archive/suse-linux-e/2001-Jun/att-3012/01-TWINVIEW_README
I suppose you could try the Gentoo Unreal Tournament demo CD, which won't replace anything on your computer. At the very least it's tuned up for NVidia. Find it by typing "unreal" into the search gadget at Freshmeat.Net. -- Heather

 


Copyright © 2003, . Copying license http://www.linuxgazette.com/copying.html
Published in Issue 95 of Linux Gazette, October 2003

Contents:

¶: Greetings From Heather Stern
(?)Efficiency regards running script in a subshell () and a seperate shell
(?)force unmounting of CDROM
(?)IP config files on Red Hat 9
(?)a linux solution for the office
(?)Simple DNS solution with Red Hat 9
(?)Creating RAMDISK
(?)X server crash when starting up RH9 for the first time
(?)Converting from Win2k to Linux

(¶) Greetings from Heather Stern

Greetings everyone and welcome again to the world of The Answer Gang. It's been quite hectic for me and not all fun and games... among other things, I was ill last month around submission time :( and that meant that the TAG column wasn't submitted at all, as I missed the deadline, feeling a little too "dead" at the time. Oh well, I guess we all need a break now and then...

Thomas Adam valiantly threw a hand in to help out, and I have to admit he did more than half the work this time around. He says he's learning an awful lot about perl, too.

The peeve of this month is without a doubt a lack of information and extremely poor descriptions in the compositions of the e-mails sent in to TAG. As a positive note, there have been a record number of hits to:

http://www.linuxgazette.com/tag/ask-the-gang.html

Please, everyone - if you're thinking about asking a question, read that, and ask us what you need as clearly as you can. We understand it is difficult for those who do not speak English very well, but that's rarely been a problem - folks who are so carefully aware of their poor language skills also take a free moment, and only ask what they need to ask, and say what they've tried so far. The point is, if you can't be bothered to ask a clear question, there's far too many messages for us to try to detangle yours.

Regular and attentive readers will note some of the messy messages we have answered. Yes, there's been worse. With a question such as

d00z, cn u h3lp me

... maybe you'll get some chuckles, but you sure won't get an answer. The same goes for you students out there with a take home light quiz. We can spot those a handful of kilometers away, give or take a mile. Maybe you should cc: your professor when you ask us the question, and he can give us the passing marks in your class. The point is to learn a few research skills - so for such questions, search google. Search our KnowedgeBase - it's part of what it's here for. Search TLDP.org and freshmeat if the problem is really about Linux.

And now for what I'd really planned to say last month. I attended Linux World Expo, as I do every year here in the Silicon Valley area, with the prospect of meeting again friends in the open source world from all over the place. But this year, I was also taking a step back and a look around at how the trade show world has changed in its view of Linux. Now I get to write this with the additional perspective of having been invited to PC Expo - a more generic computer trade show.

The View From The Trade Show Floor

I can't comment on the view from the press room since all that's in there is pamphlets, a couple of spare computers, and coffee. Maybe a sandwich tray. The seminars are still seminars and the halls still suck your cellphone dry.

However, out in the exhibit hall, the world has changed a lot.

My first Linux World Expo was in San Jose. IDG had just taken over the project from a local group who wanted to create a Linux conference on the same order as regional conventions run for and by science fiction fans. IDG is a big player who runs a lot of trade shows. They invited big names and posted sponsor banners and the whole nine yards. Jim Dennis (our very own Answer Guy) was invited to speak about security for a half day class, and if the next speaker hadn't shown up, the audience would have kept them from cleaning the room so Jim could continue to talk. The hall was filled with a bunch of booths, many of them small companies, but a few names like Intel spring to mind. I recognized about half the listed speakers by face and about a third of them total would surely recognize me back. Geeks were everywhere, confused managerial and business types were too. T-shirts were plentiful.

They also made quite a splash by having a platinum sponsor pay for a bunch of floor space outright and donate it to be used as a Dot Org pavilion, where projects and linux user groups could have small kiosks and generally have a good time. Dot Org was much better laid out the second time I saw it.

As shows pressed on, toys were on the increase, but shirts amd CDs with products on them were certainly around, too. we saw an increase of booths and as more "generic" presence grew the amount of total IQ in the booths could be seen to be being split evenly, because individually talking to vendors, it was definitely going down. Toys were getting insanely cool - drawings for VW Bugs and motorcycles. I volunteered for the FSF booth. I helped out the Gnome guys. When I worked at Tuxtops I went to both LWE/SF and LWE/NY in that year and had a great time at both places. But Dot Org was becoming a ghetto with hardly any color and the main floor felt increasingly like any other computer show. Something was about to break down.

And it did. A lot of companies had picked up starter capital on the magic of the word Linux. Heck, some of them even were trying to be Linux companies. But VC enthusiasm is no excuse for a poor business plan and when something in the economy turned sour - I'm not sure what, but we'll start at asian money difficulties and work our way up from there - anyone who did not have their hand tightly on the finances watched it all start to head down the drain at tornado speed, and the VCs clamp down their pocketbooks. No more toys. T-shirts only if you sit through the spiel. (Booths that still had IQ points left around would also give them to people who seemed genuinely interested in their products, which if you ask me, is the way it should have always been.) More feet hurt because companies watching their dimes only used a single layer of carpet and not the nice padded layer under it which you can pay extra for. Lots of pamphlets though.

I'm pleased to say that I'm seeing winter's end. There are still insipidly blank faces to be foudn at some booths. And there are what I'll call the "barely Linux" booths - hardware vendors selling server racks, RAID arrays, GPS, scanning printers, and other weird peripherals. But Linux products are getting their own booths and that means they're affording them, I hope. The flavors of products are spreading around, and that's part of why it feels like a normal trade show to me - financial, games, diet plan calculators. Backup programs optimized for Linux, like Storix, are not only around but have competitors. All those things I'd see at a Windows oriented show, I'm seeing.

The Dot Org space still looks plain but it's not hiding so much anymore. There are a lot more projects than there used to be and projects were sharing booths - I recommend a little more platinum get spilled on this next time. It's rather cool to see MBNA America (a large VISA card vendor) hanging out in Dot Org plugging their LinuxFund card. They give away big beach towels if you can sign up for a card.

It's hilarious to see Microsoft booths in "the rookery" as if they're newly born open sourcerors. "Well we do let WinCE developers see some sources." Really? Can they compile Windows from scratch and pour it onto a handheld, then run WinCE office binaries out of the OEM private packages to test their build? "Um, no. They can look at selected drivers and structures." I see. Well, it's better than nothing :)

Yes, I like what I'm seeing. The frost is melting off the ground and not every seed has sprouted again - but things are getting good.

Over at the more ordinary trade show, PC Expo - for the second year running they had a "Linux Boot Camp" track. For the first year running it's calling itself "TechX>NY" instead and I wonder if they are thinking that the PC is on its way out as the only platform to run desktops or servers. Last year "the Linux track" was one lonely guy presenting nonstop between water cups and snack breaks. This year they invited LPI, Novell (well okay Ximian, and maybe they invited themselves since they're a sponsor for the show), and a few of the Answer Gang. Maybe in a few years they'll have the brass of various "Big Linux" companies knocking down their door trying to be on the speaker's list. I'm advised that our presentations were very well recieved, indeed.

On the show floor itself there was only a little of Linux. Local computing groups knew about it and chatted merrily. Product vendors knew what it was and generally whether they supported it or hadn't tested. I didn't really get "We don't support that! Our customers don't ask for that kind of stuff!" flamage which I'd been seeing a few years ago - in fact quite the opposite, one vendor told me that he'd had requests for support and they were working on it, and he kind of hoped for BSD support too, if it wasn't too hard, though it wasn't on the official roadmap. Outsourcing World (sic) mostly didn't know or care what "A Linux" was though there were a few "outsourced programming" firms I didn't think much of. Okay, the computing sector overall may still be heading downhill in places. But Linux is indeed, looking up.


(?) Efficiency regards running script in a subshell () and a seperate shell

From Nimish kamerkar

Answered By: Thomas Adam

Hi Answer Gang,

Which method is more efficient; Running a command in () or running it in a seperate shell? Can the answer include differences in how the processes are spawned? (i.e. fork exec etc)

(!) [Thomas] OK. This is usually application/situation dependant. If you have something like:
#!/bin/bash

echo $(whereis xterm)
What you are doing there is forcing the command "whereis xterm" to run in a subshell (denoted between ()'s). A "subshell" is just another instance of the command-line interpreter, running your program. Thus, a "subshell" in this instance means that the main shell script is its parent, i.e. assume that we called the script above "parent.sh" then when the subshell executed you'd get:
|-parent.sh
  |-----subshell
This is also known as forking -- i.e. where the process breaks off from the main caller, to form another.
"exec()"'ing a process however, means that the currently running process is replaced by the program that is to be exec'ed. Thus unlike above where-by the subshell ran under a new instance, the following script exec's itself:

See attached exec-anything.bash.txt

What this is doing is it will echo the first two lines, sleep for a second and then re-spawn itself. What you'll see is the same message above. The echo line will NEVER show, because it is after the program ($0 denotes the program's name) that is being (re)exec'ed.

(?) My question is how are invoking a program in a subshell() and invoking it in a seperate shell different, as regards fork & exec. I am asking this as the environment inherited by both is different. I started thinking of this really because I remembered reading somewhere sometime that invoking it in () is more efficient than in a seperate shell. But as far as I can see, both processes should need fork and exec.

Only difference is in (), both the local and global environment variables are initialised, and in a seperate shell, only global environment variables are initialised. By that logic actually, the seperate process should be more efficient than the one in ()!

(!) [Thomas] Those variables that are exported are "global" anyway, so you don't need to describe them in this way.
It depends. A subshell can be efficient if you want to ensure that a task running under another shell script is carried out to completion before the next one is executed (a good example of this would be tarring files over ssh on a pipe).
Of course, invoking a subshell program means that if the parent dies or is kill -9'ed, whatever, then the child process is also killed along with it. That is something you might want to consider.
Normally, when you write a shell script, and you want to end the script by calling another one then you would "exec" the program name, since there is no need for the shell process to fork().
If you need two independant processes to communicate concurrently then using a fork() would be best.

(?) Hello Thomas/Answer Gang,

Thanks for the patient unravelling of the intricacies!

With Warm Regards -Nimish.


(?) force unmounting of CDROM

From Chady Kassouf

Answered By: Thomas Adam, Mike Martin, Karl-Heinz Herrmann

(?) Hello Answer Gang,

I backed up most of my files on CD-Rs that later on appeared to be of very low quality, now none of my CD-ROM of CD-Writer drives manage to read from them, but that's not where the problem is.

(!) [Thomas] As long as you have (hopefully) learnt from the exercise, that's all the matters :)

(?) The fact that mounting a CDROM in linux locks the drive is making a problem with these CDs.

(!) [Thomas] How so? The whole idea of locking the drive is to do with the way the mount command works.

(?) OK, the CDs are bad, there's no way to read them, but there's the problem of not being able to unmount them, linux will just keep on trying to chew on the bad CD, and killing `cp' will not make it give up. `umount' will either hang forever waiting for system to finish reading from the drive, or it will return but the drive will not be released. same thing will happen with `eject'

(!) [Thomas] If you're trying to umount a /cdrom that is currently being read/write to, then what you should do is:
ps waxf
to see the upper program that is being called below "mount /cdrom", and do:
kill -9 $(pidof <program_name>)
(rude, I know). Then you'll be able to do:
umount /cdrom

(?) I'm using RedHat 7.3, and the guilty drives are a TEAC 40X CDROM and an HP 8200Plus CD-Writer.

(!) [Thomas] What you're describing here is not really a problem with the hardware per se but merely a gripe with the way the kernel and mount mounts a cdrom drive. Locking the drive is there to prevent the FS from screwing up, and allowing a clean change of disks via umount.

(?) It's good to note that while rebooting the machine, init will try to unmount the filesystems but will fail on the drive that's stuck trying to read, `umount2' will kick in and retry for three times before finally giving up and letting the reboot continue.

(!) [Thomas] Umounting drives is done for a reason. I suspect the reason why you cannot unmount /cdrom is due to Zombie processes clogging up your kernel buffer, and the kernel doesn't realised that these have effectively stopped. Usually, I have found in situations like this that a lengthy wait of 30 mins or so, does allow the kernel time to flush itself, and the locked drive is then accessible via an 'eject'.
fuser mount /cdrom
will also help you ascertain this information, as well as the classic:
ps wax

(?) My question is twofold; first, is there a way to tell linux to give up reading and force unmounting a CDROM drive without having to use the safety pin and, hence, lose access to the drive, OR reboot he machine?

(!) [Thomas] Yes, there is. I have done this on some severe occassions. The first thing I would try is to:
umount -f /cdrom
The "-f" flag says to mount to force umounting of it. If that does not work, then edit "/etc/mtab" and remove the entry pertaining to your cdrom drive. In case you are wondering, "/etc/fstab" holds information about drives that can and might be mounted, and "/etc/mtab" is there as a state file for those drives that are currently mounted. Editing the file in this instance is perhaps a good idea.
If you find that this is happening to you on each and every mount, try doing something like:
mount -n /cdrom
which will tell mount NOT to write to /etc/mtab. Typically I have used this on drives whereby "/" has been mounted ro, but I cannot see why it wont work here.

(?) Second, anyone happened to have a similar situation? or might that be a hardware problem?

(!) [Thomas] Reading my answer here will not doubt confirm that I have had experience in this sort of thing. I doubt this is hardware related, but it could be. I would need to know more information about which aspects of your cdrw work/don't work in order to help you further.
(!) [K.-H.] Better use some of the suggestions by Thomas but it seems cdrecord does not care for the "lock" state of a CD. If you issue:
cdrecord -eject
it will simply eject the CD -- regardless if it's locked or mounted. In the best case the kernel recognises the media is gone and the errors given back to "cp" causes all concerned processes to stop. Then a umount should also be possible. Worst case you get a kernel panic for a "damaged" filesystem on the now nonexistant CD (didn't happen here, mostly it's recovering gracefully).
(!) [MikeM] final issue could be a process called fam locking the drive - sometimes if you kill fam, you can then umount the drive.
(!) [Thomas] Indeed, Mike. I had considered this, but then I realised that FAM isn't always loaded on some machines.
FAM (File Alteration Monitor), is also debian package and an absolute cow to compile. It is not distro specific, no. It is used to monitor directory/file changes, so I can see how it might be used in this instance but it is unlikely.
The querent reported back.... -- Thomas Adam

(?) I tried all the options presented by the kind people in this list, the only one that worked though was the cdrecord -eject although it took about 3 minutes to succeed. Thanx for K.H for the solution.

I was able to capture the error that was printed out after a file copy in KDE started to choke:

scsi0: ERROR on channel 0, id 0, lun 0, CDB: Request Sense 00 00 00 40 00
Info fld=0x1a4f7, Current sd0b:00: sense key Medium Error
Additional sense indicates No seek complete
 I/O error: dev 0b:00, sector 431068
(!) [K.-H.] read error from the CD, "Medium error" as you already assumed in your original mail. Probably nothing to save anymore. I too had some CD's which came through the file comparison right after burning. Some time later they gave me plenty of read errors. In my case the read attempts at some point broke off but as I tried to get as much data back as possible I made the reading process to try harder.

(?) IP config files on Red Hat 9

From - E J -

Answered By: Mike Martin, Jay R. Ashworth, Jim Dennis, David Mandala, Kapil Hari Paranjape, Ben Okopnik, Thomas Adam

Please note I am trying to configure IP on a Red Hat 9 system. I would like to see about changing from the default DHCP configuration to a STATIC configuration.

I have tried a couple of things only to trash a test system, in one case I got the system up - but X no longer worked.

I know the hostname is saved in /etc/sysconfig/network.

What are the other files necessary to changing the configuration?

Thanks in Advance.

(!) [MikeM] first of all, for any problem try to do it manually so
once logged in (as root) do
ifdown eth0 ifconfig eth0 address <your ip address> then if you access a router directly do route add gw <name of your default gateway>
If this works add to /etc/hosts a line <your hostname (machie name)> <your machines IP address>
also this may be useful
http://www.faqs.org/docs/linux_network
(!) [jra] But don't worry about that.
Use the RedHat program netconfig, which has a button for DHCP. Turn it off, and fill in the blanks.
(!) [Breen] That'll work, Jay. If EJ wants to know what's going on behind the curtain, the documentation is in
/usr/share/doc/initscripts-<version>/sysconfig.txt

The subject of this thread then changes.... -- Heather

(?) [Breen] /usr/share/doc/initscripts-<version>/sysconfig.txt

(!) [JimD] I felt stupid reading that, too. I've complained for years at the lack of documentation for those. Sometimes I just read through the rc scripts that source the /etc/sysconfig files to figure how which names they want to use. Sometimes I just run the silly GUI config tool (when I can remember which name it goes by in which versions of Red Hat). I had never found this particular file.
I still think it's a bug. Red Hat should include a set of comments in each /etc/sysconfig file that list all of the valid variable names and show examples of the valid values.
Now that the "Red Hat Distribution" is a "community maintained project" rather than a shrink wrapped product ... heck with it; I'll still recommend that advanced Linux users switch to Debian and that businesses pressure Oracle and other ISVs to support Debian.
I think the "Red Hat community project" should set a goal for itself -- to provide a transition to Debian over the next several releases. They can write rpm command wrappers around apt-get/dpkg, add or help Debian add the -V and -K (verification and GnuPG key package signing) features to the .deb package format and the /var/lib/dpkg "database"), etc.
(!) [DavidM] Gack, I hope that never happens, I dislike Debian intensely. I use it on some of my servers and I grate my teeth every time I need to do something with it. Debian needs a lot more then just a rpm wrapper. I'll try not to start a religious war here and simply say you stick with Debian and I'll stick with Red Hat and I hope they get more compatible but I hope that happens by Debian getting closer to Red Hat and not the reverse (except apt-get, that is quite nice).
(!) [Ben] Yeeew. I sure hope that never happens either. I really hate the "papa knows best, just watch the blinkenlights" approach of RedHat, and money is what it takes to get me to play with it these days. :)
Fortunately, none of this is an issue since we _do have both of these distros plus a whole lot of others, which seems to satisfy a broad range of us picky techie types (say _that 3 times fast with a mouth full of marbles, and your dental problems will be a thing of the past.)
(!) [JimD] In other words, I think a convergence is in order. Let's have both major "community projects" try to consolidate (improving both).
(!) [DavidM] I strongly disagree here. The beauty of Linux and the various projects is there is no "one true way" and those who like it different can have it that way. Otherwise you are just like Microsoft and Apple each having a single "true way".
(!) [JimD] I have similar opinions on gentoo; why create a new distibution when they could have poured that energy into creating a Debian build system that could build your entire distribution from sources, with locally defined optimization and other flags). (BTW: the argument that this results in significant performance gains seems to have been somewhat refuted:
 http://articles.linmagau.org/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=227
... though it's possible that this test was flawed.
(That said I've been thinking of installing gentoo on a machine just to see what it's like).
(!) [JimD] I knew my statement was likely to rankle. However, without it degenerating into a religous war, what specific things do you dislike about debian? /etc/sysconfig/network-scripts/ifcfg-* versus /etc/network/interfaces? The installer? Lack of Kickstart? The dpkg commant? dpkg-reconfigure or dpkg-repack? The fact that many packages ask configuration questions during pre-install or post-install? The fact that you can't tell the package manager to exclude the docs during installation?
I want to know because I'd like to see Debian make the necessary changes or options available to make Red Hat users happier.
(!) [DavidM] This is important in the business world where you need 50 machines exactly the same, not close but exactly the same. Also unless you make your own Debian depository the changes in the Debian tree make it all but impossible to do this if you are installing machines over the course of several months.
Another irritant is that Debian package maintainers patch the packages to run in funny places and have odd patches on them. We were running SAMBA on one machine and we were having a major problem that we could not explain. As luck would have it I was able to get tridge to take a look and even he was mystified for several hours. As it turned out the package maintainer had really messed up the package. There is not enough testing done on the edge cases by the Debian developers, so either leave the source alone or truly understand it and test all possible uses of the package which in the case of SAMBA is impossible, the SAMBA developers have spent a huge amount of time getting donated machines available to be able to test the edge cases, there is no way a Debian developer is going to have access to the same resources that the SAMBA developers have.
At tridge's advice and this is advice I've been given many times from others as well. "Use Debian as a base install but for packages you really care about make your own from source as you never quite know what they've done to them." The problem with this of course is if I can't trust what I'm installing then why am I installing it at all?
Followed by the fact that stable is most always too old thus forcing me to use testing which gets broken at times.
(!) [Thomas] Odd. I agree that sometimes, stable can have packages that are a little to out of date, but then that won't stop you from doing a "dist-upgrade" at any point. And as for "testing" being a little too unstable, I am going to have to refute that and ask for you to give an example.
While the Debain BTS (Bug tracking System): http://bugs.debian.org does a good job at fixing loose ends in Sarge, many of the problems that I have seen people encounter is compilation of programs. I have been running Sarge (Debian testing) for ages now with absolutely no problems whatsoever.
I'm therefore going to guess that David was meaning to say the "Unstable" causes problems.
(!) [DavidM] I don't think it's possible for Debian developers to make Red Hat users happier, they like to do things their way and the hell with the rest of the folks. An example, change the init levels to match Red Hats, make init 3 the normal run level sans X and level 5 with X. Virtually every other Linux distro is the same as Red Hat very very few are different. But as a business software developer I need to know that if my package it to be installed on both Red Hat and Debian I need to install my startup scripts in different run levels or bad things happen. That is silly.
I agree that one does need to minimize gratuitous differences so tackle the run level differences first, if you can get that changed (which I strongly doubt) perhaps there is a possibility that Debian can become a stronger player in the Corporate market place. What I think you will get is many reasons why Debian is correct but that is irrelevant, it's not about being technically correct it's about minimizing gratuitous differences, and I don't think it's possible for the Debian community to change.
(!) [JimD] Well "funny places" is the main sort of gratuitous change I also object too. FHS was supposed to reduce this (and probably has, somewhat).
We could argue that Red Hat and SuSE put their stuff in "funny" places; then we could both reach for copies of the FHS to bolster our arguments.
I agree about the runlevels and the way the run xdm as an rc script rather than in inittab. Those are gratuitous and Debian should bow to the more widespread convention in both cases.
As for the Samba anecdote: so what. Red Hat applies over a 100 patches to their kernels and they apply patches to many packages, including core packages like Samba. We could exchange package maintainer horror stories for hours. Usually the Debian packaging is better than Red Hat packaging. Debian has a published policy that is derived from the consensus of it's maintainers/developers. There are ongoing discussions on how to change that policy. Maintainers that don't conform to the policy see NMUs (non-maintainer uploads) of their packages and are eventually replaced by new maintainers.
Of course it's possible for them to change. It is easier for us to change Debian than it would be for us to change Red Hat Inc.
(!) [DavidM] Jim, here again we differ, I feel it's easier to change Red Hat all it takes is cash, nothing more nothing less. Changing Debian is akin to herding cats you have to get a large portion of the entire development community into agreement which is damned hard if not impossible to do. You need to join them in overwhelming force in order to out vote them on policy. Any single person is doomed to failure, it was designed that way and it works quite well. Debian is a hackers play land, it was designed to be that and that it will stay, the bylaws they live by are specifically designed to keep it that way and human inertia and apathy will tend to keep it that way.
How long did it take to fix the networking init script that would only start networking and not stop or reset it take? More then 3 years by my count, if you can't fix something like a simple init script how you expect to fix a fundamental difference in philosophy?
(!) [Thomas] That's not quite the point. It is my belief that Debian is very much a "hands-on" distribution -- that allows one to get one's hands dirty. If you thought that there was a problem, you should have submitted a patch :)
(!) [JimD] To effectively change Red Hat Inc. we have to either buy them, or represent a large enough portion of their revenues that they'll listen. To change Debian all we have to do is join them, work on the project and explain our reasons for recommending the change.
My problem with the Red Hat "distribution" is that it's been essentially abandoned by Red Hat Inc. Now, the community will maintain it; RH Inc. will take parts that they like and fold them into their proprietary AS/ES products. However, RH will also make changes that may make AS/ES diverge somewhat from the RH distro.
My comments are mostly intended to discourage people from create yet another distro for broad consumer use.
I'm not saying everyone should just abandon the RH distro -- just try to transition some parts to the Debian base (where that makes sense) and to join Debian in sufficient numbers and quality to effect changes there.
Notice that I'm mostly a proponent of changing Debian in many of the specifics. The one thing that I would push on the other distros is the use of the same package/dependency infrastructure and granularity. I'm not talking about the commands used to manipulate the packages (apt-get, dpkg, aptitude, rpm, etc) --- I personally would prefer to see a command named 'pkg' taking arguments somewhat like the rpm command (except for that idiocy of -U being "upgrade" and install thus necessitating the odd -F --freshen switch to mean just "upgrade"). The difference would be that pkg -i foo would look at your local policy file (/etc/apt/sources.list) and know how to fetch the foo from your preferred location or media.
(!) [DavidM] That is not the only problem, as far as I can tell, when a package changes (is updated) there is no history, the old package is removed and the new inserted replacing it. I could be wrong but the gents I used at my last place were dedicated Debian devotees and they could not find where "outdated" packages were stored. Thus if a package was "updated" you were screwed and could not make an identical from that point forward unless you went to the extreme of maintaining your own Debian depository.
(!) [JimD] If it happens at all I expect it to take several years and releases of each of the two distributions. We've already seen lots of people implementing apt on RPM based distributions. The problem with that superficial approach is that the underlying granularity and dependency cycle problems remain. The real value of Debian in in that acyclic dependency tree.

(!) [Kapil] Joining the distro wars once more ...
Just some random points.
1. While Kickstart is a great idea, systemimager is not a bad replacement. For the more hardcore debian-ers, Kickstart seems too complicated when compared with "dpkg --get-selections" in combination with "dpkg --set-selections".
(!) [Thomas] I have to agree here. I have used RH's kickstart one when I first setup my little 386 server. It was a pain to begin with.
(!) [Kapil] 2. When comparing "rpm" with "dpkg" (or deb) what is lacking in dpkg is the automated signature/md5sum checking. On the other hand try to unpack an "rpm" on a non-RedHat machine...not all that automatic (you need to install "alien"). To unpack a "deb"...you will (most likely) find "ar" on any machine and so can unpack deb's quite easily.
(!) [Thomas] I have to disagree slightly here. If one does not care for the "install" script that is inherent in either a .deb or .rpm (depending on which distro it is) then using "mc" is an efficient alternative to view the package in question and manually copy the files across to the specific directories. I don't recommend this for hugely dependent packages, but it is an effective means for smaller packages, where there are no dependencies
(!) [Kapil] 3. I don't dislike RedHat as intensely as David seems to dislike Debian! However, the choice was made for me by RedHat when they decided to exclude text-mode tools for installation and management. Even "dselect" is better than nothing except "rpm". I used "purp" on RedHat systems for a while but it was always in "contrib" and often out-of-date.
(!) [Thomas] Using "dselect" under Debian is NOT a good idea -- it is extremely clunky, not to mention it has a terrible UI. I would always recommend people to use "aptitude"; both as a replacement for "dselect" AND "apt-get". It functions as both dselect (without any arguments) and as apt-get on invocation. It also handles dependencies and logging much better, in my opinion.
(!) [Kapil] 4. Re: xdm. I think all daemons were "meant to be" started from rc scripts so in fact the RedHat policy of starting "xdm" from inittab is strange. For example, in the old days it was possible for the console user to somehow "kill" the xdm/gdm/kdm on RedHat (possibly by killing the X server or something) causing all external Xterminal users to be logged out!
(!) [Thomas] Exactly! I have had this very gripe with RH and even tried e-mailing them to ask them why they did not move xdm et al to rc scripts. They never did reply to me. As Kapil notes, if something goes wrong with xdm then it can be of consequences to other processes.
(!) [Kapil] 5. Finally, about building things from source. To some extent I agree. It would be nice if we had the following set-up:
A. All the system administrator had to do to was install a base system.
B. Most utility/application packages could be installed by users in (say) /opt/username/packagename/{bin,lib,...}.
(!) [Thomas] I disagree with this suggestion. Instead installing applications to $HOME is still an acceptable solution as $PATH usually includes $HOME/bin anyhow.
(!) [Kapil] C. There would be a user-level package management system that would allow users to mix and match their requirements by creating symlink farms in /home/username/{bin,lib,...} that point to different packages under /opt possibly installed by different users.
(!) [Thomas] Hmmm, installing applications system-wide and then allowing users to have custom settings in $HOME is no more different than the suggestion above.
(!) [Kapil] This way, those users who need "cutting edge" or even "bleeding edge" tools could install them. The system could remain "stable" and (hopefully) "secure". Such a setup may even be useful on single-user systems as the user could play with upgrades without messing up the running system. Disk space is not really an issue any more unless you use "KDE" or "Gnome" or "Openoffice" :-)

(?) a linux solution for the office

From amitava maity

Answered By: Ben Okopnik, Kapil Hari Paranjape, Heather Stern, Thomas Adam

Hello all!

We have three Windows machines at our office. These are shared by 10 to 12 persons. I am trying to find out if one of these machines could be converted into a Linux box. Hopefully this Linux box can then be configured to meet the demands of 8 terminals connected via serial cables and an appropriate 8 terminal serial adaptor.GUI is necessary at all the terminals. Is this a feasible configuration? Can a Pentium-II, 233MHz machine with an IDE hard disk be used for this purpose?

Linux Gazette, you are doing a great job.

A Maity.

(!) [Ben] Take a look at the Linux Terminal Server Project <http://ltsp.org/>;. It sounds like they'll fit your needs just fine.

(?) Is this a feasible configuration?

(!) [Kapil] There are two possible configurations:
  1. A server with a multi-port serial adapter which is connected via
  2. A server connected to an ethernet hub to which GUI terminals (such
In modern times, (2) is the way to go unless you already have the full infrastructure of (1). (Where will you find vt100 terminals nowadays?).
If you are going to buy some PC's you can anyway buy them with ethernet cards built-in and a small 16-port ethernet hub. In fact, you can buy "thin clients" if you use a server---in particular, you can save on disk costs.
I would suggest that you do not buy 8 vt100 terminals! This is not cost effective nowadays. Second-hand vt100 terminals are likely to be a hardware headache (since it would appear from your message that you are not a seasoned sysadmin of the unix days) and (more importantly) will not satisfy those of your users who are used to the colorful graphical interface of Windows.
Instead, you can "share" the use of the GNU/Linux machine as you have been sharing the use of the Windows machines---in fact this is a more shareable system!
Advantages over your existing configuration:
  1. Users will be able to customize their desktop without interfering
  2. Users will be able to run jobs that can run unattended in the
  3. You can find and use a lot of useful software without attracting
  4. When you get some funds you can add some more Linux machines very
(!) [Heather] Probably, esp. if you use something a bit on the lightweight side for basic window management details (such as fvwm instead of more weighty desktops, abiword with gnumeric instead of staroffice, etc.)
(!) [Thomas] Siag office (http://www.siag.org) isn't too bad.
(!) [Heather] Ben's right, LTSP is a good place to look. If these "terminals" are PCs but you'd reather they stay hard-diskless, consider keeping them having CD bays and run knoppix (a live CD distro). Or maybe another liveCD distro (for instance SuSE has a free one) but I'm advised, most of them ask a few sysadminly questions during bootup, and Knoppix doesn't.

(?) Linux Gazette, you are doing a great job. A Maity.

(!) [Heather] Thanks, we love to hear that sort of thing!

(?) Simple DNS solution with Red Hat 9

From - E J -

Answered By: Faber Fedor, Kapil Hari Paranjape, Jim Dennis

[root@localhost sbin]# ./ifconfig eth0 address
192.168.1.103
address: Unknown host
ifconfig: `--help' gives usage information.
[root@localhost sbin]#

Please note I believe I need a DNS server (solution) for my home Red Hat Network. Is there a simple DNS solution I can establish?

I have checked some books - this does not seem to be as simple as editing /etc/host.conf

(!) [Faber] Okay, so? You mis-typed a command. I do it all the time.
(!) [Thomas] Hopefully though, Faber doesn't mis-type too often while as "root"
(!) [Faber] What are you attempting to do? What is "address"? Is it supposed to be an actual (IP) address? Is it an enviromant variable? What?
(!) [JimD] I'm going out on a limb here to guess that this was supposed to be rendered as:
[root@localhost sbin]# ./ifconfig eth0 address 192.168.1.103
address: Unknown host
ifconfig: `--help' gives usage information.
[root@localhost sbin]#
... cut and pasted from a root shell session.
You wanted to type:
[root@localhost sbin]# ./ifconfig eth0 192.168.1.103
... which would seet your eth0 address to 192.168.1.103 That would also implicitly set the netmask to 255.255.255.0 and the broadcast address to 192.168.1.255. That netmask is the default for the traditional "Class C" network address blocks (all of 192.*.*.* among many others). The broadcast address is then calculated by masking off the high order bit using the netmask then setting that many bits to "on" (1). Then replacing the bits at the end original addresses with the broadcast.
In other words you can often just specify the address without spelling out the other settings. You only have to specify the others when you're network isn't following the "Classical" parameters and defaults.
The problem with your command was that the word "address" was parsed as the name of a host. The ifconfig command then tried to resolve that name into an IP address (presumably via your /etc/hosts file, then DNS --- though that depends on the settings in your nsswitch.conf)
Here's a couple of other examples of ifconfig commands:
# ifconfig eth1 10.0.1.10 netmask 255.255.255.0 broadcast 10.0.1.255 up
# ifconfig eth2 123.45.67.8 netmask 255.255.255.224 broadcast 123.45.67.31
Notice that the address is the one argument that is not prefixed by a literal/keyword or label. It's usually the first argument, though it might work even if you don't follow that convention.
Notice in my last example that we're using a smaller netmask, like the kind you might get from an ISP that was only giving you a block of 30 IP addresses. Long ago I wrote and article on "subnetting and routing" which is still one of the most popular article in LG/TAG history. I've been told it's used for some college TCP/IP fundamentals classes.

(?) Please note I believe I need a DNS server (solution) for my home Red Hat Network. Is there a simple DNS solution I can establish?

(!) [JimD] Perhaps you will need a DNS or other directory service (NIS or LDAP). However, in this case you just needed to look at the error and read the usage section of the --help and/or man page a little more carefully.
It also helps to think about the problem your trying to solve. You're trying to configure a network interface. DNS and other directory services need to use that interface (or some interface) in order to resolve names into IP addresses. That would create a chicken & egg problem if the ifconfig command truly depended on the name resolution. It would be unreasonable to assume that everyone has to run a network directory services daemon on localhost --- and you'd still need it to ifconfig the lo (localhost/loopback) interface.
(That line of reasoning should alert you to the fact that their was something wrong with your premise --- that your conclusion was dubious).
You almost certainly don't want to play with your /etc/host.conf
However, it could be as simple (in this case) as editing /etc/hosts
If you'd put an entry "192.168.1.103 address" as a line in your etc host file then your command would have almost worked. It would complain about extra arguments --- the lookup/resolution of the hostname "address" would have succeeded (assuming you have a normal /etc/nsswitch.conf).
If you put more reasonable address/name pairs in /etc/hosts and you securely distribute those (rsync -e ssh) to your other machines --- you have a working system of host name resolution without DNS NIS or LDAP.
/etc/nsswitch.conf defines the list of services and methods used by glibc (C library) functions to resolve names (hostnames, network names, netgroup, user, group, and service) into numbers (IP addresses, lists of hosts, UIDs, GIDs, and TCP/UDP port numbers). Almost all of the programs on your system are dynamically linked against glibc (a.k.a. just libc). glibc implements resolvers that read /etc/nsswitch.conf and dynamically load /lib/libnss* modules as listed.
Such run-time linkage uses the dlopen() interface. There are two types of dynamic linking in Linux. Link/compile time, such as the way that almost all programs are linked to libc and many programs are linked to libm (the C math functions library). These are listed by the ldd (ld dump --- ld is a non-intuitive mnemonic for "linker"). Run-time linking is done via the dlopen() interface. Any time a program must read a configuration file, command line option or environment setting, or any other run-time source of information to determine which modules to load --- it uses dlopen() Obviously this would be true of the NSS modules since any program that uses any of these name services it has to read /etc/nsswitch.conf to determine which libraries to load (NSS == "name services selection" or "name services subsystem" or something like that).
dlopen() (run-time dynamic linking) is also used by PAM, for PERL and Python binary modules, Apache modules, and XFree86 version 4 and later. You can think of these as being a way to implement some object oriented features in normal C programs. The primary uses of these modules are to extend and/or modularize the functionality of a base binary program.
Thus you can get a custom authentication module (say one of those little electronic credit card PIN tokens) and drop it into your system; add one configuration line and all of the PAM linked programs have been extended to use this module. All without recompiling anything.
As another example you can install XFree86, as compiled by your distribution vendor, and you can install a driver module for your video card from some third party (perhaps even the manufacturer of the card).
I realize I've delved deeply under the hood here --- into details that you won't understand at first reading (and probably don't care about).
My point is that you don't need to run a network name service. Most of the NSS linked programs check local config files /etc/hosts, /etc/passwd, /etc/groups, /etc/services, etc. first. They then check with other services as listed in the /etc/nsswitch.conf. /etc/host.conf is still used, but its usage is somewhat superceded by /etc/nsswitch.conf.
(I'd love to see a good explanation of why we have both nsswitch.conf and host.conf on modern systems --- something at a higher level than their respective man pages).

(?) Creating RAMDISK

From Jose Nathaniel G. Nengasca

Answered By: Ben Okopnik, Kapil Hari Paranjape, Thomas Adam

(?) Hi there,

I just want to create a RAMDISK of 100MB to use as temporary storage for squid cache files, I am using redhat 8.0, using grub bootloader, with 750MB of RAM, the one on linux focus site is rather old (november 1999) howto. Can someone help me with this?

Respectfully yours,

(!) [Kapil] I think you have something confused here. As I understand it:
Squid creates an object cache in memory and periodically saves objects to disk when it runs out of space in memory.
You want to create a virtual (RAM) disk for squid to use as its disk. Instead why don't you increase the amount of memory available to its in-memory object cache?
(!) [Ben] If you have the kernel sources installed, take a look at "/usr/src/kernel-source-<version>/Documentation/filesystems/tmpfs". It's a memory-based file system, and is created (by root) with "mount". Here's an example:

See attached ben-fstab.txt

(!) [Thomas] I think Ben has missed the point. Squid doesn't care for the type of RAM being used. Sure, it needs physical RAM, but this is accessed on-disk by squid's "object cache". It is this that determines how much RAM is being used (see Kapil's answer above).
In /etc/squid.conf you can adjust this by changing:
cache_mem=50MB
to something more appropriate. Don't forget to issue:
squid -k reconfigure
once changes have been made to the file.

(?) X server crash when starting up RH9 for the first time

From Claudiu Spataru

Answered By: Mike Martin, Ben Okopnik, Thomas Adam, Heather Stern

This is a multi-part message in MIME format.

This is naughty, please send e-mails in plain-text ONLY. -- Thomas Adam

(?) Hello

My X server crashes with the following error messages (see attached log).

My system is an Athlon 2500+, GeForce FX 5200 graphic card, A7N8X deluxe mainboard (not sure how relevant this info is, but added it anyway).

The font server can be stopped and restarted by using '/etc/init.d/xfs start|stop' without any problems. When eliminating the Fontpath line that points to unix/:7100 from the XF86Config file, it complains about a different fontpath that it cannot find and crashes once again. (There is also either no path set to run Xconfigurator or there is no such thing in my installation of RH9.)

Any known solution to the above problem?

(!) [MikeM] dont do this - put it back. If you dont use the xfs server then you need to hardcode the fontpath into /etc/X11/XF86Config
X wont start without xfs running, when X fails to start, is xfs running?
(!) [Ben] That's inaccurate. Either a font server _or a hard-coded font set is sufficient, and there's no advantage that I know of to a server if you're not doing X over a network. My system has run without "xfs" for years now.
(!) [MikeM] I know this is generally true, however the querent is using Red Hat 9
Red Hat does a fair bit with the font server, including dealing with easy adding of fonts, TTF fonts etc.
(!) [Thomas] That's inaccurate -- TrueType fonts are handled by the xtt server, NOT by xfs itself. There are two different servers. I still fail to see how RH find running another process to handle fonts an advantage
(!) [Heather] Smaller part to kick if it needs a restart? But within X this is often false economy, yanking live font servers is rather like pulling the rug out from under you. It can be done - I've done it (read the 'xset' man page if you're crazy enough to mess with this) - but I think the split is a holdover from an earlier time (only a year or two ago) when the X server did not speak Truetype on its own. You needed an external fontserver for it, and that was usually xfs patched for freetype access (the way I did it) but there was a competitor from the asian countries, who had a real need for readable letters.
(!) [MikeM] So to avoid other problems/questions IMHO, it is safe to say that the querent is better off using the installed font server. (ie: dont add unnecesary complications), especially as it sounds like it is actually working.
(!) [Thomas] I disagree with this -- X11 and fonts is rarely, if at all, distro specific. Just because RH uses a font server initially, doesn't mean to say that you have to continue using it. That is one of the ideals of Linux -- it is your OS. Do whatever you like :)
(!) [MikeM] just did a quick google - its possible that the card is not recognised properly
so try this (as root)
edit the file /etc/X11/XF86Config look for the device section eg:
Section "Device"
	Identifier  "Videocard0"
	Driver      "nv"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce 4 (generic)"
	BUSID	    "PCI:1:0:0"
EndSection
and experiment changing the Driver entry to vesa or nv, depending what is there already

(?) Thank you very much for the replies! It was indeed the fact that my graphic card did not get recognized properly and the generic vesa driver did not work in my case. After changing the values for 'BoardName' and 'Driver' as per Mike's suggestion, I was able to start X Windows.

(!) [MikeM] Generic X error problem solving
There are a few very common reasons for X not starting
1. Not enough disk space in / or /var
(!) [Thomas] If this is the case, then I doubt one would be able to login anyhow, since /var/log/wtmp would have to be written to so that the "last(1)" command can keep a log of who has logged in.
(!) [MikeM] 2. Font server not starting (can be caused by 1.)
(!) [Heather] More accurately, "fixed" or some font needed by your window manager isn't available, so the session manager dies -- taking X with it.
This may be a dead font server, or some other buggy FontPath.
(!) [Thomas] RedHat like to use xfs/xfs-xtt to issue fonts. The truth is that a font server is NOT necessary, no matter which distribution one uses. The only time I can think when you might want to use it is when one is having to share fonts over the network.