LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2014, 03:07 PM   #1
newhorizon101
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Rep: Reputation: Disabled
IP address not assigning


Hi there,

My embedded target boots up and does dhcp. It displays that it received a lease. But when I do ifconfig, it doesnt show the any ip.

Below is the log.

eth0: device MAC address 7e:12:60:51:79:b7
udhcpc (v1.19.3) started
Sending discover...
libphy: fixed-0:00 - Link is Up - 1000/Full
Sending discover...
Sending select for 10.14.27.240...
Lease of 10.14.27.240 obtained, lease time 3495



~ # ifconfig
eth0 Link encap:Ethernet HWaddr 7E:12:60:51:79:B7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7140 (6.9 KiB) TX bytes:2290 (2.2 KiB)
Interrupt:147 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 7e:12:60:51:79:b7 brd ff:ff:ff:ff:ff:ff

Last edited by newhorizon101; 08-22-2014 at 03:08 PM.
 
Old 08-22-2014, 08:07 PM   #2
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Interesting...what do your config files look like?

Also, it's a good idea to let us know what distro and version you are working from.
 
  


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
[SOLVED] I am still having a problem with assigning an IP address.... BMan8577 Linux - Newbie 7 12-19-2011 10:21 AM
Manually assigning ip address using Slackware mpdsal Linux - Newbie 3 10-24-2006 02:26 PM
Assigning IP address stryka Linux - Networking 5 12-09-2005 11:41 AM
assigning memory address to pointer irfanhab Programming 4 04-24-2004 03:35 AM
assigning ip address after install gui10 Linux - Networking 2 03-06-2002 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 AM.

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
Open Source Consulting | Domain Registration