Hi everyone!
I have issue network on Jetson Nano as below:
When kernel booting:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.253-l4t-r32.7+gad2fc41d9ae8 (oe-user@oe-host) (gcc version 12.1.0 (GCC) ) #1 SMP PREEMPT Sun May 15 16:03:342
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
...
INIT: Entering runlevel: 5
Configuring network interfaces... ifup: unknown address type "inet"
Starting syslogd/klogd: done
Poky (Yocto Project Reference Distro) 4.1+snapshot-fdda6460c0821b194fd93baed9d2affbb6d4035b jetson-nano-2gb-devkit /dev/ttyS0
jetson-nano-2gb-devkit login: [ 6.313318] tegra-pcie 1003000.pcie: link 0 down, retrying
[ 6.323607] tegra-pcie 1003000.pcie: link 0 down, ignoring
[ 6.436230] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
...
[ 6.623767] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
[ 6.646361] r8168 0000:01:00.0 (unnamed net_device) (uninitialized): Invalid ethernet address 00:00:00:00:00:00, trying device tree node
[ 6.661502] r8168 0000:01:00.0 (unnamed net_device) (uninitialized): Found valid ethernet address 48:b0:2d:2e:15:23 from device tree
[ 6.676643] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 6.690933] r8168 Copyright (C) 2017 Realtek NIC software team <nicfae@realtek.com>
[ 6.690933] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
[ 6.690933] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
...
root@jetson-nano-2gb-devkit:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wireless interfaces
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
iface atml0 inet dhcp
# Wired or wireless interfaces
auto eth0
iface eth0 inet static
address 192.168.7.194
netmask 255.255.255.0
gateway 192.168.7.1
# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1
# Bluetooth networking
iface bnep0 inet dhcp
root@jetson-nano-2gb-devkit:~# ifconfig -a
dummy0 Link encap:Ethernet HWaddr 1E:64:DF:C3:E6:BE
BROADCAST NOARP 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)
eth0 Link encap:Ethernet HWaddr 48:B0:2D:2E:15:23
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:149 Base address:0x5000
lo Link encap:Local Loopback
LOOPBACK MTU:65536 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:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@jetson-nano-2gb-devkit:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 48:B0:2D:2E:15:23
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:149 Base address:0x5000
root@jetson-nano-2gb-devkit:~#
Any idea how I can fix this?
Thank you and Best regards,
Dong Vo.