I'm hoping this is a real simple problem that someone can
help me fix. I'm trying to get a linux box onto the net and it isnt
working so hot. At boot up time, the rc comes up with the error:
SIOCADDRT: network unreachable
SIOCADDRT: network unreachable
If i try to telnet, it just hangs for a while, if i take the cable
out and try, it comes up with a bad cable error. Its the MCC p10 installation
with a p12 kernel. This is what rc.inet1 looks like:
HOSTNAME=`hostname`
/usr/etc/ifconfig lo 127.0.0.1
/usr/etc/route add 127.0.0.1
IPADDR="128.123.1.55"
NETMASK="255.255.255.0"
NETWORK="128.123.1.0"
BROADCAST="128.123.1.255"
/usr/etc/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
/usr/etc/route add ${IPADDR}
/usr/etc/route add ${NETWORK}
/usr/etc/route add default gw ${GATEWAY} metric 1
Thats it. Any help would be greatly appreciated. Oh, BTW: its a 486-25
with a wd8003 8-bit card. Heres another question, at bootup, it seems
to autodetect everything that goes into the CONFIG in net/inet in the
kernel source, I defined it all anyway and compiled, but do i really
have to? Thanks,
Jeff