Linux-Misc Digest #784, Volume #23 Wed, 8 Mar 00 04:13:03 EST
Contents:
Re: Svgalib as NONroot? (Mrinal Kalakrishnan)
archive 5580 (qic-80) tape drive and ftape (Greg Nedel)
Re: Why won't NT load? (Greg Nedel)
SBLive drivers ("askew")
Command line script....
Re: Salary? (Jim Richardson)
Re: Salary? (Jim Richardson)
Re: Linux for Begginers Book Recomendation (wayne rattz)
Mandrake 7 and NT4 (Kurt cobain)
Paralel port not detected ("Suwartono")
Installed Glibc 2.1.3 Feb 26, problems NOW?! (Walter Francis)
Re: Tar useless for backups? (Rob Komar)
Re: SBLive drivers (Steve Parker)
Re: *.1.gz to ascii ? (Johnny Johanson)
Re: Salary? ([EMAIL PROTECTED])
version info for libpthread.so (Steffen Jost)
Re: shutdown as another user than root? (Tim Moore)
Re: Salary? (Bill Unruh)
Re: Salary? (Desmond Coughlan)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Mrinal Kalakrishnan)
Subject: Re: Svgalib as NONroot?
Date: Wed, 8 Mar 2000 10:38:21 +0530
Lion typed:
>When I want to play lsdoom, I have to log on as root, as the svgalib
>call insists on being run as root. Is there a way around this? As I'm
>not terribly keen on having to SU to root every time I want to run an
>svgalib-based game.
Make it suid root with the command - chmod u+s <filename>.
`man chmod' for more details.
--
Mrinal Kalakrishnan <[EMAIL PROTECTED]> (PGP:B1E86F5B) http://listen.to/mrinal
- - - - = ( Redhat Linux 6.1 ) = - - - - = ( Kernel 2.2.12-20 ) = - - - -
PROLOG PROGRAMMERS are a cut above the rest
------------------------------
From: Greg Nedel <[EMAIL PROTECTED]>
Subject: archive 5580 (qic-80) tape drive and ftape
Date: Tue, 07 Mar 2000 22:28:12 -0500
I am trying to set up an archive tape drive. It is a model 5580 and I
am using 3M DC2080 tapes in it. I am running RedHat 6.1 (2.2.12-20).
It has ftape 3.04d. I installed the ftape module using the command
insmod ftape. When the ftape module loads, I get the following in my
syslogd messages file:
Mar 8 09:49:34 localhost kernel: ftape v3.04d 25/11/97
Mar 8 09:49:34 localhost kernel: (c) 1993-1996 Bas Laarhoven
([EMAIL PROTECTED])
Mar 8 09:49:34 localhost kernel: (c) 1995-1996 Kai Harrekilde-Petersen
([EMAIL PROTECTED])
Mar 8 09:49:34 localhost kernel: (c) 1996-1997 Claus-Justus Heine
([EMAIL PROTECTED])
Mar 8 09:49:34 localhost kernel: QIC-117 driver for QIC-40/80/3010/3020
floppy tape drives
Mar 8 09:49:34 localhost kernel: Compiled for Linux version 2.2.12-20
with versioned symbols
Mar 8 09:49:34 localhost kernel: [000] ftape-init.c (ftape_init) -
installing QIC-117 floppy tape hardware drive ... .
Mar 8 09:49:34 localhost kernel: [001] ftape-init.c (ftape_init) -
ftape_init @ 0xc283f04c.
Mar 8 09:49:34 localhost kernel: [002] ftape-buffer.c
(add_one_buffer) - buffer nr #1 @ c09f5f00, dma area @ c0378000.
Mar 8 09:49:34 localhost kernel: [003] ftape-buffer.c
(add_one_buffer) - buffer nr #2 @ c09f5e60, dma area @ c0370000.
Mar 8 09:49:34 localhost kernel: [004] ftape-buffer.c
(add_one_buffer) - buffer nr #3 @ c15baa40, dma area @ c0368000.
Mar 8 09:49:34 localhost kernel: [005] ftape-calibr.c (time_inb) -
inb() duration: 634 nsec.
Mar 8 09:49:34 localhost kernel: [006] ftape-calibr.c
(ftape_calibrate) - TC for `ftape_udelay()' = 830 nsec (at 10239
counts).
Mar 8 09:49:34 localhost kernel: [007] ftape-calibr.c
(ftape_calibrate) - TC for `fdc_wait()' = 1774 nsec (at 5119 counts).
I downloaded and compiled ftape-tools-1.07. I tried ftformat, with no
luck. I tried tar cvf /dev/ftape /tmp, with no luck. All I get is "no
such device".
I downloaded and compiled ftape-4.02, but that failed with the following
errors:
fdc-io.c: In function `fdc_interrupt_wait':
fdc-io.c:433: structure has no member named `timeout'
fdc-io.c:454: structure has no member named `timeout'
make[2]: *** [fdc-io.o] Error 1
make[2]: Leaving directory `/root/ftape-4.02/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/ftape-4.02/ftape'
make: *** [all] Error 2
All that said, I am still not able to access the drive in linux. Is
there some hardware setup I missed. I have found nothing on the net
about this hardware. I am remaking the kernel with ftape enabled (not a
module) and also with the proc fs enabled.
Any ideas anyone? What am I doing wrong?
Greg
------------------------------
From: Greg Nedel <[EMAIL PROTECTED]>
Subject: Re: Why won't NT load?
Date: Tue, 07 Mar 2000 22:03:23 -0500
John Hasler wrote:
> Jean-Francois writes:
> > Since the standard MBR put down by DOS format.com...
>
> There is no "standard" MBR.
>
> > ...was blasted by LILO...
>
> Actually, it was carefully saved by Lilo so that it can be restored by
> 'lilo -u'.
> --
> John Hasler
> [EMAIL PROTECTED]
> Dancing Horse Hill
> Elmwood, Wisconsin
Another way to get the MBR back onto a disk is to use Western Digital EZ
Drive. You will loose all the data on the disk, but if you are
partioning/formatting the disk anyway, it can do the trick for you. You
can get it on the Western Digital web site. I use version 9.09W, which
is fairly recent.
Greg
------------------------------
From: "askew" <[EMAIL PROTECTED]>
Subject: SBLive drivers
Date: Tue, 7 Mar 2000 21:28:31 -0800
Anyone know of sblive drivers for linux that will work with kernel 2.2.14?
Thank You.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Command line script....
Date: Wed, 08 Mar 2000 05:30:24 GMT
I would like to write a script that would run from a redhat 6.1 command
line that would do this:
let's say this is my directory structure:
/texts
inside of /texts, there would be an arbitrary number of directories with
arbitrary names that would change daily. Let's say in Monday, these were
the directories:
/texts/school
/texts/school/english
/texts/school/english/101
/texts/school/english/201
/texts/work
/texts/personal
The directories could be an arbitrary number of levels deep. Nothing is
constant in the directory structure, other than the fact that all of these
new directories every day are in the /texts directory. Now, every
subdirectory of /texts has two types of files, *.txt files and *.doc
files. So now we have something like this:
/texts
monky.txt
this.doc
that.txt
things.txt
/texts/school
summaries.doc
/texts/school/english
art.doc
starting.doc
sample.txt
/texts/school/english/101
you.doc
get.txt
the.txt
idea.doc
Now, what I want this script to do is go into every directory in /texts
recursively, and mv *.doc into a new directory
named /backup/wherever_the_file_was_under_texts. So the in the above
example, we would be left with this after the script was run:
/texts
monky.txt
that.txt
things.txt
/texts/school
/texts/school/english
sample.txt
/texts/school/english/101
get.txt
the.txt
# these are the moved files:
/backup
this.doc
/backup/school
summaries.doc
/backup/school/english
art.doc
starting.doc
/backup/school/english/101
you.doc
idea.doc
Now if the directories always stayed the same, this would be no problem,
it's the fact that it has to be universal that is holding me up. If what
I wrote above isn't clear, please E-Mail me and I will try to explain it
again in a different way. Any help would be greatly appreciated.
Dan
[EMAIL PROTECTED]
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Jim Richardson)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Tue, 7 Mar 2000 21:15:33 -0800
Reply-To: [EMAIL PROTECTED]
On 7 Mar 2000 00:04:33 -0600,
Leslie Mikesell, in the persona of <[EMAIL PROTECTED]>,
brought forth the following words...:
>In article <[EMAIL PROTECTED]>,
>Jim Richardson <[EMAIL PROTECTED]> wrote:
>
>>>So the wages are lower in Europe, but the cost of living is lower, too.
>>
>>hehe, I live in a boat, my "rent" ranges from $0 to about $400 mo
>>for slip fees (I own the boat of course.) But I am a few sigma
>>off of the SD in this area :)
>
>Does that include the internet connection?
>
No, at the moment, I pay ~$30 for the phone and $12mo for ISP.
Soon, I shall have wireless, and then, no more landline :) (have
a cell phone for voice. )
Does your rent come with internet? (there's a few apartments
now that have it included, like cable, must be nice...)
--
Jim Richardson
Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
Linux, because life's too short for a buggy OS.
------------------------------
From: [EMAIL PROTECTED] (Jim Richardson)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Tue, 7 Mar 2000 21:21:08 -0800
Reply-To: [EMAIL PROTECTED]
On 7 Mar 2000 08:40:12 GMT,
Desmond Coughlan, in the persona of <[EMAIL PROTECTED]>,
brought forth the following words...:
>On Mon, 6 Mar 2000 21:31:57 +0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> > I think it's a myth that wages are higher in the United States, at least
>> > when the high cost of living is taken into account.
>
>> What high cost of living?
>
>I believe there was an article on this very subject, in 'Time'; aside
>from Windows 98 (which they used to artificially 'bump up' the price
>of living in Europe), things are cheaper in Europe.
>
>> Food's cheap. Petrol's cheap. PHone calls are cheap?
>> You don't have a HIGH cost of living.
>
>The last time I was in the United States, I struggled to find a hotel in
>Boston for less than $100 per night ... OK, so that's probably for tourists,
>but it doesn't speak to a 'low' cost of living.
I can't speak for boston, but in Seattle, you can get a room for
$50 or so a night. Not the Sheraton, but no flea bag doss either.
>
>Aside from that, it appears that the cost of real estate in California is
>prohibitive ...
At least in the major metro areas. I lived in the Mojave desert
for 3 years, rent was cheap there :)
>> > I presently earn a tad under 500,000 FFr a year, which I think translates
>> > into about 73,000 US$ per year. That doesn't seem much, but I live in
>> > a relatively large flat, and only pay 4,000 FFr a month (580 US$).
>>
>> > So the wages are lower in Europe, but the cost of living is lower, too.
>
>> Really. Try living in the UK for a while.
>
>I did; for thirty years ...
While I was living in England, which was admittadly, over 15
years ago, food was more expensive than the US, so was petrol,
phone, rent, cars, computers, and just about everything I can
think of offhand. When my mom and stepfather moved to the states
in 1987 or so, one of the reasons was the high cost of living in
England, (and of course the taxes) (the other was to be near my
mom's family, in Missouri.) I can't speak for now personally, but
the friends I have in England, still complain to me about high
prices for electronics, cars, & etc, and the prices they tell me
of seem rather high to me.
--
Jim Richardson
Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
Linux, because life's too short for a buggy OS.
------------------------------
From: wayne rattz <[EMAIL PROTECTED]>
Subject: Re: Linux for Begginers Book Recomendation
Date: Wed, 08 Mar 2000 06:30:10 GMT
HELLO:Try linux for dummies or the complete idiot's guide to linux for
beginners books.If you want to get a more advanced book to learn from,
that covers just about everything get running linux 3rd edition.Bookstores
and other information can be found at my site
http://www.geocities.com/wrattz/linux1.html GOOD LUCK WAYNE!
Jamie wrote:
>
> I know Windows 98 pretty well, and recently installed linux on my system
> at home just to play around with. I really don't have a serious need
for
> it, but I'd like to learn it because it is supposed to be a much better
OS
> than Windows. Does anyone have a good recomendation for a book that can
> give me a good overview of the basic functions and how to use them.
>
> Thanx in advance.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Kurt cobain <[EMAIL PROTECTED]>
Subject: Mandrake 7 and NT4
Date: Wed, 08 Mar 2000 06:30:21 GMT
hello
i have windown NT4 and all my partitions are on NTSF
the linux partation on normal FAT
when im trying to install the mandrake 7 its ok
but after the RESTART i cant get the lilo
and im getting "01" all over the screen
what to do?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Suwartono" <[EMAIL PROTECTED]>
Subject: Paralel port not detected
Date: Wed, 8 Mar 2000 13:53:24 +0700
When I try to add printer to my RedHat 6.1, the printtool says that my
paralel port is not detected, with message :
/dev/lp0 : not detected
/dev/lp1 : not detected
/dev/lp2 : not detected
It work fine in Windows or Caldera OpenLinux 2.3.
How can I solve this problem ??
Thanks,
Suwartono
------------------------------
From: Walter Francis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Installed Glibc 2.1.3 Feb 26, problems NOW?!
Date: Wed, 08 Mar 2000 02:12:20 -0500
Reply-To: [EMAIL PROTECTED]
I installed the new version of Glibc back on Februrary 26th from
cygnus.com, compiled it, installed it, no problem.. Suddenly today, I
find that Squid won't start.. So I try squid -N and here is what it
says:
/usr/sbin/squid: error in loading shared libraries: /usr/sbin/squid:
symbol getrlimit, version GLIBC_2.1.3 not defined in file libc.so.6 with
link time reference
What the heck happened?? I've gone down to init 1 a few times since
then, the wife even rebooted the computer once! Used Netscape through
Squid earlier today, no problem.
Squid isn't such the big deal, I'm just afraid other things are going to
start breaking as well.. Although, so far everything else seems to be
working..
Any comments are very welcomed!
--
Walter Francis
http://wally.hplx.net Powered by Red Hat Linux 6.0
------------------------------
From: Rob Komar <[EMAIL PROTECTED]>
Subject: Re: Tar useless for backups?
Date: Tue, 7 Mar 2000 19:52:52 -0800
MH <[EMAIL PROTECTED]> wrote:
> Actually, all the original files DO exist. Nothing is disappearing from
> the source directory and all files are available (not corrupt). It is
> only tar that seems to be having the problem.
> Also, I've already performed cp -a and did a manual review of one of the
> directories that tar was having problems with. EVERY file copied
> perfectly. I wasn't aware of "diff" so I'll try that for a complete
> check--but I'm willing to bet everything will be as it should. If not,
> I'll post what I found.
> Lastly, I did perform an e2fsck some short time ago. Turned out to be a
> lot more difficult than I expected. Had to create a special boot disk,
> a rescue disk, etc. before I could get Linux to load without mounting
> /. In any case, I did eventually run the check and everything was
> "clear".
Well, that eliminates a lot of the obvious stuff (which eliminates most
of the advice I might have given ;). Here's a few other things you
might check:
Is tar corrupted? If you're using the version that came with your system,
you can use rpm to compare checksums of the tar package files against its
database.
Did you upgrade glibc? If so, tar may need to be upgraded or rebuilt
(that's strictly a guess on my part, though).
Is one of your filesystems FAT (or something similar)? The .exe, .hlp,
.bat files suggest that. If so, what kernel are you using? Some of
the early 2.3.X kernels didn't support the FAT-type filesystems too well.
How big is the tar file compared to the files you backed up (`du -s'
will tell you the size of the tree)? The tar file is usually about
the same size as the tree. If it's smaller, then tar definitely missed
some of the files. Here's what I get for my home directory:
robpc1>tar cf /bfd/tmp/robk.tar robk/
robpc1>du -s robk
133222 robk
robpc1>ls -l /bfd/tmp/robk.tar
-rw-r--r-- 1 robk users 135925760 Mar 7 19:35 /bfd/tmp/robk.tar
Finally, tar-1.13 came out last year. You might considering upgrading
from tar-1.12.
Cheers,
Rob Komar
------------------------------
From: Steve Parker <[EMAIL PROTECTED]>
Subject: Re: SBLive drivers
Date: Wed, 08 Mar 2000 07:31:51 +0000
askew wrote:
> Anyone know of sblive drivers for linux that will work with kernel 2.2.14?
Try http://www.opensound.com - although the drivers aren't free.
You get a trial period so you can play with the drivers and decide if you
want to buy them. If you're using Mandrake, you'll probably end up having to
build a new kernel in order to be able to use them though :-(
For my card, the cost was US$ 30 - but they work well, so I'm happy.
Steve
--
=======================================================================
Steve Parker [EMAIL PROTECTED]
=======================================================================
------------------------------
From: [EMAIL PROTECTED] (Johnny Johanson)
Subject: Re: *.1.gz to ascii ?
Date: 8 Mar 2000 08:12:00 GMT
Floyd Davidson <[EMAIL PROTECTED]> writes:
...
> man file | col -xb > text-file
...
A more complex but more "proper" way of geting ascii from a *.1 file is:
(Use 'gunzip file.1.gz' to get rid of *.gz)
groff -man Tascii file.1 > file.txt
Or if you prefer postscript for printing etc:
groff -man Tps file.1 > file.ps
// Johnny
--
,,, http://www.dtek.chalmers.se/~d2jo/
Johnny Johanson (o o) [EMAIL PROTECTED]
=======================oOO==(_)==OOo=======================================
Computer Science and Engineering, Chalmers University of Technology, Sweden
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Wed, 08 Mar 2000 08:11:52 GMT
Okay, to paraphrase the threads here, I should be asking $45 -
$1,000,000. They should throw in a car that gets really good gas
mileage, and a house, unless I was willing to settle for a small yacht
and microwave internet feed...
=)
Seriously, though. Am I nuts for considering a $35,000 starting
salary, straight out of college, for a position that:
a) appears be closer to the 40 hrs/wk than the 80+ extreme
b) will put me in a position to learn Solaris and Cisco on top
of my Linux background
c) could very well turn out to be my 'dream' job opportunity
(a marriage, of sorts, of the two things that I dive into most
passionately - a career out of my hobbies of choice and academic
area of study, more or less).
I have 4 years of Linux experience, but no real "on-the-job" Linux
experience (unless you count the frenetic, chaotic, haphazard and
half-assed environment of a pre-launch privately funded Internet
startup).
I won't say it's what I had my fingers crossed for. But I've done
the math; I can certainly live comfortably on what they're offering,
and to my thinking the pluses outweigh a simple dollars-and-sense
figure (quality of life and quality of work over a few extra bucks
at the end of the month).
Or am I being naive?
=)
Yours,
Robert Nichols
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Steffen Jost <[EMAIL PROTECTED]>
Subject: version info for libpthread.so
Date: Tue, 7 Mar 2000 05:27:03 +0100
Hi all!
By mistake I deleted some links to libraries. I tried to relink them
properly by looking at another computer with linux installed, it is also
running on SuSE 6.2, so I looked at the all links and relinked them on the
broken computer. But I still get some error messages about missing version
information, some programs won�t start anymore. (for example xmms)
xmms: /lib/libpthread.so.0: no version information available (required by
xmms) xmms: /lib/libpthread.so.0: no version information available
(required by xmms) xmms: /lib/libpthread.so.0: no version information
available (required by /usr/lib/libgthread-1.2.so.0) xmms: error in loading
shared libraries: /usr/lib/libgthread-1.2.so.0: symbol
pthread_cond_broadcast, version GLIBC_2.0 not defined in file
libpthread.so.0 with link time reference (no version symbols)
Also reinstalling the right (?) packages didn�t solve the problem so far.
What am I doing wrong, and what is this all about? Can anyone help me?
All hints are welcome!
Thanks!
Steffen
------------------------------
Date: Wed, 08 Mar 2000 00:38:45 -0800
From: Tim Moore <[EMAIL PROTECTED]>
Subject: Re: shutdown as another user than root?
Put these two entries in /etc/passwd:
bye::0:2:Mr. Halt:/root:/sbin/poweroff
reboot::0:1:Mr. Reboot:/root:/sbin/reboot
No claims for security or sanity in a multi-user system. Anyone can
type the following without root privledge:
su bye
or
su reboot
See halt(8)
--
timothymoore bigfoot com
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: 8 Mar 2000 08:37:32 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jim Richardson) writes:
>>>
>>> > So the wages are lower in Europe, but the cost of living is lower, too.
>>
>>> Really. Try living in the UK for a while.
Was in England for two months last year.
I found that in England the price of almost everything was exactly the
same as it is in Canada. Unfortunatly that had the habit of sticking
that stupid pound symbol, instead of the dollar symbol in front of all
those numbers.
>While I was living in England, which was admittadly, over 15
>years ago, food was more expensive than the US, so was petrol,
...
------------------------------
From: [EMAIL PROTECTED] (Desmond Coughlan)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: 8 Mar 2000 08:56:00 GMT
Reply-To: [EMAIL PROTECTED]
On 7 Mar 2000 15:15:25 GMT, Michael C. Vergallen <[EMAIL PROTECTED]>
wrote:
> >Also take in account that we've got the state taking care of our
> >health, pension etc., that is we don't need to pay private health
> >insurances and such from our salary after taxes unless we want to.
> Now I don't really like the state making those desisions for me ... but here
> in europe we don't have a choice to opt out of this so I'm forced to pay for
> a mediocre healt system and a pension that will be only 800 Euro / month if
> anything is payed at all. I rather make my own provisions on pensions and
> healt, also who cares about the working hours ... I would like to be able to
> make this out for my self instead of some fucked up government desiding how
> long I can work in a week.
I *think* that one can opt out from the public health scheme here in
France. As for hours, the French government does not impose the
35-hour week on any worker; all it does is forbid companies from
imposing it on their employees.
--
Desmond Coughlan Network Engineer Forum des Images Paris France
***************************************************************************
The views expressed in these articles are my own, and do not necessarily
reflect the views of the Forum des Images.
***************************************************************************
[EMAIL PROTECTED] + 33 (0)1 44.76.62.29 http://www.forumdesimages.net/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************