Linux-Setup Digest #984, Volume #20 Wed, 4 Apr 01 12:13:12 EDT
Contents:
Re: hdb boot ("Andrey Shcherbina")
Re: Help with routing tables ("Jay Hickman")
Re: more info: eth0 initialization fail (Craig Kelley)
Re: wrong major or minor number (Craig Kelley)
Re: KDE doesn't work after XFree upgrade (Craig Kelley)
Re: more info: eth0 initialization fail (Colin)
Re: K7V133A & RH7.0 ("KW")
Boot up scripts ("Allan")
Re: How do you set hostname in linux box that gets ip via DHCP? ("KW")
Re: What distribution should I use to make a compact Linux system < ("Thomas E.
Lenon")
Re: Crackling/Static caused by Ensoniq + Esd? (Mike Moran)
invalid / corrupt partition table.. help! (Neeraj - Khandelwal)
Re: Boot up scripts (H.Bruijn)
----------------------------------------------------------------------------
From: "Andrey Shcherbina" <[EMAIL PROTECTED]>
Subject: Re: hdb boot
Date: Wed, 4 Apr 2001 10:51:31 -0400
I'll try that and get back with the results tomorrow, as it's on my home
machine.
"Eric" <[EMAIL PROTECTED]> wrote in message
news:9af9ld$lgv$[EMAIL PROTECTED]...
> > > And lilo is at hdb3?
> > > could you post `cat /etc/lilo.conf`
> > > and `fdisk -l /dev/hd[ab]`
> > >
> >
> > It's pretty hard to run any commands if Linux can't load :) And I don't
> > think a floppy would help as LILO actually starts but then can't load
> > anything.
>
> It can't find the files required to boot.
> If these would be on the floppy, you'd have no problem.
>
> If you have a floppy, put it in, and boot from that.
> If not, put the CD in again, and at the lilo prompt enter
> "linux root=/dev/hdcXXX" (or "linux rescue root=/dev/hdcXXX")
>
> The XXX should be replaced by the partition number of your root partition.
>
> Eric
>
>
------------------------------
From: "Jay Hickman" <[EMAIL PROTECTED]>
Subject: Re: Help with routing tables
Date: Wed, 04 Apr 2001 10:17:55 +0500
In article <6msy6.1537$[EMAIL PROTECTED]>, "Jon Levesque"
<[EMAIL PROTECTED]> wrote:
> Can someone please help me before I turn my back forever on Linux.
>
> I first installed SuSE 7.1 with two nics and tried to configure it as a
> firewall/router. This is the setup:
>
> 204.83.38.x--->eth1(204.83.38.4)--->linux<---eth0(204.83.38.3)-----T1(204.83
> .38.1)--world
>
> As you can see I'm trying to set this machine up as a stand in between
> two networks on the same subnet, which is supposedly doable from what
> I've heard. Now here's the problem: From the linux machine I can ping
> any ip on the eth1 side and any ip on the world side. From the machines
> connected to eth1 I cannot ping any ip's on the world side. ie: from
> the linux router/firewall I can ping www.yahoo.com no problem. From a
> machine with
> 204.83.38.x I always get a request timed out. Clients are configured
> with
> 204.83.38.4 as their gateway and can ping that no problem. Traceroutes
> from the clients indicate time outs after reaching 24.83.38.4. Without
> getting the routing working I CAN'T even begin to configure the firewall
> -which I have clue how to do either by the way.
>
> My routing table is as follows
>
> 204.83.38.1 * 255.255.255.255 UH eth0
> 204.83.38.0 * 255.255.255.128 U eth1
> default gw.point2.com UG eth0
>
> Now, thinking that it was my SuSe install. I reinstalled using Redhat
> 7.0 and end up with the exact @#$%$'ing problem.
>
> ip_forwarding is enabled I've read the man pages: net-how-to,
> adv-routing-how-to, firewall-howto, ipchains-howto, iptables-howto and
> still am not able to troubleshoot.
>
Jon,
The big problem as I see it from a routing point of view is that both
sides of your router are on the same subnet. Routers can only route
between different (sub)networks. If on the same (sub)network number the
ip protocol will issue an ARP to map the ip address to the MAC address of
the NIC assigned that address. Since ARP uses the Broadcast MAC address
as the destination in the Ethernet frame and the "router" doesn't forward
Data Link level broadcast, the sending machine never gets a reply. What
is happening in your situation is that all machine that have the default
gateway as 204.83.38.4 will send the ip packet to that machine. Since
that interface is in the same subnet as the "next hop" address of
204.83.38.4, that interface ARPs for the MAC address of 204.83.38.1 out
the ETH1 interface and never receives a response so all traffic times out
at that point.
All the above is how IP works... I haven't played with IP-Forwarding on
Linux but do Networks with Ciscos, 3coms(a dying platform) and work with
routing protocols... I would be suprized if IP-Forwarding works any
differently but am willingly to learn if it does.
My suggestion would be renumber your "internal" LAN to one of the
private addressing schemes... if you needed to have servers available to
the outside world on the "internal" LAN then use NAT.
------------------------------
From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: more info: eth0 initialization fail
Date: 04 Apr 2001 09:20:45 -0600
"Marc Ulrich" <[EMAIL PROTECTED]> writes:
> I returned to linux to get the dmesg & see what info I could get. Here it
> is:
> ...
> eepro100.c:v1.09j-t 9/29/99 Donald Becker
> http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
> eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> <[EMAIL PROTECTED]> and others
> eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:D0:B7:E2:C6:CF, IRQ 19.
> Receiver lock-up bug exists -- enabling work-around.
> Board assembly 540775-040, Physical connectors present: RJ45
> Primary interface chip i82555 PHY #1.
> General self-test: passed.
> Serial sub-system self-test: passed.
> Internal registers self-test: passed.
> ROM checksum self-test: passed (0x04f4518b).
> Receiver lock-up workaround activated.
> ...
>
> Perhaps that will shed light on something, but I'm rather clueless about
> this problem.
> eth1, which should be the 3com card, is not detected at all. It is a PCI
> card, so that is bad -- right?
A 3C905b is not even made by Intel, and it isn't an Ethernet Pro 100
at all.
The module you're looking for is 3c59x
--
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: wrong major or minor number
Date: 04 Apr 2001 09:16:57 -0600
"NeMo" <[EMAIL PROTECTED]> writes:
> After I compiled the 2.4.2 Kernel,
> when I tried to mount floppy , zip , other vfat hard-disk
> I optain the message "wrong major or minor number"
> What does it means?
Did you accidentally include devfs support?
--
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: KDE doesn't work after XFree upgrade
Date: 04 Apr 2001 09:19:01 -0600
"kumara Wickramarachchi" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I had my Linux box working well with XFree4.0.2. Then I upgraded it to
> XFree4.0.3 and now KDE which was working doesn't start at all.
> But X server starts when I do ./startx and then white background and couple
> of console windows opened appears but no KDE.
>
> Please help me to configure my KDE
You need a file in your home directory called .xinitrc which has one
line:
exec startkde
--
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Colin <[EMAIL PROTECTED]>
Subject: Re: more info: eth0 initialization fail
Date: 04 Apr 2001 11:38:36 -0400
(You may have done this already but I just don't know)
Have you aliased your card in the /etc/modules.conf or /etc/conf.modules
(whichever file exists):
alias eth0 eepro100
alias eth1 3c59x
Do these network cards use static or dynamic IPs? This
makes a difference on what you have to do.
"Marc Ulrich" <[EMAIL PROTECTED]> writes:
> I returned to linux to get the dmesg & see what info I could get. Here it
> is:
> ...
> eepro100.c:v1.09j-t 9/29/99 Donald Becker
> http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
> eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> <[EMAIL PROTECTED]> and others
> eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:D0:B7:E2:C6:CF, IRQ 19.
> Receiver lock-up bug exists -- enabling work-around.
> Board assembly 540775-040, Physical connectors present: RJ45
> Primary interface chip i82555 PHY #1.
> General self-test: passed.
> Serial sub-system self-test: passed.
> Internal registers self-test: passed.
> ROM checksum self-test: passed (0x04f4518b).
> Receiver lock-up workaround activated.
> ...
>
> Perhaps that will shed light on something, but I'm rather clueless about
> this problem.
> eth1, which should be the 3com card, is not detected at all. It is a PCI
> card, so that is bad -- right?
>
> Marc
>
> > I am using a 3com 3C905c and an intel EtherExpress Pro adapter. When the
> > system boots up, eth0 takes about 5 minutes before it fails and gives me
> the
> > red [FAILED] signal. I've checked and I know that the drivers that I am
> > using are the correct drivers. I also know that both interfaces are good
> > because I am in Win2000 now and sending this email using one of them. I've
> > also tried the other. Any ideas what causes this and what I can do to fix
> > it? I am using kernel 2.4.2, but I also noticed that if I boot up using
> the
> > standard RH7's 2.2.16 kernel, the same thing happens.
> >
> > Thanks,
> > Marc
> >
> >
------------------------------
From: "KW" <[EMAIL PROTECTED]>
Subject: Re: K7V133A & RH7.0
Crossposted-To:
alt.comp.hardware.amd.thunderbird,comp.os.linux.hardware,linux.redhat.install
Date: Wed, 04 Apr 2001 10:45:20 -0500
Jeff...
My KT133A based board loves it...(Abit KT7A). Be sure to leave SMP turned off
though... I had trouble compiling 2.4.2 kernel with it turned on... I
figure since it's basically the same chipset they should get along about
as well...
In article <2Qsy6.118698$[EMAIL PROTECTED]>, "Jeffrey Yu"
<[EMAIL PROTECTED]> wrote:
> Hi, just want to find out if anyone has installed RH7.0 on an ASUS
> K7V133A mboard, and would like to know of your opinion of such a
> combination. Thanks in advance.
>
> Jeff
>
>
------------------------------
From: "Allan" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,linux.redhat
Subject: Boot up scripts
Date: Wed, 04 Apr 2001 15:47:50 GMT
Why do I have to mount my CD & floppy each time I turn on the machine?
Can I just but the mount commands in scripts to be executed on boot?
If so, which one? I am only familiar with /etc/lilo.conf
Is it a health hazzard to mount your CD and floppy through a script on boot?
- Allan.
------------------------------
From: "KW" <[EMAIL PROTECTED]>
Subject: Re: How do you set hostname in linux box that gets ip via DHCP?
Date: Wed, 04 Apr 2001 10:53:27 -0500
Hmmm.... Will the DHCP box let you assign IP's to certain MAC addresses?
If so force you linux box to be reserved as 192.168.0.2 and put this in
your /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.2 chinook.yourdomain.com chinook
You'll want to make up a domain so httpd and other services don't
complain....
otherwise I think
127.0.0.1 localhost.localdomain localhost chinook
will work
the only other way I know to FORCE eth0 ti\o have a domain name is to set
it under linuxconf... It should retain chinook for whatever IP address
eth0 gets... Then again linuxconf has proven buggy on this matter for my
machines....
In article <[EMAIL PROTECTED]>, "Unknown"
<[EMAIL PROTECTED]> wrote:
> I'm still not sure what to do. My machine name is chinook. I have no
> qualified domain. Should I edit the /etc/hosts file to read
>
> 127.0.0.1 localhost.localdomain localhost 192.168.0.1 chinook
> 192.168.0.1
>
> ?????
>
> In my case, chinook is the name of my linux box. It's IP address can be
> anything from 192.168.0.2 to 192.168.0.25 depending on the whim of the
> DHCP server, which is the Maxgate switch, which has an address of
> 192.168.0.1.
>
> Or, earlier, should I just use www.fo.com and foo1.foo.com etc., even
> though they have no bearing on my actual situation??? Again, It would be
> simpler if I had a fully qualified domain name, but I dont. I just have
> a bunch of computers in my home, each of which has a name. (chinook in
> the case of the linux box, but lets just say A, B, C, etc.)
>
> TIA,
> Ed
>
> On Tue, 03 Apr 2001 09:22:16 -0500, "KW"
> <[EMAIL PROTECTED]> wrote:
>
>>Open Linuxconf and goto Client Task, then Basic Host Information...
>>
>>HOST NAME
>>www.foo.com
>>
>>Adaptor 1
>>Primary Name + Domain Name
>>foo1.foo.com
>>
>>adaptor 2
>>foo2.foo.com
>>
>>and so on...
>>
>>OR
>>
>>edit the /etc/hosts file and
>>127.0.0.1 localhost.localdomain localhost 192.168.0.1
>>thisis.my.hostname alias.for.myhost <--- YOUR DHCP server address
>>as the IP...
>>
>>Than maybe sendmail and the rest will hush ;)
>>
>>
>>
>>In article <[EMAIL PROTECTED]>, "Unknown"
>><[EMAIL PROTECTED]> wrote:
>>
>>> I have a linux box on a small network in my house with several other
>>> win2k boxes and a Maxgate 3200 cable sharing gateway. This gateway
>>> connects my ethernet network to the internet through a cable modem and
>>> acts as a DHCP server. If I look at its leased ip address table, it
>>> correctly shows the computers on my network with their DHCP assigned
>>> ip addresses (192.168.0.XXX) and their names. And, the win2k boxes
>>> seem to know both their own names and the names of other win2k boxes
>>> on the network. These machines can be pinged, etc., via their ip
>>> address or their name. The linux box, however, is unknown to the other
>>> computers on the network, except by ip address. And, the win2k boxes
>>> are not known to the linux box, except by ip address. Also, whenever
>>> the linux box starts up, sendmail hangs because it does not think the
>>> hostname is set correctly. Also, whenever I do stuff with linuxconfig,
>>> I get errors relating to httpd and unknown host name, or incorrect
>>> host name. I realize that you are supposed to set the host hame and
>>> its ip address in /etd/hosts, but I don't see how I can do this in s
>>> machine that could have a different ip address each time it boots up,
>>> due to DHCP. Also, I do not have a fully qualified domain name, since
>>> I just have a home network. I do use a workgroup name, but that is
>>> all. So, again, how do you properly handle this situation in Linux,
>>> since all of the documentation and faqs that I can find say to use a
>>> fully qualified name, including the domain name?
>>>
>>> TIA,
>>> Ed
>>>
>>>
------------------------------
From: "Thomas E. Lenon" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: What distribution should I use to make a compact Linux system <
Date: Wed, 04 Apr 2001 15:55:54 GMT
There is a "minimal" version of linux at
http://sunsite.dk/mulinux/
but it will take some effort for a "newbie" to get it working since the
documentation is also "minimal"...
but it fits on a single floppy.
Of Course, if you want it to do anything, it takes a couple more
floppies.
------------------------------
From: Mike Moran <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Crackling/Static caused by Ensoniq + Esd?
Date: Wed, 04 Apr 2001 17:01:50 +0100
I'm forwarding a reply on behalf of Gerry (thanks!) who kindly replied
many months after my first query. I haven't had a chance to try the fix
out yet, but here it is for anyone else.
Gerry OConnor wrote:
>
> >Hi. I've just recompiled my 2.2.17 kernel with support for my
>
> >Creative Ensoniq (ES1371, I think) sound card. When I use
> >freeamp or mpg123 to play the sounds via the esd sound daemon
> I
> >get background crackling and static, not too dissimilar in
> >sound to radio interference. It still occurs when the monitor
>
> >is off so I doubt it is that. Everything seems fine when I log
>
> >out back to gdm and then run mpg123 from the console.
>
> >From a spot of initial listening this morning the interference
>
> >seems to correspond to system activity, as viewed via a panel
>
> >applet. It is not very loud, but is very noticable.
>
> Hi mike, I'm not running linux 2.2.17 but win2k, and am havign
> the same problem.
>
> But after a 10 min call to Creative Tech support... I managed
> to get the answer...
>
> Whatever your PCI Latency is (mine was 0), increase it by 32 or
> decrease it, ie, putting it from 0 to 32, and then rebooting,
> took my crackles away! Really simple eh!
>
> If your PCI latency is 32 (it actually gets multipliesd by 10,
> thereby giving 320ms, or 640ms or 0ms latency), increasing it
> to 64, or lowering it to 0 is also a fix, depending on the origonal
> setting.
>
> Not sure if there was something wrong with my setting, the MB
> manual has it set at 32 for default, but have no idea why it got
> set yo 0.. Cannot remember setting it to 0, but hey, sleepwalking
> has been knows to do wierd and wonderful things!!!
>
> Now, I thought i'd pass this ont you as you were so good to post
> the problem in the first place, i've not gotten news service up
> and running on my win2k box yet so I cannot pist, so if you wouldn't
> mind posting a reply detailing the solution, would be a great
> boon for others who hve this es1371 sound card...
>
> it's not really a bad sound card, cheap, was gonna have to possibly
> go and get a sb live value if things didn't fix themselves..
>
> See ya
>
> --
> Gerry O'Connor
>
> __________________________________________________
> FREE voicemail, email, and fax...all in one place.
> Sign Up Now! http://www.onebox.com
--
[EMAIL PROTECTED]
Web: http://houseofmoran.com/
AvantGo: http://houseofmoran.com/Lite/
------------------------------
From: Neeraj - Khandelwal <[EMAIL PROTECTED]>
Subject: invalid / corrupt partition table.. help!
Date: Wed, 4 Apr 2001 10:39:23 -0500
hi,
I was running windows ME and linux mandrake 7.1 on my system together
for the last 10 days. yesterday when I rebooted my system to go from
windows to linux, the linux would not boot. the grub shell came up and
reported that the partition tables were corrupt or invalid.
I tried upgrading linux from the install CD, but that too reported that
the partition tables were corrupt and it could not proceed without
blanking out the corrupt entries. I then booted windows through the image
restore CD that came with the system which took me into a dos mode
environment. I ran the windows fdisk utility and it could read and display
the partition table info.
thats where I am stuck. I can not run neither linux nor windows normally
on the system. all i am able to do is to use the image restore cd and get
into dos mode. Any ideas what I can do to restore the system? any help
greatly appreciated.
thanks
neeraj.
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To: comp.os.linux.questions,linux.redhat
Subject: Re: Boot up scripts
Date: 4 Apr 2001 16:10:20 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 04 Apr 2001 15:47:50 GMT, Allan allegedly wrote:
>Why do I have to mount my CD & floppy each time I turn on the machine?
Because they are removeable drives, there is no garantee that they will
be present the next time you boot. If they aren't then the boot procedure
would hang at the point, where they would have been mounted.
>Can I just but the mount commands in scripts to be executed on boot?
>If so, which one? I am only familiar with /etc/lilo.conf
To have a drive mounted at boot edit the file /etc/fstab and in the
options of the de cdrom and floppy add the word "auto".
#/etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/scd0 /cdrom iso9660 defaults,ro,auto 0 0
For more info read the manual pages "man fstab" and "man mount".
The best would be to use the options noauto,user instead of auto. That
means that the drive isn't mounted at boot, but any user will be able to
mount the cd, you don't have to be root anymore. A simple "mount /cdrom"
or a "mount /dev/scd0" will mount the drive, and then "umount /cdrom"
will unmount the cd so that you can eject it.
>Is it a health hazzard to mount your CD and floppy through a script on boot?
In most cases, yes.
There is a program that checks every # seconds if there is a cd or
floppy in the drive, and if there is it mounts the thing, but I find that
really annoying.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn website: http://hermanbruijn.com
The Netherlands
------------------------------
** 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
******************************