Help: dchp and ethernet

Longman, Bill yellowdog-general@lists.terrasoftsolutions.com
Mon May 24 18:19:01 2004


> I'm trying to configure my on board ethernet to work with 
> this hotel's 
> dhcp. here is my ifcfg-eth0 file:
> 
> NAME=
> DEVICE=eth0
> IPADDR=
> BOOTPROTO=dhcp
> ONBOOT=yes
> NETMASK=
> GATEWAY=
> DNS=xx.xxx.xxx.xx (the dhcp client address provided from the hotel)
> 
> I then run:
> /etc/rc.d/init.d/network stop
> /etc/rc.d/init.d/network start

I can think of two things you might want to try, Joe.

1 - Take the unspecified lines out of your file (or comment them out).
2 - Try it by hand.

2a - network start
2b - ifdown eth0
2c - dhclient [-d] eth0  #use -d to kill it with Ctrl-C