udhcpc: no lease, failing

331 views
Skip to first unread message

Anuj Malviya

unread,
Jun 14, 2018, 12:10:20 AM6/14/18
to BeagleBoard
Hello Friends
I am getting this problem with Buildroot.

Starting network: udhcpc: started, v1.27.2
[    2.928374] net eth0: initializing cpsw version 1.12 (0)
[    2.933951] net eth0: initialized cpsw ale version 1.4
[    2.939382] net eth0: ALE Table size 1024
[    2.945195] libphy: PHY 4a101000.mdio:00 not found
[    2.950239] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
[    2.957426] libphy: PHY 4a101000.mdio:01 not found
[    2.962456] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
[    2.980308] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
Failed to bring up eth0.
FAIL
Starting dhcpcd...
no interfaces have a carrier
forked to background, child pid 149
Starting Network Interface Plugging Daemon: eth0.
Starting ntpd: OK
Starting dropbear sshd: [   12.722674] random: dropbear: uninitialized urandom read (32 bytes read, 29 bits of entropy available)
OK
Starting vsftpd: OK

Welcome to Buildroot
buildroot login: root
Password:
# ifconfig
eth0      Link encap:Ethernet  HWaddr E8:EB:11:28:E6:73 
          UP BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:174

The IP does not get assigned and I have power reboot my system couple of times to get the IP assignment.
I am using 4.4.41 kernel version and glibc.
I read in earlier posts that this problem occurs with is uclibc, not sure of the solution , any pointers will be of great help.
Br
Anuj

Robert Nelson

unread,
Jun 14, 2018, 12:19:38 AM6/14/18
to Beagle Board, anuj.m...@gmail.com


On Wed, Jun 13, 2018, 11:10 PM Anuj Malviya <anuj.m...@gmail.com> wrote:
Hello Friends
I am getting this problem with Buildroot.

Starting network: udhcpc: started, v1.27.2
[    2.928374] net eth0: initializing cpsw version 1.12 (0)
[    2.933951] net eth0: initialized cpsw ale version 1.4
[    2.939382] net eth0: ALE Table size 1024
[    2.945195] libphy: PHY 4a101000.mdio:00 not found
[    2.950239] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
[    2.957426] libphy: PHY 4a101000.mdio:01 not found
[    2.962456] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19

Reply all
Reply to author
Forward
0 new messages