I can ssh into the dev board, but I am not sure how to enable the wired ethernet ports so I can download update software.
How do you enable the wired ethernet ports and enable DHCP?
Dynamic IP address assignment:
$ udhcpc -i <port name in Linux>
Static IP address assignment:
$ ifconfig <port name in Linux> <IP address> netmask <netmask address> up
The package udhcpc is not installed on the board by default, so that did not work.
I tried the ifconfig command (as both root and user) but the interface will not start up.
I am currently in the process of copying the *.deb files needed to install udhcpc to try that.
Honestly, it should not be this hard to put this board onto a LAN.
I was able to execute your suggested command, but it did not make a difference.
I want to install the tiger VNC client using
sudo apt-get install tigervnc-standalone-server
I have the board connected to the internet through the wired ethernet port 1. The command you suggested still does not allow me to connect to the internet and the apt-get command fails to connect.
What commands do I need to enable this setup?
Please check whether you need to configure proxy for your company
for example, we need to configure the following on our board farm boards.
export http_proxy="http://wbi\nxf42681:Welcome%402017@apac.nics.nxp.com:8080"
export ftp_proxy="http://wbi\nxf42681:Welcome%402017@apac.nics.nxp.com:8080"
export https_proxy="http://wbi\nxf42681:Welcome%402017@apac.nics.nxp.com:8080"
Please refer to the following to enable the Ethernet port on LS1046AFRWY.
root@ls1046afrwy:~# ifconfig -a
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:60:b2:73:98 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth4: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:15:17:8e:93:1c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 82 memory 0x5040000000-5040020000
fm1-mac1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:e0:0c:01:0b:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x1ae0000-1ae0fff
fm1-mac5: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:e0:0c:01:0b:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x1ae8000-1ae8fff
fm1-mac6: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:e0:0c:01:0b:02 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x1aea000-1aeafff
fm1-mac10: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:e0:0c:01:0b:03 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x1af2000-1af2fff
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 1240 bytes 165128 (161.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1240 bytes 165128 (161.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
unspec 00-00-00-00-30-30-3A-30-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:3f:fa:b3 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:3f:fa:b3 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@ls1046afrwy:~# ifconfig fm1-mac1 100.1.1.101
root@ls1046afrwy:~# ping 100.1.1.1