On 13 Apr 2004 08:28:31 -0700, sz wrote:
> OK, here's the results of 'ifconfig -eth0' and 'route -n' for my
> latest non-working configuration. I have an SMC barricade router that
> does not support static DHCP (i.e., I can't assign a particular IP
> address to a MAC address with it). I've tried this with DHCP both
> enabled and disabled on the router.
Your route -n shows you have no default gateway. Except for ip addy it
should look something like
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
The UG indicates the gateway (192.168.1.1)
I jumped in this thread without reading the whole thread.
If using mandrake or redhat:
I would set gateway device and verify eth0 is set for dhcp.
Your files will look different but should have the <=== entry=value.
cat /etc/sysconfig/network
HOSTNAME=fw.home.invalid
NETWORKING=yes
GATEWAYDEV=eth0 <======
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp <=======
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=no
DHCP_HOSTNAME="c-24-1-212-248"
I would also set your ISP's DNS servers. Example:
cat /etc/resolv.conf
nameserver 216.148.27.168
nameserver 204.127.502.14
For testing, do a
service network restart
possible errors might be found in /var/log/messages