VizagInfo.com Home | VizagInfo Mirror of LG


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 star