Results 1 to 2 of 2
hi everybody i do not get IP from DHCP thanks for any help and guide...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-18-2006 #1
- Join Date
- Apr 2006
do not get IP from DHCP
i do not get IP from DHCP
thanks for any help and guide
- 11-18-2006 #2
- Join Date
- Nov 2006
Getting DHCP to work
First, check to make sure your ethernet device is recongised by Linux. To do this run :
You should see eth0 and lo, If you do not see eth0, then you will need to first find out why the device isn't recognised, but that's a subject for another posting.
If you run ifconfig -all and see that you do not have an IP for eth0, you can force the dhcp client to run and attempt to get an address with this command :
This runs the dhcp client daemon which will try to contact a DHCP server and if successful it will try to assign the IP address.
If you have already configured eth0 with a fixed IP, that may need to be undone..
If the dhcpcd is successful, next time you issue ifconfig -all you will see an ip address for eth0, and also /etc/resolv.conf and /etc/dhcpc/dhcpcd-eth0.info