Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to get an embedded Linux device to use DHCP to get it's IP. I think it is trying, this is from the boot output:

Configuring network interfaces: cat: can't open '/var/run/': No such file or directory
udhcpc (v1.15.3) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing

Earlier in the output there is also:

IP-Config: Guessing netmask
IP-Config: Complete:
     device=eth0, addr=, mask=, gw=,
     host=, domain=, nis-domain=(none),
     bootserver=, rootserver=, rootpath=

Which in not correct, the IP should be in 192.168.3.*.

I can get it to get an IP by running udhcpc and then unplugging and replugging the network cable, but that obviously isn't a solution.

Full Boot Output:

share|improve this question
The unwanted "" IP address is being passed into the kernel on the kernel command line. That text originates from the bootargs environment variable in U-Boot. Perhaps you should revise that variable and remove that item. – sawdust Oct 18 '12 at 19:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.