Results 1 to 2 of 2
hi everybody
i do not get IP from DHCP
thanks for any help and guide...
- 11-18-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 20
do not get IP from DHCP
hi everybody
i do not get IP from DHCP
thanks for any help and guide
- 11-18-2006 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
Getting DHCP to work
First, check to make sure your ethernet device is recongised by Linux. To do this run :
ifconfig -all
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 :
dhcpcd eth0
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


Reply With Quote