Udhcpc no lease failing

FS#887 — udhcpc: no lease, failing

Supply the following if possible:
— Device problem occurs on x86 J1900
— Software versions of LEDE release, packages, etc. 17.01.91d41b6
— Steps to reproduce

# /etc/init.d/dnsmasq restart
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: no lease, failing

This is the normal DHCP check performed by dnsmasq to see if other servers are active in the segment.

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:

Earlier in the output there is also:

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.

The responsiveness of the Linux service udhcpc (native DHCP relative to /etc/init.d/S40network service which invokes ip up and udhcpc ) differs before and after logging at the prompt.

When invoked via /etc/init.d/rcS (boot sequence), udhcpc does not assign an IP address:

However, once logged in, with the root account, the S40network restart provides an IP address very quickly via udhcpc .

Rate this post
Читайте также:  Vk com вход на мою страницу мобильная

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *