LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to obtain DHCP address (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-obtain-dhcp-address-4175454276/)

randy78 03-16-2013 12:24 AM

unable to obtain DHCP address
 
loaded slackware 13.37 on my HP DC7900 ultra-slim desktop. has an integrated NIC (Intel 82567). ran netconfig and set machine to DHCP. picks up a 127.0.0.1 address. would appreciate direction as to where I can look to see if NIC is configured correctly. I can ping the system through another box connected to my router.

I appreciate any assistance

allend 03-16-2013 12:47 AM

Quote:

picks up a 127.0.0.1 address
That is the localhost address.
If DHCP has worked, your desktop should have another IP address.
If you run 'sbin/ifconfig' in a terminal you should see something like
Code:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.1.1.2  netmask 255.255.255.0  broadcast 10.1.1.255
        inet6 fe80::219:d1ff:fe2d:7748  prefixlen 64  scopeid 0x20<link>
        ether 00:19:d1:2d:77:48  txqueuelen 1000  (Ethernet)
        RX packets 12870  bytes 5340857 (5.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15629  bytes 1958200 (1.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 21  memory 0xdffe0000-e0000000

eth0 is your NIC
inet 10.1.1.2 is your IP address on the local LAN which should be supplied by DHCP from your router.

randy78 03-17-2013 05:31 PM

thank you for the advise. I ran sbin/ifconfig it does not show config for eth0. the only thing that appears is the config for "lo". could this possibly be a driver issue? Is there a way to see if the NIC is seen by thy system?

thanks again

allend 03-17-2013 06:29 PM

If you run '/sbin/ifconfig -a' your NIC should show even if it is down.
If there is a problem with device recognition, then the NIC should appear in the output of '/sbin/lspci'.

I think that your device is supported by the e1000e kernel module. This should be available in a default Slackware 13.37 install. You can check this with '/sbin/modinfo e1000e'.


All times are GMT -5. The time now is 02:22 AM.