Linux-Misc Digest #26, Volume #24 Sun, 2 Apr 00 19:13:11 EDT
Contents:
UNIX Question ??? (Joseph White)
Re: Dual-booting between DOS/Win and Linux ("Peter T. Breuer")
test (bill abbott)
Re: Smail - mailing list - Security Violations (Michael Engert)
Re: Recommendations Please (Bastian)
Re: Lookfong for a SMTP/POP mail server ([EMAIL PROTECTED])
SCSI (Tim De Vos)
Re: Help w/grep,sed to fix CR/LF problem from MS file... (NF Stevens)
Re: Dual-booting between DOS/Win and Linux (Ken Moffat)
Re: book floppy woes (John Roberts)
Re: Partition disappeared? (brian moore)
Re: Dual-booting between DOS/Win and Linux ("Peter T. Breuer")
Re: Linux and PCI Ethernet Cards - A Question on Compatibility? (Shadow Hunter)
X-Server/Windows on a new PC (n/a)
Re: UNIX Question ??? (Juergen Heinzl)
Re: pppd dies from SIGHUP (Juergen Heinzl)
Re: pnpdump error ("Hawkwynd")
Re: Do you hate vi? vi or vim? Deathmatch! (Nix)
Re: Unable to mount hdd device (Dances With Crows)
----------------------------------------------------------------------------
From: Joseph White <[EMAIL PROTECTED]>
Subject: UNIX Question ???
Date: Sun, 02 Apr 2000 15:16:19 -0600
Hi All,
Question that I'm working on for UNIX class.
How do you find all the USID of people currently logged in to a
Unix/Linux system, then put that info in a file.
I've messed around with 'id' and 'who' and 'w' but no luck.
Also looking at 'utmp' can't make out the man page on how to use this
command.
Any help greatly appreciated
Joe
--
Joseph S. White
[EMAIL PROTECTED]
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.nmia.com/~jwhite
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux
Subject: Re: Dual-booting between DOS/Win and Linux
Date: 2 Apr 2000 21:22:52 GMT
John Hasler <[EMAIL PROTECTED]> wrote:
: 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.
Hey! I am running X right now (on the machine I am typing on) on
a 486sx/50 with 8MB of ram and 80MB of disk.
Peter
------------------------------
From: bill abbott <[EMAIL PROTECTED]>
Subject: test
Date: Sun, 02 Apr 2000 16:34:37 -0400
test
------------------------------
Crossposted-To: comp.mail.smail
From: Michael Engert <[EMAIL PROTECTED]>
Subject: Re: Smail - mailing list - Security Violations
Date: Sun, 2 Apr 2000 21:15:47 GMT
In comp.mail.smail Donal <[EMAIL PROTECTED]> wrote:
> I am trying to set up a mailing list with about 200 entries. Whatever I try
> I hit a brick wall. It looks as if Smail does not want to allow external
> mail or commands from /etc/aliases.
It allows commands, but it reduces his power by changing its real and
effective user id to nobody and by changing its real and effective group
id to nogroup.
You want to do a upgrade to smail-3.2.0.103 or higher, 3.2.0.111 seems to
be stable, I'm using it here. I'll send You an conf/EDITME and a working
configuration via mail. The rest of the stuff, You need can be found at
the official smail ftp-site.
Yours, Michi.
--
============================================================================
Michael Engert [EMAIL PROTECTED]
80337 M�nchen [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Bastian)
Subject: Re: Recommendations Please
Date: 02 Apr 2000 21:37:48 GMT
On Sun, 02 Apr 2000 16:33:45 +0100, Andy wrote:
>I am looking at purchasing either RH6.1 Linux or SuSE Linux. Which do
>people prefer? What is the manual/documentation like with each product?
>Thanx in advance, Andy
None of them. They're both very expensive. The docs that come with the Suse
distro are comparatively good, but it has 6 CDs and installs lots of trash
you'll never need. Use Mandrake and buy a good book :-)
Bastian
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Lookfong for a SMTP/POP mail server
Date: Sun, 02 Apr 2000 21:36:39 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hello,
>
> I'm looking for a free SMTP/POP mail server on Linux.
>
> Does anybody knows such a soft ??
>
> Thanks in advance.
>
> Michel COTE.
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Tim De Vos <[EMAIL PROTECTED]>
Subject: SCSI
Date: Sun, 02 Apr 2000 23:51:18 +0200
Hello,
Every time I do some disk-intensive tasks my SCSI bus hangs
for about 1 minute. I use Redhat 6.1 with an Adaptec 2940
U2W (bios version upgraded to 2.2.20) on an SE440BX-2.
Any ideas what could be wrong. It's happening frequently and
the system doesn't respond so that's very anoying. All devices
are well terminated and I have no SCSI problems under Windows.
Thanks,
Tim De Vos
------------------------------
From: [EMAIL PROTECTED] (NF Stevens)
Subject: Re: Help w/grep,sed to fix CR/LF problem from MS file...
Date: Sun, 02 Apr 2000 21:54:34 GMT
Kelly <[EMAIL PROTECTED]> wrote:
>Hello All!!
>
>I have a text file from an M$ Access DB. It is a csv delimited with the
>tilde (~). The text fields in this file are contained in double quotes
>("). One or more of these text fields are description type fields where
>the user was allowed to enter free form text. Well, these people put in
>CR/LF instead of just letting the text wrap around. These CR\LF's are
>messing up my cut commands I'm using to manipulate the data (separating
>columns) into different files. Can someone out there suggest a way to
>get rid of these in the text fields...I can't figure out how to do this.
>I tried using some sed examples I found....I am new to this and am
>trying to learn, but, time is against me here on this project.
>Suggestions appreciated....
>
>If I can show the power of Linux tools to the powers that be on this
>one...it gets us a little closer to using Linux on the project as a
>whole...
I presume you have ended up with split lines such as
100~"This is a
line which was
split in the
middle"~"blah blah blah"
200-"Another
split line"~"something else"
Where this is really two lines (beginning with 100 and 200
respectively).
I'd use awk, and count the number of quote characters. If
it's odd at the end of a line then you're in the middle of
quoted text so you replace the new line with a space.
(The gsub line is there to remove ^M characters.)
BEGIN {Odd=0;}
{
gsub ("\r", "", $0);
count = length ($0);
for (i= 0; i < count; i++)
{
if (substr ($0, i, 1) == "\"")
Odd = !Odd;
}
line_end = Odd ? " " : "\n";
printf ("%s%s", $0, line_end);
}
Norman
------------------------------
From: Ken Moffat <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux
Subject: Re: Dual-booting between DOS/Win and Linux
Date: Sun, 02 Apr 2000 14:38:25 -0700
"Peter T. Breuer" wrote:
>
> John Hasler <[EMAIL PROTECTED]> wrote:
> : 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.
>
> Hey! I am running X right now (on the machine I am typing on) on
> a 486sx/50 with 8MB of ram and 80MB of disk.
>
> Peter
Are you running KDE? Gnome?
I have Caldera 2.3 complete install and it took 1+ gig.
--
Ken Moffat
[EMAIL PROTECTED]
------------------------------
From: John Roberts <[EMAIL PROTECTED]>
Subject: Re: book floppy woes
Date: 2 Apr 2000 21:58:41 GMT
Peter T. Breuer <[EMAIL PROTECTED]> wrote:
'John Roberts <[EMAIL PROTECTED]> wrote:
': Greetings all:
': I just loaded Slackware 7 and was given a small but frustrating problem.
': I load Linux from a floppy. ( have been for years ). In the past, I never
': conserned myself with LILO because either I never used it or it was
': written onto the floppy during zdisk generation. Now I must use the
': command *make bzlilo* after I *make bzdisk*.
'Interesting. Are you sure? I boot bzImages just fine from floppies!
'I make bzImage, and then copy the bzImage to the floppy. I can of
'course also make a small standard boot floppy, with /etc and /boot
'and /dev directories, and the kernel image, and a lilo bootstrap.
': Make bzlilo fails. Error statement says:
': request_module [ide-disk] : Root fs not mounted
'Err ... I actually have no idea what make bzlilo does (and I don't
'feel like looking at the makefile, since I don't have any problems).
'Would you mind looking and see if it does something like ..
' mke2fs /dev/fd0
' mount /dev/fd0 /mnt
' mkdir /mnt/dev /mnt/etc /mnt/boot
' cp /boot/*.b /mnt/boot/
' cp ...bzImage /mnt/boot/
' mknod .... b ... /mnt/dev/hda
' ...
' echo blah blah > /mnt/etc/lilo.conf
' /sbin/lilo -r /mnt
': hdc: driver not present
': VFS: can not open root device 16:01
': kernel panic: VFS: unable to mount root fs 16:01
'Eh, this is from trying to BOOT the disk. I thought you said
'these were errors at create time?
': I know what the error says, what I don't know is what to put in the
': /etc/lilo.config file. Just put the 16:01 statement in and try to fool
': the make file or....??
'No. The errors you rpesent are inconsistent with what you are saying.
'They are boottime errors. Not configure errors. They indicate that
'you are trying to mount /dev/hdc1 as / and that the kernel does not
'have suuport for IDE or the roor file system type (ext2fs?) compiled
'into it.
'Please compile ext2fs and IDE into it.
'Peter
Sorry to miss lead. When I ran make xconfig and answered the questions, I
saved the various picks in a file. Before make xconfig closes it states
one should run make bzImage, make bzdisk and maybe make bzlilo. I ran the
first two just fine. When I tried to run bzlilo, the procedure failed.
I then tried re-booting anyway to see what would happen. I got the errors
reported. I then ran setup again and took the leap runing lilo setup.
Only then did I read that one could run it any time with the command lilo
config. Like I said, never had the need for lilo before because make
zdisk always handled things for me. Live and learn. Now I know that
runnig liloconfig will not write to the wrong place. By the way, /dev/hdc
is really the third physical disk and the second extended partition.
Anyway the "fix" was just to get lilo.config running. Very simple.
Thanks for any and all help so far.
--
John Roberts [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Partition disappeared?
Date: 2 Apr 2000 22:01:40 GMT
On Fri, 31 Mar 2000 18:41:21 GMT,
Jordan Hiller <[EMAIL PROTECTED]> wrote:
> Well, I now see that I do have a backup of inittab called inittab~ in the
> /etc directory. But I'm still not out of the woods here...For some reason my
> root partition (which contains /etc) is being mounted as read-only, so I
> can't change anything. I can't seem to unmount it either so I could re-mount
> it. Any suggestions on how I can do that? Since there is no inittab, that
> might be part of the problem why I don't have write access (just guessing).
mount -n -o remount,rw /
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux
Subject: Re: Dual-booting between DOS/Win and Linux
Date: 2 Apr 2000 22:08:44 GMT
Ken Moffat <[EMAIL PROTECTED]> wrote:
: "Peter T. Breuer" wrote:
:>
:> John Hasler <[EMAIL PROTECTED]> wrote:
:> : 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.
:>
:> Hey! I am running X right now (on the machine I am typing on) on
:> a 486sx/50 with 8MB of ram and 80MB of disk.
: Are you running KDE? Gnome?
On the 486? No. fvwm2. Probably slack 3 going o 7 (yes, it's elf, I just
checked, with compiler and all).
: I have Caldera 2.3 complete install and it took 1+ gig.
Interesting. Complete suse 6.2 takes about 1.6-1.8GB. Slack 7 takes
about 1.3GB. I dread to think how much a complete debian would be. The
compressed packages are 2GB. I did a complete suse 6.3 the other day
and I think it was about 1.9GB.
But I also set up a minimal debian in about 8MB a few weeks ago:
barney:/usr/oboe/ptb% du -sx linux/*
1 linux/account
1434 linux/bin
9 linux/boot
1 linux/cdrom
21 linux/dev
735 linux/etc
1 linux/floppy
1 linux/home
1 linux/initrd
3922 linux/lib
1 linux/lost+found
1 linux/mnt
1 linux/proc
1 linux/root
1038 linux/sbin
1 linux/tmp
1 linux/usr
1 linux/var
X would be about another 10MB on top of that.
Peter
------------------------------
From: Shadow Hunter <[EMAIL PROTECTED]>
Subject: Re: Linux and PCI Ethernet Cards - A Question on Compatibility?
Date: Sun, 02 Apr 2000 18:24:48 -0400
Thanks for the info, Grant. I knew the card is a pretty common one and
just wanted to make sure it would be accepted by Red Hat because I
know what I went through one time with PCI Modems and that was what
got me to buy an ISA USRobotics modem. Thanks again for the
information. I'm sure I'll probably have questions when it comes time
to get Samba setup.
Shadow Hunter
On Sun, 02 Apr 2000 20:46:18 GMT, [EMAIL PROTECTED] (Grant Edwards)
wrote:
>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.
------------------------------
From: n/a <[EMAIL PROTECTED]>
Subject: X-Server/Windows on a new PC
Date: Sun, 02 Apr 2000 22:30:09 GMT
The problem is this. I bought a brand new PC just to run Linux and I made
the mistake of buying an "advanced" video card. (it was cheap). Obviously,
X-Windows won't work. I am reasonably knowledgeable about Linux and tried
every trick and work around I know. No luck. When I run XF86config, it does
report that my card is unsupported and recommends XF86_VGA 16 server. I
accept the recommendation and even after I select a conservative
mode setting...no luck.. Any suggestions. Here is the PC config:
Intel 550
128mb Ram
OS:Red Hat 6.1 (publishers edition)
Video Card: Stealth III S540 (S3 Savage 4 Pro+32mb SDRAM AGP)
Monitor:Studiworks 44m (very old one)
The error output:
Fatal server error:
No valid modes found.
Thanks in advance.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: UNIX Question ???
Date: Sun, 02 Apr 2000 22:40:36 GMT
In article <[EMAIL PROTECTED]>, Joseph White wrote:
>Hi All,
>
>Question that I'm working on for UNIX class.
>
>How do you find all the USID of people currently logged in to a
>Unix/Linux system, then put that info in a file.
>
>I've messed around with 'id' and 'who' and 'w' but no luck.
You're close.
>Also looking at 'utmp' can't make out the man page on how to use this
>command.
See the man page for id as if it supports the -u switch, a Unix98
conform version has to, then something like ...
#! /bin/sh -
for u in `who | cut -d" " -f1 | uniq`
do
id -u $u >> file_to_put_info_in
done
... ought to do the job. A real quicky, so for sure more
elegant versions. Using the file _PATH_UTMP might be better,
but as the file is a binary you'll have to write some programme.
Minor note, a Unix98 conform id must support -u.
Cheers,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: pppd dies from SIGHUP
Date: Sun, 02 Apr 2000 22:51:35 GMT
In article <kkLF4.21651$[EMAIL PROTECTED]>, Kurt V. Hindenburg wrote:
>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
Could be anything, read as long as it *click* does *click* not *click*
happen *click* all *click* the *click* time *click* do *click* not *click*
bother.
In other words it could have been your telco or your ISP.
Ta',
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
Reply-To: "Hawkwynd" <hawkwynd#pce.net>
From: "Hawkwynd" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: pnpdump error
Date: Sun, 2 Apr 2000 18:21:13 -0400
Jees-Louise!!! I knew it was something silly.... THANKS
David Efflandt <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thu, 30 Mar 2000 22:42:45 -0500, Scott Fleming <[EMAIL PROTECTED]>
wrote:
> >when performing a pnpdump, with no parameters, it lists my enet KNE20
> >Kingston adapter at 0x240 with IRQ3.
> >
> >However, when I perform:
> >
> >pnpdump /etc/isapnp.conf
> >
> >I get an error that reports 0x0000 is out of range and does not write the
> >file. I ran the Kingston adapter setup, which does not detect the
adapter.
> >Funny thing about all this is, that previous to this, I was using this
> >adapter on the same MB under windows 95 w/0 any problems.
>
> You forgot one character (directing the output to the file):
>
> pnpdump > /etc/isapnp.conf
------------------------------
From: Nix <$}xinix{[email protected]>
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi? vi or vim? Deathmatch!
Date: 02 Apr 2000 16:15:58 +0100
Richard Corfield <[EMAIL PROTECTED]> writes:
> Java seems a much more `pure'
> language, even if it is getting weak links to work around memory leak
> problems.
And operator overloading, and (immutable) non-referenced user-defined
types, and templates...
... starting to look a lot like C++, really...
--
`> KNOWLEDGE AND SKILLS
You must have some, but I don't see any evidence of it.'
--- Craig Hardie flames a luser recruitment consultant
advertising `Microsoft based solutions' on uk.comp.os.linux
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Unable to mount hdd device
Date: 02 Apr 2000 19:09:03 EDT
Reply-To: [EMAIL PROTECTED]
On Sun, 02 Apr 2000 20:34:07 GMT, Douret Patrick
<<8c8aru$uf6$[EMAIL PROTECTED]>> shouted forth into the ether:
>I am having trouble about mounting my HP CD Writer 8100 on my
>hdd device on a Mandrake 7.0.
[much snippage]
If you want to use your CD-RW *as a CD-RW* then you will have no luck at
all mounting it via /dev/hdd. You need to have IDE-SCSI emulation set up,
and you need SCSI support, SCSI CD-ROM support, and SCSI Generic Support
either compiled into the kernel or available as modules. If you have IDE
CD-ROM support compiled into the kernel, you will need to pass the option
"hdd=ide-scsi" to the kernel at boot time. When that's all done right,
the command to mount a CD in the CD-RW drive is
# mount -t iso9660 /dev/scd0 /mnt/cdrw -o ro
Edit the "/mnt/cdrw" bit to match your /mnt hierarchy; make sure the mount
point actually exists.
Read the CD-Writing HOWTO at
http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html for an overview of how
to do things correctly.
Your /etc/fstab looks *weird* to me. Here are the relevant portions of
mine:
/dev/hdd /mnt/cdrom iso9660 ro,noauto,user 0 0
/dev/scd0 /mnt/cdrw iso9660 ro,noauto,user 0 0
The CD-RW here is the master on the secondary IDE interface, but it shows
up on /dev/scd0 because of the SCSI emulation. HTH, bonne chance.
--
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.
------------------------------
** 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
******************************