Help: dchp and ethernet

Joe Villari yellowdog-general@lists.terrasoftsolutions.com
Mon May 24 18:26:01 2004


Longman, Bill wrote:
>>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
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
> 

thanks

I actually got it working by putting the hotel's dhcp client address in 
the IPADDR= spot

and all is working now

joe