Wind River Support Network

HomeDefectsLIN8-4329
Fixed

LIN8-4329 : System doesn't get dhcp IP address

Created: Jul 29, 2016    Updated: Dec 3, 2018
Resolved Date: Aug 7, 2016
Found In Version: 8.0.0.7
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: unknown

Description

On Arm Beaglebone and Intel x86-64 Baytrail, when system boots up, there is no dhcp IP address assigned.

dhclient.service doesn't exist. 
systemd-networkd.service is in failed state (it's active for about 1min before goes into failed state)

On Beaglebone (at least), this will cause the system reboot most of the time.

Workaround

Specify "ip=dhcp" in kernel commandline will get a IP for the target.

Steps to Reproduce

- build and deploy an image on Beaglebone or Baytrail
- boot the system
- ifconfig no IP assigned.
root@WR-LX-813E:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9082 (8.8 KiB)  TX bytes:9082 (8.8 KiB)

- systemctl status -l systemd-networkd, the service is dead
root@WR-LX-813E:~# systemctl status -l systemd-networkd
??? systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Fri 2016-07-29 20:11:39 UTC; 9s ago
     Docs: man:systemd-networkd.service(8)
  Process: 1557 ExecStart=/lib/systemd/systemd-networkd (code=exited, status=0/SUCCESS)
 Main PID: 1557 (code=exited, status=0/SUCCESS)
   Status: "Shutting down..."

Jul 29 20:11:08 WR-LX-813E systemd[1]: Starting Network Service...
Jul 29 20:11:09 WR-LX-813E systemd-networkd[1557]: Enumeration completed
Jul 29 20:11:09 WR-LX-813E systemd[1]: Started Network Service.

- networkctl list (result from Beaglebone)
root@WR-LX-813E:~# networkctl list
IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           carrier     unmanaged 
  2 eth0             ether              off         unmanaged 
  3 sit0             sit                off         unmanaged 

3 links listed.

Other Downloads


Live chat
Online