Linux-Misc Digest #961, Volume #24 Wed, 28 Jun 00 05:13:03 EDT
Contents:
Re: Zoom Modems ("Quiney, Philip [HAL02:HH00:EXCH]")
Re: dat drive detection problem ([EMAIL PROTECTED])
Re: Linux on 386er notebook with 1MB Ram and 60MB HDD (Dries van Oosten)
Auto-monitor a process (Raymond)
Re: Still getting used to permissions...!!!<sigh> ("Quiney, Philip
[HAL02:HH00:EXCH]")
Re: linux swap partition? (Dries van Oosten)
Re: ISA nic cards? (Dries van Oosten)
Re: Linux, Quake2 and a PS/2 Mouse ("Ross Goodley")
Re: Loadlin and SCSI (Villy Kruse)
NYC LOCAL: LXNY at PC EXPO in The Javits 26-29 June 2000 ([EMAIL PROTECTED])
Re: Still getting used to permissions...!!!<sigh> (Villy Kruse)
Re: what is jre and arch?? (Villy Kruse)
non-root chown system call (Marc J. Miller)
Re: BAD MAGIC NUMBER IN SUPERBLOCK (root)
Re: gcc --version ("Marc Mezzarobba")
Problem removing LILO (radha)
Re: linux swap partition? (Floyd Davidson)
Viper 770 TNT2 Ultra: which driver? (Martin Herrman)
Connecting Dumb Terminals ("Russell")
----------------------------------------------------------------------------
From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Subject: Re: Zoom Modems
Date: Tue, 27 Jun 2000 08:08:05 +0100
Lewis wrote:
>
> I am looking at purchasing a Zoom External Modem, it says that it is
> PNP and works with windows and mac's. I was of the opinion all Ext's
> work with Linux, any ideas. Thanks.
Hi
AKAIK it should work. I think the pnp bit refers to the fact that it can
identify itself to Windows when queried - the only thing you need to
worry about is if it is a 'winmodem'. Being external it shouldn't be.
One thing to try is to make it a condition of sale that it works with
Linux - sometimes the sales droid will understand - the trick is to get
the same person if things go wrong. We did this with some Family Tree
software - we had a requirement that it cope with brother/sister from
one family marrying sister/brother from another (it is not incest!!).
This tripped up several of the cheap programs quite nicely.
FWIW I use a cheap USR Sportster external with Linux and set the machine
up with an aged 14.4k Zoom before transferring the Sportster from a
windows machine.
HTH
Regards
Phil Q
--
Phil Quiney CSIP Demonstrator
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: dat drive detection problem
Date: Tue, 27 Jun 2000 23:22:26 -0700
David E. Gordon <[EMAIL PROTECTED]> wrote:
> I'm having problems detecting mt DAT drive in my Compaq Proliant server with
> RedHat 6.0. Has anyone else had this problem? How do I fix it?
Repost your specific hardware, including both tape and SCSI adapter if
any, commands and error messages. Idiot question: do you have a SCSI
kernel driver loaded? Post output of "lsmod".
One of the following should report something useful (run as root):
# mt status
# mt status -f /dev/tape
# mt status -f /dev/nst0
# mt status -f /dev/st0
Typical output:
$ mt status
mt: /dev/tape: No medium found
...well, looks like I've got a device, but no media <g>.
--
Karsten M. Self <[EMAIL PROTECTED]> http://www.netcom.com/~kmself
Evangelist, Opensales, Inc. http://www.opensales.org
What part of "Gestalt" don't you understand? Debian GNU/Linux rocks!
http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
------------------------------
From: Dries van Oosten <[EMAIL PROTECTED]>
Subject: Re: Linux on 386er notebook with 1MB Ram and 60MB HDD
Date: Wed, 28 Jun 2000 09:26:04 +0200
On Tue, 27 Jun 2000, Philipp Poeml wrote:
> Hi everyone,
>
> I got an nice notebook with a 386SX-20, 60MB HDD, Floppy Drive, VGA, and
> ONLY 1MB of Ram. And I don't know, where I may buy more Ram for it,
> because it is old and it seems to be special Cards which I have to place
> on the mainboard.
> What I would like to know is, what Linux I could install on it.
> I just want to run a VI to edit my TeX Files and perhaps have a small
> internet connection via ppp or plip to read my e-mail.
> Is ELKS the only stuff that would run on it?
ELKS is great, but it doesn't do anythin yet.
Network support is something in the far distant future. Editing files is
about the only thing you can do.
Groeten,
Dries
------------------------------
From: Raymond <[EMAIL PROTECTED]>
Subject: Auto-monitor a process
Date: Wed, 28 Jun 2000 07:21:17 GMT
Dear All,
I have a linux server and the web server is apache.
There is a form for the users to submit and get some information
and say, action='/cgi-bin/showdata.cgi'.
But sometimes the showdata.cgi will not terminate and consumed
a lot of resources. How can I write a script to monitor this
showdata.cgi
such that if it has been running for a long time, just kill that
process.
Could you give me some idea or sample code about this ? Shall I use
cron job ?
How can I know that how long has that process been running ?
Thank you very much.
Raymond
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: Still getting used to permissions...!!!<sigh>
Date: Tue, 27 Jun 2000 08:20:44 +0100
"Lonni J. Friedman" wrote:
>
> Hendrix wrote:
> >
> > 2. Is there a method for keeping a user from copying the "/etc/passwd"
> > file..?? I recently discovered that I have no idea how to stop read
> > access to this file...??? Well, read access yes, but copying no... I
> > was hoping that linux would treat copying the same as it would treat the
> > reading of a file....????
>
> If you're using shadow passwords then this is a non issue. Most modern
> distro's use shadow passwords, which do not allow any user to read the
> file.
>
This is not true. Shadow passwords remove the requirement that the
encrypted password be in /etc/passwd. Users *MUST* have read access to
/etc/passwd (yes that does include being able to copy it) otherwise all
sorts of things will break - like being able to change password for
yourself or su to another user. Also you won't be able to login, as the
default shell for a user is obtained from /etc/passwd - it could have a
default I suppose - I have never tried it.
The encrypted passwords go in /etc/shadow which is only readable by
root.
Regards
Phil Q
--
Phil Quiney CSIP Demonstrator
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
From: Dries van Oosten <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: linux swap partition?
Date: Wed, 28 Jun 2000 09:39:31 +0200
On Wed, 28 Jun 2000, Keith wrote:
>
> Hi, I'm thinking of installing linux and I had a question about the linux
> swap partition. Is it absolutely necessary to have a 2nd linux partition on
> your hard drive just for virtual memory. I have 128MB of RAM in my PC--what
> would happen if I installed linux without this swap partition. If it matters
> any, I've pretty much narrowed down my linux choices to either CorelLinux or
> Mandrake (suggestions?). BTW, I can only install linux using that "linux
> ext2 file format," right? I think I read somewhere that linux can recognize
> the FAT or FAT32 file format--is this true?--Does this mean that I can also
> install linux to a partition using FAT32? Help would be appreciated. Thanks.
First of all, we're not talking about file formats here, but about
filesystems. There are numerous filesystems supported by Linux. You can
also easily boot from a DOS partition, but if you have a dedicated linux
partition anyway, ext2 is really the way to go. First of all because it is
faster then umsdos and second because when your windows machine it is
effected with a virus, it's much more likely that it will take a umsdos
partition with it then a ext2 partition, because windows doesn't even see
ext2 partitions.
Then the swap part. It doesn't really matter how much memory you have, you
still need swap space. This is because linux will stuff all the memory
that you're not using at the moment with buffered versions of things on
your disk, so that you don't have to access your disk so often. This
greatly speeds up operation. If your memory is full (and with an uptime of
a day or so, this is going to happen) and you start a new big app, your
harddisk suddenly has to do a lot of stuff and so does your memory. Stuff
needs to be put into your memory and stuff needs to get out of there. It
would seem that it would be smartest to dump the buffers. The problem is
that some of the buffer might be modified. If they have, they have to be
safed to disk. This is a lot of work that has to be done at once. I once
forgot to set up a swap partition. (In fact I told linux the wrong
partition, but the error swooshed by so fast during bootup that I didn't
notice). This has the effect that if I started X for instance. It would
crash immidiately, but when I started it again it would work. When I
installed the swap partition correctly, everything was okay. Now the
kernel can simply swap stuff out without looking if it has to be synced to
disk. It will still treat everything is if it were memory.
With you amount of memory, I would say that a 100 megs of swap would be an
overkill. The rule of thumb seems to be that you need twice as much swap
as physical memory, but that's from the days where we had 8 megs
memory. Nowadays, in my opinion, you need a buffer about the size of the
largest app you'll be wanting to sqeeuze in. I have 96 megs physical and
100 megs swap. The swap partition remains largely unused (few megs
used).
>
> --
> *************************************
> [EMAIL PROTECTED]
> http://pages.prodigy.net/mrkeith
> AIM: mrthekeith
> ICQ: 66068365
>
>
>
Groeten,
Dries
------------------------------
From: Dries van Oosten <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: ISA nic cards?
Date: Wed, 28 Jun 2000 09:41:22 +0200
On Wed, 28 Jun 2000, Keith wrote:
>
> One more question: Would linux have any problems recognizing an ISA NIC?
Depends totally on what card. An el cheapo ne-2000 clone will usually be
recognized, but there is a whole host of others out there. Try to find out
what chipset sits on the thing and look it up in the linux hardware
support lists.
>
> --
> *************************************
> [EMAIL PROTECTED]
> http://pages.prodigy.net/mrkeith
> AIM: mrthekeith
> ICQ: 66068365
>
>
>
Groeten,
Dries
------------------------------
From: "Ross Goodley" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Linux, Quake2 and a PS/2 Mouse
Date: Wed, 28 Jun 2000 08:49:28 +0100
Thanx, that's sorted it ;-)
"David Efflandt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Mon, 26 Jun 2000 13:43:04 +0100, Ross Goodley <[EMAIL PROTECTED]>
wrote:
> >I have a similar prob with Q2 and mice with my 3DFx Card, run with
svgalib,
> >or under X... mouse works fine. Run with mesa or glide... no mouse.. zip
> >nada.... any ideas anyone?
>
> Did you try 'killall gpm' first? I haven't run q2 since RH 5.2 (that
> drive is not in my computer at the moment), but a PS2 mouse worked fine
> with a 3dfx Monster 3D. I used my Glidepad for aiming.
>
> --
> David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
> http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
>
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Loadlin and SCSI
Date: 28 Jun 2000 07:53:38 GMT
On Tue, 27 Jun 2000 20:23:43 -0400,
Daniel Samson <[EMAIL PROTECTED]> wrote:
>Hello,
>I have a 8Go WD IDE drive with Windows on the first 2 Go and RH 6.2 on 6
>last Go. I boot RH 6.2 with Loadlin. The BootDisk made by the install
>program see the SCSI card (AHA-2930CU) and the CD-Writer (Yamaha 6416s).
>But I can't make those see when I boot with Loadlin. Here's my
>config.sys
>
>[Linux]
>shell=c:\Loadlin\loadlin.exe c:\Loadlin\vmlinuz root=/dev/hda5 ro
>mem=192M
>
>I tried various things with ramdisk and initrd, but there's obviously
>something I don't understand. What are the parameters I need to make the
>SCSI card and CD-Writer work with Loalin?
>Many thanks
>
You will need to use the initrd image file from your boot floppy.
No matter which loader you are using you need to load the kernel
image AND the initrd image. The initrd image contains the SCSI
driver module and the programs to load it into memory.
Villy
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy,comp.unix.bsd.freebsd.misc
Subject: NYC LOCAL: LXNY at PC EXPO in The Javits 26-29 June 2000
Date: 28 Jun 2000 03:58:00 -0400
LXNY has a booth in the Pavilion of Free Software. Maddog Hall and
Mark Bolzern will be keynote speakers Thursday morning 29 June 2000.
If you are lucky you may be able to register for free for all exhibits,
including the keynotes, and get a discount on conferences by going to
http://www.pcexpo.com/planner/registration.cfm
and using the magic word P2AQ for exhibits and the magic word C2AD for
conferences. Otherwise just use the magic words at the show.
Visit the LXNY booth! Michael Dell and Illiad and Bill Rozas and
Linus Torvalds already have! Volunteer to sit at the booth and
assault^Weducate passersby! Kevin, Greg, David, Michael, and Lillian
already have!
Jay Sulzberger <[EMAIL PROTECTED]>
Corresponding Secretary LXNY
LXNY is New York's Free Computing Organization.
http://www.lxny.org
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: Still getting used to permissions...!!!<sigh>
Date: 28 Jun 2000 08:05:57 GMT
On Wed, 28 Jun 2000 02:51:46 -0230, Hendrix <[EMAIL PROTECTED]> wrote:
>Another couple of questions...*s*
>
>1. How can I set permissions so that other users, besides root, can
>execute a certain given program...??? I thought about making a group,
>probably called pppusers (or something equivalent)... And making that
>group own the pppd file, but I don't see how that would be any different
>from setting rwx access for everyone on the pppd program itself...???
>If I set the "other" permission on the pppd program, and all scripts
>used to access this daemon, to read,write, and execute, then shouldn't
>they be able to execute the pppd script...????
>
Everybod can already run pppd; the pppd does, however, need to be suid
root to work if invoked from a non-root user.
BTW, don't give write access to system programs to anyone, except root.
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: what is jre and arch??
Date: 28 Jun 2000 08:07:53 GMT
On Wed, 28 Jun 2000 15:29:47 +1000, Sam Wun <[EMAIL PROTECTED]> wrote:
>[oracle@swun linux]$ ./runIns.sh\
>>
>/usr/local/jre/bin/jre: arch: command not found
>/usr/local/jre/bin/../bin/checkVersions: arch: command not found
>
>I am not quite understand the above error.
>can anyone enlighten me?
>
$ which arch
/bin/arch
$ arch
i686
Seem that jre needs this command.
Villy
------------------------------
From: Marc J. Miller <[EMAIL PROTECTED]>
Subject: non-root chown system call
Date: Wed, 28 Jun 2000 08:05:03 GMT
I'm writing a program that needs to be able to give a file to someone
else without being root. System V Unix allows the owner of a file to
chown it to someone else, but Linux doesn't.
There's a variable _POSIX_CHOWN_RESTRICTED which is supposed to control
this behavior, but I can't figure out how to manipulate it. By default,
it's declared as "1". I thought I should be able to do
#define _POSIX_CHOWN_RESTRICTED -1
to turn off this restriction, but it didn't help.
Ideas?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Re: BAD MAGIC NUMBER IN SUPERBLOCK
Date: 27 Jun 2000 20:59:41 -0400
I have tried that, and at least 10 successions of 8193, such as
16385,etc,etc, all to no avail...I reread the posts concerning this problem
and did check my partition table using fdisk :p and it shows my hda7 being a
valid linux native, starting at 3190, ending 3381.
e2fsck -f -b 1 /dev/hda7
Try this - It worked for me when 8193 didn't
cheers
John
--
MWj2 <-> SuSE_Linux_6_0 2_2_5 gcc_egcs-2.91.60
------------------------------
From: "Marc Mezzarobba" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: gcc --version
Date: Tue, 27 Jun 2000 22:40:46 +0200
<[EMAIL PROTECTED]> a �crit dans le message news:
8jc0fb$ivb$[EMAIL PROTECTED]
> Hi,
>
> How come gcc that comes with RH6.2 is "egcs-2.91.66", while an older
> distro, Mandrake7.0 comes with "gcc-2.95" ?
> (I remember that when I was using Mandrake7.0, RH6.2 wasn't out yet)
afaik: While gcc ic controlled by gnu peaople, egcs is a version that
use the "bazar" developpement model.
Regards,
--
Marc
(I'm using OE because I'm not on my own computer :( )
------------------------------
From: radha <[EMAIL PROTECTED]>
Subject: Problem removing LILO
Date: Wed, 28 Jun 2000 08:30:15 GMT
To remove LILO I used "fdisk /mbr" which was supposed to restore
the WIN98 MBR. Now when I boot I get the message:
Type the name of the Command Interpreter (e.g.
C:\WINDOWS\COMMAND.COM)
None of the entries I typed at the A> prompt work.
I tried C:\COMMAND.COM, C:\WINDOWS\COMMAND.COM, A:\COMMAND.COM (with
a floopy containing COMMAND.COM).
I can't access WIN98, so I can't find the proper path to COMMAND.COM
How can I get beyond this? I want to boot to WIN98.
Thanks for any help.
radha
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: linux swap partition?
Date: 27 Jun 2000 23:49:06 -0800
"Keith" <[EMAIL PROTECTED]> wrote:
>Hi, I'm thinking of installing linux and I had a question about
>the linux swap partition. Is it absolutely necessary to have a
>2nd linux partition on your hard drive just for virtual
>memory. I have 128MB of RAM in my PC--what would happen if I
>installed linux without this swap partition.
It is not absolutely necessary; but it would be foolish to do
without swap except under some set of very special circumstances
(and you know extactly what you are doing and why). Swap space
on disk is perhaps best put into a separate partition (recommended),
but a file can also be used (handy for temporary needs or testing).
Virtual memory contributes to the reliability of an operating
system, which is the main reason you want more virtual memory.
Cost is the reason to use swap instead of adding more physical
RAM. You should consider your pocket book when purchasing RAM
(buy as much as you can afford, because Linux _will_ make good
use of it as buffers and for disk caching to allow your system
to run faster). But you should then engage in a bit of fantacy
to select how much swap space to allocated. Imagine the worst
case possible use of memory, and have enough swap space to make
sure more than that amount of virtual memory is available.
(Keep in mind just how cheap 500 Mb of disk space is today too.)
>If it matters
>any, I've pretty much narrowed down my linux choices to either CorelLinux or
>Mandrake (suggestions?). BTW, I can only install linux using that "linux
>ext2 file format," right?
You can do other things, but that is the only reasonable thing to do.
>I think I read somewhere that linux can recognize
>the FAT or FAT32 file format--is this true?--Does this mean that I can also
>install linux to a partition using FAT32? Help would be appreciated. Thanks.
That means you can have a MicroSoft OS available also (and boot either
that or Linux), and when you have Linux booted you will be able to
read and write to the MS hard disk partitions and floppy disks.
MS file systems are not suitable for use with unix files.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: [EMAIL PROTECTED] (Martin Herrman)
Subject: Viper 770 TNT2 Ultra: which driver?
Date: 28 Jun 2000 09:04:29 GMT
Reply-To: [EMAIL PROTECTED]
Dear reader,
I'm busy configuring an amd athlon machine with a Viper 770 TNT2 Ultra
video card. I installed mandrake 7.1 with XFree86 4.0 and have the
following questions:
1. which driver is better: SVGA or the NVidia driver?
2. can I safely switch from SVGA to NVidia or is it possible some problems
will occur?
Much thanks in advance,
Martin
--
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.14 Toshiba P233 MHz, 32 Mb RAM
11:00am up 15 days, 3:44, 3 users, load average: 0.14, 0.20, 0.17
Western Civilization, that would be a good idea!
------------------------------
From: "Russell" <[EMAIL PROTECTED]>
Subject: Connecting Dumb Terminals
Date: Wed, 28 Jun 2000 18:58:26 +1000
I would like to setup a dumb terminal to my linux server, does anyone know
how to do this, do i need any special software or is there any software that
needs to be used for connecting server to terminal
I need some ideas
thanx in advanced
------------------------------
** 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
******************************