Linux-Misc Digest #25, Volume #24 Sun, 2 Apr 00 17:13:02 EDT
Contents:
Re: How do I make shared libraries? (John Reiser)
Re: ppp not compiled in kernel?? (Bill Unruh)
Re: pppd dies from SIGHUP (Bill Unruh)
Effective Partitioning for a Debian Distro (p e a r c e)
Re: How do I make shared libraries? (Paul Kimoto)
Re: tripwire question (David Turley)
Re: Recording Audio Tape (Dances With Crows)
Linux and PCI Ethernet Cards - A Question on Compatibility? (Shadow Hunter)
setuid-root does not work on lprm ? (peter pilsl)
Quake2........resolution ("Fairway Fatty")
Re: Samba: NT can see me but not read.... (Yan Seiner)
Re: setuid-root ? basic questions (M. Buchenrieder)
Re: redhat 6.1 vs PostgreSql (Jon Martin Solaas)
Re: Linux and PCI Ethernet Cards - A Question on Compatibility? (Leejay Wu)
Unable to mount hdd device (Douret Patrick)
Re: Dual-booting between DOS/Win and Linux (Grant Edwards)
Re: Linux and PCI Ethernet Cards - A Question on Compatibility? (Grant Edwards)
Re: Effective Partitioning for a Debian Distro (John Hasler)
Re: Dual-booting between DOS/Win and Linux (John Hasler)
----------------------------------------------------------------------------
From: John Reiser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: How do I make shared libraries?
Date: Sun, 02 Apr 2000 11:42:24 -0700
> Why is anyone still using egcs? The egcs developments were merged
> back into gcc (2.95.N) a long time since.
Why is there still hunger in the world? It's a matter of _distribution_,
which proceeds much like diffusion. Most users keep on using the compiler
that they got with their most recent CD-ROM containing Linux or other OS.
They don't have the download bandwidth, disk space, or motivation to track
and build gcc by themselves; and they're happy to have someone else perform
some non-developer testing, integration, and quality control.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: ppp not compiled in kernel??
Date: 2 Apr 2000 18:59:15 GMT
In <fnKF4.1126$[EMAIL PROTECTED]> "LeeRoy" <[EMAIL PROTECTED]> writes:
]Ok I recently well just a week ago got redhat 6.0 installed. I recompilled
]kernel so I could use it for ip masq for my win 9x boxes. Ok i got dns dhcp
]everything configured however when I try to connect it tells me that ppp is
]not compiled in the kernel. however it is. the original kernel was working
]with ppp but know even it is now telling me that ppp is not compiled in the
]kernel and I know its the original. any one else have this problem?
]any fixes? I can't find anything on this.
Sure. Throw away kppp. It is buggy. It gives this error message.
Alterntively get an updated kppp. or just ignore the message.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: pppd dies from SIGHUP
Date: 2 Apr 2000 19:01:57 GMT
In <kkLF4.21651$[EMAIL PROTECTED]> "Kurt V. Hindenburg"
<[EMAIL PROTECTED]> writes:
>I'm running Slackware7.0 with pppd 2.3.10.
>For some reason I lost connection for
>apparently no reason. log/messages has :
>Apr 2 12:01:30 cherrycoke pppd[1459]: Hangup (SIGHUP)
>Apr 2 12:01:30 cherrycoke pppd[1459]: Connect time 1.3 minutes.
>Apr 2 12:01:30 cherrycoke pppd[1459]: Sent 18265 bytes, received 174392 bytes.
>Apr 2 12:01:30 cherrycoke pppd[1459]: Exit
>Any ideas?
Get rid of kppp?
Anyway, without more info it is impossible to help. Use the debug option
to ppp. But I have seen others with this problem using kppp.
------------------------------
From: p e a r c e <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux.setup,comp.os.linux.questions,comp.os.linux.admin
Subject: Effective Partitioning for a Debian Distro
Reply-To: [EMAIL PROTECTED]
Date: Sun, 02 Apr 2000 19:07:40 GMT
I have 4GB free on a second partition and plan on installing Linux to
play with. I will install either Debian or Storm (Debian-based
distro) so I would like to know what is a good partition strategy for
this setup. I will be dual booting with NT as well, though that is
easy to setup.
Linux will be used primarily for internet and scientific research
work. Also, I will be the only user of this multiuser workstation
using linux.
Please pass along suggestions for a good, efficient, and easy to
manage partitioning scenario for linux in this case.
TIA
p e a r c e
___
NOTICE: Remove TNT to reply
What would a chair look like if your knees
bent the other way?
-Steven Wright
Get More Steven Wright Here: http://members.home.net/jwps3/home.html
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: How do I make shared libraries?
Date: 2 Apr 2000 15:10:05 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Allin Cottrell wrote:
> Why is anyone still using egcs?
Because Alan Cox does not guarantee successful use of gcc-2.95* for 2.2.*
kernels?
So, why does Alan Cox still use egcs?
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: David Turley <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Subject: Re: tripwire question
Date: Sun, 02 Apr 2000 19:12:54 GMT
On 2 Apr 2000 15:21:26 GMT, Villy Kruse apparently wrote:
>
> The names in these directories are usualy symbolic links and will therefore
> not be changed when you edit the file. The real files are usualy in
> /etc/rc.d/init.d, although some distributors might put the files somewhere
> else.
In Slackware they are ther, but I di dfind what appears to be the problem.
Later in the policy file I had a policy for /etc/rc.d,the parent directory.
Apparently that caused a problem. Once I removed the individual file
listings from the poloicy file, changes to those files were reported.
Thanks for the reply.
--
David Turley
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Recording Audio Tape
Date: 02 Apr 2000 15:28:41 EDT
Reply-To: [EMAIL PROTECTED]
On Sun, 02 Apr 2000 14:30:12 GMT, Andy Knifel
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Can I transfer Audio tape to CD Rom in Linux?
>I know you can do it in Windows with CD Spin Doctor.
Er, what's the connection between the cassette player and the computer?
The thing to do would be, I think, to record .wav files from the tape
player, then burn those .wav files to CD using cdrecord. If you don't
have a CD-R(W), obviously you can't do the last step.
To record audio files from an external source, go to
http://www.freshmeat.net and do a search on "record audio" or something
similar. You generally plug the line-out from the cassette into the
line-in on the soundcard and go from there, unless you're an audiophile or
something.
To burn CDs, you need the cdrecord package and will probably want a
graphical frontend like xcdroast or cdrtoaster. Look for those on
freshmeat as well. Read the CD-Writing-HOWTO at
http://www.linuxdoc.org/HOWTO/CD-Writing/HOWTO.html
>I have not had luck looking for software in the usual Linux places.
You either don't know where those places are or you don't know what you're
looking for. freshmeat.net and linuxberg.com.
--
Matt G / Dances With Crows \###| Programmers are playwrights
There is no Darkness in Eternity \##| Computers are lousy actors
But only Light too dim for us to see \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.
------------------------------
From: Shadow Hunter <[EMAIL PROTECTED]>
Subject: Linux and PCI Ethernet Cards - A Question on Compatibility?
Date: Sun, 02 Apr 2000 15:35:24 -0400
Hey guys, I was wondering if Linux worked well with most PCI Ethernet
Cards? I currently have an Intel EtherExpress 10/100 Pro card sitting
in this machine and was wondering if it would be acceptable for use on
the Network with Linux? I'm thinking once I get Redhat 6.2 from
Cheapbytes that I'll go ahead and set Samba up since the other machine
is on Windows 95. I'm just getting back into the *Nix thing again
after being out of it a couple of years so any help and advice is
appreciated. Thanks for being there!
Shadow Hunter
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: setuid-root does not work on lprm ?
Date: Sun, 02 Apr 2000 19:34:57 GMT
I�ve set a program to suid=root and when I run it as root it is running
fine, but when running as user, it doesnt work ! shouldnt it be the same ?
I�m talking about the lprm-programm:
[root]# ls -l lprm
-rwsr-sr-x 1 root root 14732 Oct 2 1998 lprm
[user]$ lprm 65
cfA718Aa02965: Permission denied
[root]# lprm 65
dfA718Aa02965 dequeued
cfA718Aa02965 dequeued
how can it be ?
peter
--
pilsl@
goldfisch.at.at
------------------------------
From: "Fairway Fatty" <[EMAIL PROTECTED]>
Subject: Quake2........resolution
Date: Sun, 02 Apr 2000 19:52:34 GMT
I just loaded quake2 on my linux partition running RH6.1. Ive got a ATI
rage128 card and running the rage128 rpm driver i d'loaded. Anyway..... as
im sure you can tell already im a noobie and i cant seem to get quake to run
in anything but that crappy 240x300 or whatever resolution....... ive tried
the different options in the games video options but they dont seem to wrok
(bomb me back out to console then hit escape and takes me back to game
options every time........also..... will it run under Gnome...... i got it
to run once (dont remember how i got there) and the res was better but
colors were off...... I cant seem to figure out how to create a (dont get
pissed) "shortcut" to start game from Gnome- Xwindows interface........
also the mouse is really erratiic when i use it in the game... it is a MS
3button scroll mouse......... thanks for any help any help.......... Fairway
------------------------------
From: Yan Seiner <[EMAIL PROTECTED]>
Subject: Re: Samba: NT can see me but not read....
Date: Sun, 02 Apr 2000 15:16:38 -0400
Sounds like WINS is not working....
Read teh stuff in textdocs - it addresses a lot of these types of
issues.
--Yan
Ken Yasuda wrote:
>
> I've got Samba configured in such a way that NT machines can find me
> on the local net, including the directory I've decided to make public.
> However, when I click on the directory from a Windoze machine, I get a message
> that I'm not sure what to make of:
>
> \\[my linux computer's name]\[the directory's name] is not accessible.
> The network name cannot be found.
>
> After reading the Samba HOW-TO, I find no reference to anything that
> can account for this behavior.
>
> Any suggestions on what is going on? Any suggestions on how I might fix it?
>
> Thanks,
>
> Ken
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: setuid-root ? basic questions
Date: Sun, 2 Apr 2000 16:22:19 GMT
peter pilsl <[EMAIL PROTECTED]> writes:
>when debugging a printing problem (user cannot lprm) I ran into basic
>troubles in understanding setuid-root. I couldnt clear my mind in man
>chmod.
>assume a file like:
>-rwsr-sr-x 1 root users 95 Apr 2 15:00 testscript
>what does it exactely mean ?
If the file is a script, which the filename seems to indicate,
nothing. The kernel is setup to ignore the setUID bit for shell
scripts, unless you're using something like sperl . SetUID scripts
are a huge security risk.
[...]
>Is it possible that setuid is permitted on my system (its based on
>redhat5.2 but with new kernel)
[...]
Don't use a setUID script. Use "sudo" instead .
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: Jon Martin Solaas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: redhat 6.1 vs PostgreSql
Date: Sun, 02 Apr 2000 22:22:12 +0200
Bit Twister wrote:
>
> You could add it to /etc/profile
Uh?
RedHat packages never goes in the /usr/local hierarchy, so if Postgresql
was installed off the RH CD it's someplace else, usually some bits in
/usr/bin others in/usr/lib, /var/lib ... and so on, hopefully conforming
to the Linux File System Stanard.
Try `rpm -qa | grep postgresql` to check out what parts of Postgresql
you have installed. Then you can query each package individually, for
instance `rpm -ql postgresql-server`. All the postgresql-programs should
be accessible directly from the command-line as the binaries are
installed into /usr/bin. Try `psql` to check it out. Consult the
Postgresql-HOWTO for further information.
--
Jon Martin Solaas
[EMAIL PROTECTED]
------------------------------
From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: Linux and PCI Ethernet Cards - A Question on Compatibility?
Date: Sun, 2 Apr 2000 16:18:55 -0400
Excerpts from netnews.comp.os.linux.misc: 2-Apr-100 Linux and PCI
Ethernet Card.. by Shadow [EMAIL PROTECTED]
> Hey guys, I was wondering if Linux worked well with most PCI
> Ethernet Cards? I currently have an Intel EtherExpress 10/100 Pro
> card sitting in this machine and was wondering if it would be
> acceptable for use on the Network with Linux? I'm thinking once I
> get Redhat 6.2 from Cheapbytes that I'll go ahead and set Samba up
> since the other machine is on Windows 95. I'm just getting back into
> the *Nix thing again after being out of it a couple of years so any
> help and advice is appreciated. Thanks for being there!
See:
a) http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
b) the Ethernet HOWTO, available at http://www.linuxdoc.org
--
| [EMAIL PROTECTED] | the silly student |
|--------------------------| he writes really bad haiku |
| #include <stddiscl.h> | readers all go mad |
------------------------------
From: Douret Patrick <[EMAIL PROTECTED]>
Subject: Unable to mount hdd device
Date: Sun, 02 Apr 2000 20:34:07 GMT
I am having trouble about mounting my HP CD Writer 8100 on my
hdd device on a Mandrake 7.0.
I am having on my computer: 2 hard drives, 1 cdrom and
1 cdwriter. The cdrom and the 2 hard drives are working fine,
but not my cdwriter (which is on hdd device). The cdwriter used
to work fine under my mandrake 6.0.
This is my fstab file:
/dev/hdb1 / ext2 defaults 1 1
/dev/hdb5 /home ext2 defaults 1 2
/dev/hdb6 /opt ext2 defaults 1 2
/dev/hda6 /mnt/internet vfat user,exec,conv=binary 0 0
/dev/hda7 /mnt/win98 vfat user,exec,conv=binary 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hdb7 swap_upgrade swap defaults
0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdwriter /mnt/cdwriter supermount fs=iso9660,dev=/dev/cdrom 0
0
If i have a look to all the mounted partitions, evrything seems to be ok
So, I put
a cdrom into my cdwriter drive and try:
[patrick@localhost patrick]$ ls /mnt/cdwriter/
ls: /mnt/cdwriter: Erreur d'entr�e/sortie (Input / Output error)
[patrick@localhost patrick]$
what's wrong with that?
I've also try to replace the line
/mnt/cdwriter /mnt/cdwriter supermount fs=iso9660,dev=/dev/cdrom 0 0
by /dev/cdwriter /mnt/cdwriter iso9660 noauto,user,nosuid,exec,nodev,ro
0 0
which used to be working fine with my old mandrake 6.0
and:
[root@localhost /root]# mount /mnt/cdwriter/
mount: wrong fs type, bad option, bad superblock on /dev/cdwriter,
or too many mounted file systems
[root@localhost /root]#
So, want's happening?
This is how my devices are created (if it helps?):
[root@localhost /dev]# ls -il cd* hdd hdc
12242 lrwxrwxrwx 1 root root 3 mar 29 01:28 cdrom ->
hdc
12338 brw-rw---- 1 root disk 15, 0 mai 5 1998 cdu31a
12339 brw-r----- 1 root disk 24, 0 mai 5 1998 cdu535
14830 lrwxrwxrwx 1 root root 3 avr 2 16:45 cdwriter
-> hdd
12512 brw------- 1 root disk 22, 0 mai 5 1998 hdc
12529 brw-rw---- 1 root disk 22, 64 avr 2 16:15 hdd
Thank you for your help
--
Patrick
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To: alt.os.linux,alt.linux
Subject: Re: Dual-booting between DOS/Win and Linux
Date: Sun, 02 Apr 2000 20:41:04 GMT
In article <[EMAIL PROTECTED]>, Robert Heininger wrote:
>>> > I have a 50MHz 486 with 20Mb RAM, a VESA local bus, PnP support, a 340Mb
>>> > FAT16 hard disk, 1Mb VESA local graphics and a 4x Toshbia CD-ROM running
>>> > Windows 95.
>
>I would install DOS and Win3.x on a 60-70mb partition, first, and use the rest
>for Linux. Don't even begin to consider using the X Window System, because
>you will not have enough disk space for it.
Nonsense. I've had a complete X11 install (included gcc and development
stuff) installed in under 100M. You'll have to pick and choose, but 300M is
plenty of space for Linux and X11. Skip emacs and pick something like jed.
Skip the desktop environments like KDE and Gnome and use Windowmaker or Fvwm.
However, I wouldn't recommend something likea 100M install as your first
attempt at using Linux. A minimal install can be a tricky thing to get
right, and you've got to understand what's going on.
--
Grant Edwards grante Yow! You were s'posed
at to laugh!
visi.com
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Linux and PCI Ethernet Cards - A Question on Compatibility?
Date: Sun, 02 Apr 2000 20:46:18 GMT
In article <[EMAIL PROTECTED]>, Shadow Hunter wrote:
>Hey guys, I was wondering if Linux worked well with most PCI Ethernet
>Cards?
Yes.
>I currently have an Intel EtherExpress 10/100 Pro card sitting in this
>machine and was wondering if it would be acceptable for use on the Network
>with Linux?
Yes.
The module name is eepro[something].o (in my case I had to install the
module manually since it's my second Ethernet board, and I don't want Linux
using it for anything or trying to configure it automatically). RH will
probably just auto-detect it and install the module for you.
--
Grant Edwards grante Yow! My Aunt MAUREEN was
at a military advisor to IKE
visi.com & TINA TURNER!!
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux.setup,comp.os.linux.questions,comp.os.linux.admin
Subject: Re: Effective Partitioning for a Debian Distro
Date: Sun, 2 Apr 2000 19:50:01 GMT
pearce writes:
> I will install either Debian or Storm (Debian-based distro) so I would
> like to know what is a good partition strategy for this setup.
For a new user it is best to use a single partition (in addition to a swap
partition). Free the 4GB and let the Linux installer partition it.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux
Subject: Re: Dual-booting between DOS/Win and Linux
Date: Sun, 2 Apr 2000 19:29:38 GMT
Robert Heininger writes:
> Don't even begin to consider using the X Window System, because you will
> not have enough disk space for it.
/usr/X11R6 on this system is about 65MB. I ran X for several years on a
386/33 system with 8M of RAM and 340M of disk.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
** 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
******************************