Linux-Setup Digest #471, Volume #20 Mon, 22 Jan 01 05:13:04 EST
Contents:
How to config MIDI with SBLive! ([EMAIL PROTECTED])
Re: EXT2-fs warning (H.Bruijn)
Re: RH 6.2 Setup on e250 (palowoda)
Kppp problem ("Nick")
Internet Connection Sharing ("Nick")
SuSE 7.0 + SO5.2 + HP820Cse ("Nick")
Re: Unpacking ISO-images without a CD burner (H.Bruijn)
Re: Unpacking ISO-images without a CD burner (Paul Sack)
Re: dns (David)
Re: Gnome-PPP & pppd (%20@%20.com)
Re: Gnome-PPP & pppd (David)
Re: Can't find make ("Peter T. Breuer")
Re: LILO problems ("Peter T. Breuer")
Re: Internet Connection Sharing (Jeff Moore)
Re: Protect yourself! I got hacked by the Ramen worm (ozetechnology)
Re: "unable to mount root fs" seems common prob.... (Eric)
Re: Partition confusion (Eric)
Re: NT boot Loader and LILO (Eric)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: How to config MIDI with SBLive!
Date: Mon, 22 Jan 2001 06:29:10 GMT
I compiled kernel 2.4.0 recently, with support for SBLive soundcard
as a module. I can play sound, but no midi. midi softwares told me that
/dev/sequencer cannot be open.
Could anyone tell me how to config this (my system is redhat 7).
Thank you.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: EXT2-fs warning
Date: 22 Jan 2001 06:38:42 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 21 Jan 2001 21:35:49 -0800, Michael Carl Coon allegedly wrote:
>On boot lilo reports the following message:
>
>EXT2-fs warning: checktime reached, running e2fsck is recommended
>
>but when I ran efsck -c /dev/hda5 no blocks seemed to be bad. What could
>have caused the checktime to be reached? I am attaching the output of
>dmesg for your reference. I don't have any trouble with my system, I just
>don't want my system to become unstable, so any help to resolve this
>problem would be greatly appreciated.
It is customary to simply run e2fsck regularly to make sure the file
system remains intact. Now with modern media the occurrence of bad
sectors is quite rare, most discs just die, they don't fail gracefully,
but still the practice remains to regularly check them, as it is always
good to be thorough.
Since the file system shouldn't be mounted when cheched it is done
as part of the boot process before the discs are mounted. Now when to
check? Everytime? Rather not, since it can be a lengthy process for
larger discs. Ask interactively at boot? No good when doing remote
administration. Keep a counter and run a check every so often is the
chosen solution. The most common choice is to check every #nth time the
filesystem is mounted. Some people use a chosen number of days instead,
especially when the system stays up long, and a maximal mount count
won't be reached in years.
So to make that possible the ext2 filesystem has information of when
it was last checked with e2fsck, how often it has been mounted since, and
more. When the "maximal mount count" has been reached the system
automagically runs e2fsck, just as it is run when the filesystem was not
cleanly unmounted.
You can check the current settings with :
/sbin/tune2fs -l /dev/hda5
and change them (after unmounting the filesystem and reading the man
page as well) with tune2fs as well.
In other words things are just as they should be.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: palowoda <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.solaris
Subject: Re: RH 6.2 Setup on e250
Date: Mon, 22 Jan 2001 06:38:20 GMT
In article <4BIa6.43816$[EMAIL PROTECTED]>,
"eric" <[EMAIL PROTECTED]> wrote:
> Some of the applications I use won't run on Solaris correctly (we have
> tried). Or at least very stable. So, I need the power of a Sun box
but the
> flexibility of the Linux OS (at least until everything is ported).
>
> eric.
You mean the "flexiblity" of a discontinued OS for Sparc by Redhat.
---Bob
--
Bob Palowoda The Solaris x86 Corner http://fishbutt.fiver.net
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Nick" <[EMAIL PROTECTED]>
Subject: Kppp problem
Date: Sun, 21 Jan 2001 22:49:55 -0800
I have kppp configured correctly, both as root and as a normal user. It
works fine under root, but it says "Logging on to Network" and then croaks.
The log file doesn't say anything. Wondering if anyone else had this
problem with SuSE 7.0.
Feel free to email me directly or post to the newsgroup.
Thanks
Nick
------------------------------
From: "Nick" <[EMAIL PROTECTED]>
Subject: Internet Connection Sharing
Date: Sun, 21 Jan 2001 22:51:56 -0800
Does anyone know how to make SuSE 7.0 is internet connection sharing across
a network with dialup ppp? If so I would greatly appreciate knowing how. I
would also have to be able to share through a Samba protocol for windows
machines on my network.
Thanks
Nick
------------------------------
From: "Nick" <[EMAIL PROTECTED]>
Subject: SuSE 7.0 + SO5.2 + HP820Cse
Date: Sun, 21 Jan 2001 22:53:56 -0800
I am trying to get linux to print with StarOffice 5.2 and my HP820Cse
printer. I went through the procedure for installing the printer and
setting it up. I got that info from SuSE's support database.
If anyone can help me out though. I can't print from within SO5.2. I am at
a loss on this one.
Thanks for any help
Nick
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Unpacking ISO-images without a CD burner
Date: 22 Jan 2001 07:06:57 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 22 Jan 2001 05:39:03 GMT, [EMAIL PROTECTED] allegedly wrote:
>I try to download and install Linux on my computer, but I haven't got a CD
>burner.
>The only download methods I can find on the net is iso-images or all the
>individual files from FTP, which would take me days to download.
>So I'm wondering if there's any way to unpack or convert the ISO-images to
>individual files without having to burn a CD.
>Or if anyone know of a site to download SuSE Linux 7 as a ZIP or similar
>archive file.
>All help appreciated, and please no answers like "buy a CD burner".
Simply do a network install. Downloading a 650 MB iso image will take
more time as downloading only the files you need. The problem is getting
it right the first time around ;-) So if downloading isn't the problem, decide
a distribution, go to their "dos-utils" section get the readme,
rawrite.exe and the correct boot disc. Use rawrite to write the boot
disc image to a floppy, use that to boot the system and them do a
network install. Will only work reasonably well if you have a fast
internet connection. In RedHats case:
Mirrors/ftp.redhat.com/redhat/redhat-7.0/i386/en/dosutils/rawrite.exe
Mirrors/ftp.redhat.com/redhat/redhat-7.0/i386/en/images/bootnet.img
Mirrors/ftp.redhat.com/redhat/redhat-7.0/i386/en/images/drivers.img
Mirrors/ftp.redhat.com/redhat/redhat-7.0/i386/en/images/pcmcia.img (if
needed)
Otherwise go to cheapbytes.com (or others) and order a cd. That should
cost not too much, and will allow you to get a cd and save yourself the
agony of downloading 500 MB just to mess things up and having to get it
again.
IMHO The best would be to buy a decent book (search the linux groups for
recommendations) with a cd with redhat, suse, or debian included. That
will give you also some information about what to do once everything is
up and running. Most boxed distributions only contain an installation
manual, so your better of, buying a linux book (with cd) that covers more
then just installation. Most better assorted bookstores now have several
linux books on stock, so have a look there, make sure the cd is recent
(fi redhat 6.0 would be too old to support newer hardware, and has too
many outdated insecure software). Something like learning debian
GNU/linux, the $FLAVOUR linux bible, or $FLAVOUR Unleashed. O'Reilly is
traditionally the most often refered to publisher for opensource
manuals, but I don't know what they would have in stock now.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: [EMAIL PROTECTED] (Paul Sack)
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Unpacking ISO-images without a CD burner
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 Jan 2001 07:00:16 GMT
In article <XHPa6.65677$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>I try to download and install Linux on my computer, but I haven't got a CD
>burner.
>The only download methods I can find on the net is iso-images or all the
>individual files from FTP, which would take me days to download.
>So I'm wondering if there's any way to unpack or convert the ISO-images to
>individual files without having to burn a CD.
>Or if anyone know of a site to download SuSE Linux 7 as a ZIP or similar
>archive file.
>All help appreciated, and please no answers like "buy a CD burner".
>
>Audun
"mount -o loop <cd image> <directory where you want the image>"
HTH.
--
When I said "we", officer, I was referring to myself, the four young
ladies, and, of course, the goat.
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Re: dns
Date: Mon, 22 Jan 2001 07:32:50 GMT
Jeff Moore wrote:
>
> I am trying out my local dns with RH7. When I set my dns to 127.0.0.1 it
> says the default servers are unavailable.
>
> I have done everthing in the dns howto, but I seem to be missing
> something.
>
> Any help would be greatly appreciated.
>
> Jeff Moore
Did you start "named"
/etc/rc.d/init.d/named start # restart or stop
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.015% of seti users. +/- 0.01%
------------------------------
From: %20@%20.com
Subject: Re: Gnome-PPP & pppd
Date: Mon, 22 Jan 2001 03:29:17 -0800
%20@%20.com wrote:
>
> David wrote:
> >
> > %20@%20.com wrote:
> > >
> > > I've setup an ISP entry in Gnome-PPP but when I try to connect it says "pppd
> > > daemon quit enexpectedly." I clicked on help in Gnome-PPP but it says the help
> > > documentation could not be found and may not be installed on my system (I don't
> > > know how to install it either). I read the man page for pppd and also the PPP
> > > HOWTO but I still don't know how to determine the cause and solution to this
> > > problem. I don't know if pppd generates an error log somewhere. Do anyone here
> > > know how I can fix it?
> > >
> > > Thank you.
> >
> > Which distribution are you using?
> > If your running redhat then you need to check to see if these are
> > installed.
> >
> > wvdial
> > ppp
> > rp3
> >
> > rpm -q wvdial
> > # will tell if wvdial is installed and version
> >
> I am using Debian/GNU 2.2. I paraphrased the error message in my original post.
> I corrected it to the exact message. Wvdial sounds familiar, not sure if it's
> there
> and configured, but it might be listed in dselect.
>
> I like your signature (about Confucius) :).
I have wvdial. I executed it and it worked once, but I executed it again and it
(in part) reported the following:
Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
PAP (Password Authentication Protocol) may be flaky.
Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
CHAP (Challenge Handshake) may be flaky.
Starting pppd...
PPP daemon has died! (exit code = 2)
Disconnecting...
pppd error! Look at files in /var/log for an explanation.
It dials the modem and connects but aborts once it has logged in. I set
permissions on pap-secrets and chap-secrets to -rwxrwx--- and tried again,
same results. I looked in recently changed logs in /var/log, but I did not find
any additional error information.
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: Gnome-PPP & pppd
Date: Mon, 22 Jan 2001 08:50:53 GMT
%20@%20.com wrote:
>
> %20@%20.com wrote:
> >
> > David wrote:
> > >
> > > %20@%20.com wrote:
> > > >
> > > > I've setup an ISP entry in Gnome-PPP but when I try to connect it says "pppd
> > > > daemon quit enexpectedly." I clicked on help in Gnome-PPP but it says the help
> > > > documentation could not be found and may not be installed on my system (I don't
> > > > know how to install it either). I read the man page for pppd and also the PPP
> > > > HOWTO but I still don't know how to determine the cause and solution to this
> > > > problem. I don't know if pppd generates an error log somewhere. Do anyone here
> > > > know how I can fix it?
> > > >
> > > > Thank you.
> > >
> > > Which distribution are you using?
> > > If your running redhat then you need to check to see if these are
> > > installed.
> > >
> > > wvdial
> > > ppp
> > > rp3
> > >
> > > rpm -q wvdial
> > > # will tell if wvdial is installed and version
> > >
> > I am using Debian/GNU 2.2. I paraphrased the error message in my original post.
> > I corrected it to the exact message. Wvdial sounds familiar, not sure if it's
> > there
> > and configured, but it might be listed in dselect.
> >
> > I like your signature (about Confucius) :).
>
> I have wvdial. I executed it and it worked once, but I executed it again and it
> (in part) reported the following:
>
> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> PAP (Password Authentication Protocol) may be flaky.
> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
> CHAP (Challenge Handshake) may be flaky.
> Starting pppd...
> PPP daemon has died! (exit code = 2)
> Disconnecting...
> pppd error! Look at files in /var/log for an explanation.
>
> It dials the modem and connects but aborts once it has logged in. I set
> permissions on pap-secrets and chap-secrets to -rwxrwx--- and tried again,
> same results. I looked in recently changed logs in /var/log, but I did not find
> any additional error information.
Well on my 6.2 system the permissions for both pap-secrets and
chap-secrets is 600 and are owned by "root.daemon" but they may be
different for Debian.
man wvdial might help since I am not familiar with Debian.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.015% of seti users. +/- 0.01%
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Can't find make
Date: Mon, 22 Jan 2001 09:05:34 GMT
SilverDragon <[EMAIL PROTECTED]> wrote:
> OK this was probably asked here a lot of times... And before
> someone says RTFM, i already did... I couldn't find anything.
Try again. Not installing make nor the c compiler is a common mistake.
Do not reply until you understand the previous sentence.
> When trying to run make, i get a command not found or a similar
> error (i only installed linux yesterday, don't have the error messages
Write Them Down. We certainly don't have your error messages memorized.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: LILO problems
Date: Mon, 22 Jan 2001 09:05:35 GMT
Steve Martin <[EMAIL PROTECTED]> wrote:
> Check me if I'm wrong, but did you put your new kernel
> into the same directory as your old? This might be a
> big problem; each kernel needs a System.map file to
> be in the same directory as the kernel file. If you
Please stop spreading this misinformation. The System.map file
is not needed for anything except debugging kernels (it's a longer
version of /proc/ksyms). Since you don't know what it is for
you certainly don't need it. Throw it away.
Peter
------------------------------
From: Jeff Moore <[EMAIL PROTECTED]>
Subject: Re: Internet Connection Sharing
Date: Mon, 22 Jan 2001 03:16:21 +0000
Reply-To: [EMAIL PROTECTED]
Go to www.linuxdoc.org and read IP-Masquerade Howto. I just got mine working.
Then read DNS howto and setup caching dns, its great for dialup, cable, adsl.
You should probably read the PPP howto first to automate your pppd.
Jeff Moore
Nick wrote:
> Does anyone know how to make SuSE 7.0 is internet connection sharing across
> a network with dialup ppp? If so I would greatly appreciate knowing how. I
> would also have to be able to share through a Samba protocol for windows
> machines on my network.
>
> Thanks
> Nick
------------------------------
From: ozetechnology <[EMAIL PROTECTED]>
Subject: Re: Protect yourself! I got hacked by the Ramen worm
Date: Mon, 22 Jan 2001 09:41:23 GMT
Installing the RH updates may help save you, but in my case before the RH6.2
system was fully built (no updates, no data, no firewall etc) I was hacked,
this "Person" installed a cron job on my system, created a new user account
etc. But left behind was his .bash_history file and all the system logs,
oops!
Cleaned this junk, installed my firewall, blocked all contact from the ISP
this "person" was using, sent complaints to both ISP's with the source IP and
full analysis of the what was done etc.
Now with a new IP address, firewall running, automatic log checks etc.
There are more updates that the ones you list, its a good idea to install all
that are relivent to your setup.
for RH6.2
http://www.redhat.com/support/errata/rh62-errata-security.html
for RH7 (you need these updates real bad, not just the security ones)
http://www.redhat.com/support/docs/howto/rhl7.html
In article <[EMAIL PROTECTED]>,
E J <[EMAIL PROTECTED]> wrote:
> Install the nfs, wu for RH6.2 and LPR for RH7.0 Now.
>
> Commands to update and effectively close these
> vulnerabilities on Redhat Linux 6.2 server:
> rpm -Uvh
> ftp://updates.redhat.com/6.2/i386/nfs-utils-0.1.9.1-1.i386.rpm
> rpm -Uvh
> ftp://updates.redhat.com/6.2/i386/wu-ftpd-2.6.0-14.6x.i386.rpm
>
> Commands to update and effectively close these
> vulnerabilities on Redhat Linux 7.0 server:
> rpm -Uvh
> ftp://updates.redhat.com/7.0/i386/LPRng-3.6.24-2.i386.rpm
>
> I did not do any installation of updates on RH7.0 because it was freshly
> installed.
> I got hacked this morning. I was wondering why my hard disk was
> whirling.
> I ran 'top' and found 'find' was running.
> I turn netscape to 'http://localhost' and sure enough I was hacked by
> the Ramen worm.
> My printer does not print anymore because they exploited lpr.
> I check my security logs and found the offending computer who launched
> the attack.
> When I turned my netscape to "http://xxx.yyy.zzz.www" and looked at
> their website, it
> came with the Ramen worm webpage.
> I sent an email to CERT notifying about the hack on my computer.
> To repair the damage, I went to
> http://www.whitehats.com/library/worms/ramen/ and followed their
> instruction.
> It wiped out all of my index.html with the Ramen worm webpage.
> I had to do an upgrade of all the RH7.0 packages I installed. (2 hours
> of work)
> I had to get all personal index.html from my quite recent backup.
> I wrote to www.digitaldesk.com because they said it was a beneficial
> worm in their news story.
> What a shitty story!!!
> The Ramen work causes too much damage to my computer.
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: "unable to mount root fs" seems common prob....
Date: Mon, 22 Jan 2001 10:58:55 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I am a total newbie to linux.
>
> Installed Mandrake Linux 7.2 for windows (from CD) - setting up a dual
> boot machine.
>
> Install seemed to go well. On reboot to start linux for the first time,
> i got the "kernel panic:vfs:Unable to mount root fs on 07:07" death
> message.
>
I can't tell what you did wrong (perhaps just bad LILO options?)
but 07:07 is NOT a HDD partition.
You can force a boot by supplying the correct parameters.
At the lilo prompt:
linux root=/dev/hdXXXX
where /dev/hdXXXX should be the partition where your root FS resides.
After you booted, check /etc/lilo.conf first.
Pay special attention to the root= option.
If there's nothing wrong there, maybe you need rdev??
try `man rdev`
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Partition confusion
Date: Mon, 22 Jan 2001 11:04:24 +0100
Reply-To: [EMAIL PROTECTED]
NG_lurker wrote:
>
> Hi! Im a bit confused about partitioning in Linux. I have a 20 gig HD
> partitioned to 4(c/d/e/f). Win98 is in c. I intend to install Win2000 in d
> for dual booting. I reserve free space of 5 gigs for RH7. Fips is saying of
> with making new primary partition while Partition Magic and other disk
> readme's tell you only 1 primary partition can be active at any time and
> having 2 primary partitions visible can cause data loss. Im stuck in this
> partition explanation and need help. Shall i use fips or disk druid to
> partition my free space?
I am not sure I understand your question entirely.
Mainly because I can't do much with c/d/e/f
Show your current partitiontable, and then perhaps I can help you.
(linux' `fdisk -l /dev/hda` listing would be great)
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: NT boot Loader and LILO
Date: Mon, 22 Jan 2001 11:09:22 +0100
Reply-To: [EMAIL PROTECTED]
T.K. Kim wrote:
>
> I am getting a Kernel panic trying to boot into linux via NT boot loader in
> a system with multi-OS.
> Here is my system:
>
> Pri. Master---> Win98 [hda1]
>
> Sec. Master--->(0-20GB) Win2k [hdc1]
> (20-30GB) Mandrake 7.2 [hdc5(root partition)]
>
> I followed the steps in Linux+NT-Loader howto:
>
> - setup lilo: /boot=hdc5, root=hdc5, and kernel image= /boot/vmlinuz, lba32,
> and so on
> - created bootsect.lnx by 'dd -if=/dev/hdc5 of=/bootsect.lnx bs=512 count=1'
> and cp it to hda1
> - added 'c:\bootsect.lnx="linux"' to boot.ini file in hda1
>
> Now reboot, choose linux from the NT OS loader and lilo menu comes up and
> goes on a bit and then comes the kernel panic as follows:
>
> Partition check: hda:hda1 hda2 <hda5>
> hdc:[PTBL][1027/255/63] hdc1 hdc2 <hdc5 hdc6 hdc7
> hdc8>
> autodetecting RAID arays
> autorun...
> ...autorun done
> Invalid session number of type of track
> Kernel Panic: VFS:Unable to mount root fs on 16:05
>
> Obvisouly, it fails to mount VFS but what does this mean in a whole scheme
> of things, what's causing this, and most importantly how do I fix this?
>
Nope. It fails to mount the root FS.
Because you gave wrong options I suppose
When you get to LILO, try "linux root=/dev/hdc5"
And it will boot.
Now correct the problem (I suppose in lilo.conf, but I can't be sure)
Eric
------------------------------
** 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 by posting to comp.os.linux.setup.
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-Setup Digest
******************************