Hi.
For some reason, I had to assign a static IP to my Jetson device so that other devices could always find it at the same IP. As the devices were to be connected via Ethernet, I created a new file eth0
in /etc/network/interfaces.d/eth0
and populated it as:
auto eth0
iface eth0 inet static
address 10.0.0.1
netmask 255.0.0.0
gateway 192.168.1.254
This worked as intended but wouldn’t let me connect to the internet so whenever I needed to, I’d rather used WLAN.
But now as I have switched to a different WiFi device, I asked Jetson to connect to this new WiFi using nmcli
(and the network’s SSID & password). Now, Jetson won’t connect to the internet.
The static IP I chose for the eth0
was 10.0.0.1
and the WiFI dongle assigns 192.168.1.100/105
to Jetson. I confirm this using ifconfig
#....
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.0.0.1 netmask 255.0.0.0 broadcast 10.255.255.255
ether 00:04:4b:cb:ab:ad 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 40
#...
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::8ac:88e5:38a5:746d prefixlen 64 scopeid 0x20<link>
ether 0c:54:15:b6:63:9f txqueuelen 1000 (Ethernet)
RX packets 722290 bytes 226415836 (226.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7651 bytes 1978671 (1.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
When I try to ping google.com
, I get
jetson@jetson-desktop:~$ ping google.com
PING google.com (142.250.182.142) 56(84) bytes of data.
From jetson-desktop (10.0.0.1) icmp_seq=1 Destination Host Unreachable
^C
--- google.com ping statistics ---
6 packets transmitted, 0 received, +1 errors, 100% packet loss, time 5088ms
pipe 4
I noticed that it tries to use the static IP. How can I connect to the internet ?
Also checked dmesg
and found
Intel(R) Wireless WiFi driver for Linux
[ 6.986955] Copyright(c) 2003- 2015 Intel Corporation
[ 6.987264] iwlwifi 0003:01:00.0: enabling device (0000 -> 0002)
[ 6.991026] iwlwifi 0003:01:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
[ 6.991216] iwlwifi 0003:01:00.0: Falling back to user helper
[ 7.174902] random: crng init done
[ 7.174992] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.413344] EXT4-fs (nvme0n1p1): recovery complete