LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2013, 01:24 AM   #1
randy78
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
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
 
Old 03-16-2013, 01:47 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,429

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
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.
 
Old 03-17-2013, 06:31 PM   #3
randy78
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-17-2013, 07:29 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,429

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
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'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Unable to Obtain IP Address spsmith78 Linux - Wireless Networking 3 12-25-2009 08:27 AM
How to obtain another IP address from DHCP server ICO Linux - Networking 4 05-10-2006 02:03 PM
wireless card cannot obtain IP address from DHCP server kswitch Linux - Wireless Networking 6 11-06-2005 12:36 PM
unable to obtain socket and address of client David@330 Linux - Newbie 5 06-01-2005 10:23 AM
unable to obtain ip address from dhcp server (Fedora Core 1) zero79 Linux - Hardware 5 11-15-2003 02:42 PM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration