Wind River Support Network

HomeDefectsLIN1021-342
Fixed

LIN1021-342 : [LAT] target image: network service not enabled

Created: May 25, 2021    Updated: Jun 20, 2021
Resolved Date: Jun 20, 2021
Found In Version: 10.21.20.1
Fix Version: 10.21.20.2
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

1) Build LAT
 2) tar -jxvf lat-intel-x86-64.tar.bz2
 3) cd lat-intel-x86-64
 4) ./lat-intel-x86-64/wrlinux-graphics-10.21.19.0-glibc-x86_64-bcm_2xxx_rpi4-container-base-sdk.sh -d sdk_installed
 5) . ./sdk_installed/environment-setup-cortexa72-wrs-linux
 6) appsdk exampleyamls
 7) sed /dropbear/d ./exampleyamls/wrlinux-image-small-intel-x86-64.yaml -i
 8) appsdk genimage -g /tmp/bstest-BYg7Sx/tmp.Z0cxUsw5AS -p dnf -p openssh -t all ./exampleyamls/wrlinux-image-small-intel-x86-64.yaml ./exampleyamls/feature/set_root_password.yaml ./exampleyamls/feature/xfce_desktop.yaml ./exampleyamls/sysdef/add-system-user.yaml ./exampleyamls/sysdef/add-user-home.yaml ./exampleyamls/sysdef/contains-container-base.yaml ./exampleyamls/sysdef/set-dns.yaml ./exampleyamls/sysdef/set-hostname.yaml ./exampleyamls/sysdef/set-ntp.yaml ./exampleyamls/sysdef/update-containers.yaml
 9) boot the target by the ustart image
10) The network service is not enabled

root@intel-x86-64~# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
 inet 127.0.0.1 netmask 255.0.0.0
 inet6 ::1 prefixlen 128 scopeid 0x10<host>
 loop txqueuelen 1000 (Local Loopback)
 RX packets 8 bytes 480 (480.0 B)
 RX errors 0 dropped 0 overruns 0 frame 0
 TX packets 8 bytes 480 (480.0 B)
 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


root@intel-x86-64:~# systemctl status NetworkManager
Unit NetworkManager.service could not be found.


[Kroot@intel-x86-64:~# ps -e | grep lxdm
 458 ? 00:00:00 lxdm-binary
 483 ? 00:00:00 lxdm-greeter-gt


root@intel-x86-64:~# systemctl status dhcpcd
* dhcpcd.service - Dynamic Host Configuration Protocol (DHCP)
 Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled; vendor pr>
 Active: inactive (dead)
[7mlines 1-3/3 (END)

 

Neither NetworkManager.service nor dhcpcd.service is enabled in the image.

Workaround

systemctl start dhcpcd

Steps to Reproduce

1) wget [http://pek-lpgtest7408//buildarea1/SharedImage/LTS21/LTS21_STD_Binary/intel-x86-64/latest/lts-21/intel-x86-64/http://128.224.153.156//buildarea1/SharedImage/LINCD_STD_BINARY/intel-x86-64/latest/WRLinux-CD-Images/intel-x86-64/lat-intel-x86-64.tar.bz2|http://128.224.153.156//buildarea1/SharedImage/LINCD_STD_BINARY/intel-x86-64/latest/WRLinux-CD-Images/intel-x86-64/lat-intel-x86-64.tar.bz2]
 2) tar -jxvf lat-intel-x86-64.tar.bz2
 3) cd lat-intel-x86-64
 4) ./lat-intel-x86-64/wrlinux-graphics-10.21.19.0-glibc-x86_64-bcm_2xxx_rpi4-container-base-sdk.sh -d sdk_installed
 5) . ./sdk_installed/environment-setup-cortexa72-wrs-linux
 6) appsdk exampleyamls
 7) sed /dropbear/d ./exampleyamls/wrlinux-image-small-intel-x86-64.yaml -i
 8) appsdk genimage -g /tmp/bstest-BYg7Sx/tmp.Z0cxUsw5AS -p dnf -p openssh -t all ./exampleyamls/wrlinux-image-small-intel-x86-64.yaml ./exampleyamls/feature/set_root_password.yaml ./exampleyamls/feature/xfce_desktop.yaml ./exampleyamls/sysdef/add-system-user.yaml ./exampleyamls/sysdef/add-user-home.yaml ./exampleyamls/sysdef/contains-container-base.yaml ./exampleyamls/sysdef/set-dns.yaml ./exampleyamls/sysdef/set-hostname.yaml ./exampleyamls/sysdef/set-ntp.yaml ./exampleyamls/sysdef/update-containers.yaml
 9) boot the target by the ustart image
Live chat
Online