[H-GEN] Problems with Linux boot

Craig Eldershaw ce at comlab.ox.ac.uk
Tue Jul 28 03:33:36 EDT 1998


Hi Dave,

>
>eth0      Link encap:10Mbps Ethernet  HWaddr 08:00:00:23:39:06
>          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        2 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo

Hmmm...looks OK.  Of course you realise you are using a reserved subnet
(ie. not a real one to be directly connected to the outside world) and 
that you have no default route (ie. no way of directly or indirectly
getting to the outside world).  Neither of these is a problem as such
(although the lack of a default route probably means you don't have a
DNS which probably explains your amd problems).  If it was complaining
during bootup then it's probably a line in your network init scripts 
which is wrong (thus generating the error message) and being rejected
(thus not generating wrong tables).

Find the appropriate script on your system (exact location various with
type [debian/redhat/etc]) and see if all the lines make sense.  For
that matter, you can probably test them by manually running each of the
"route ..." and "ifconfig ..." lines manually (in order !) to see which
one generated the appropriate whinge.  Do a "ifconfig eth0 down"
first.  If you cant figure it out from this, then edit the file so that
every second line of the relevant section contains an echo.  Eg.

echo "starting"
<original line>
echo "2"
<next orig line>
echo "3"
...

Then reboot.  The error messag will be printed between two numbers,
which identifies which line is the culprit (this is the systems
version of the old saying "print* is the best debugging tool ever
written" :-).

Cheers,
	Craig.





More information about the General mailing list