WLAN0 only connects when ETH0 is attached

Hi,

bit of a strange problem, but before i start to mess with the configuration i’d like to ask here fist.

Newly installed SD card (sd-blob-b01.img) and successfully connected the Intel AC8265 to the wireless network. Disabled the GUI at startup using “sudo systemctl set-default multi-user.target”

When booting up the wireless card doesn’t connect. Only when i plug in the wired connection both of the interfaces come up and get an ip address. Disconnect the wired connection then also the wireless card is unreachable.

Anyone know what is going on ?

Thanks !

Hi,

Could you try with sudo nmcli dev wifi connect "wifi-name" password "*****".

Hi,

I’ve tried that, same result. Before that i tried with “nmtui”, again same result.

Seems that wlan0 associates and receives an ip address, but for some strange reason it’s not reachable when eth0 isn’t plugged in. So wlan0 associates and get an ip address (192.168.2.134). Eth0 connects and gets an ip address (192.168.2.141) which also makes wlan0 reachable.

Very strange problem. To demonstrate I’ve recorded a video and posted the relevant part of /var/log/syslog

Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2155] policy: auto-activating connection '@home 1'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2183] device (wlan0): Activation: starting connection '@home 1' (79f07704-eb43-4af9-b3b1-54121c8d9e71)
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2189] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2193] manager: NetworkManager state is now CONNECTING
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2204] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2209] device (wlan0): Activation: (wifi) access point '@home 1' has security, but secrets are required.
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2210] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2290] device (wlan0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2297] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2302] device (wlan0): Activation: (wifi) connection '@home 1' has security, and secrets exist.  No new secrets nee$
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2304] Config: added 'ssid' value '@home'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2304] Config: added 'scan_ssid' value '1'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2305] Config: added 'bgscan' value 'simple:30:-80:86400'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2305] Config: added 'key_mgmt' value 'WPA-PSK'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2306] Config: added 'auth_alg' value 'OPEN'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2306] Config: added 'psk' value '<hidden>'
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: SME: Trying to authenticate with 18:e8:29:3a:87:43 (SSID='@home' freq=5260 MHz)
Sep 21 07:58:42 jetson-nano kernel: [   10.684703] wlan0: authenticate with 18:e8:29:3a:87:43
Sep 21 07:58:42 jetson-nano kernel: [   10.694683] wlan0: send auth to 18:e8:29:3a:87:43 (try 1/3)
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2525] device (wlan0): supplicant interface state: ready -> authenticating
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: Trying to associate with 18:e8:29:3a:87:43 (SSID='@home' freq=5260 MHz)
Sep 21 07:58:42 jetson-nano kernel: [   10.701816] wlan0: authenticated
Sep 21 07:58:42 jetson-nano kernel: [   10.702387] wlan0: associate with 18:e8:29:3a:87:43 (try 1/3)
Sep 21 07:58:42 jetson-nano kernel: [   10.704324] wlan0: RX AssocResp from 18:e8:29:3a:87:43 (capab=0x111 status=0 aid=2)
Sep 21 07:58:42 jetson-nano kernel: [   10.706129] wlan0: associated
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: Associated with 18:e8:29:3a:87:43
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2650] device (wlan0): supplicant interface state: authenticating -> associated
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: WPA: Key negotiation completed with 18:e8:29:3a:87:43 [PTK=CCMP GTK=CCMP]
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: CTRL-EVENT-CONNECTED - Connection to 18:e8:29:3a:87:43 completed [id=0 id_str=]
Sep 21 07:58:42 jetson-nano kernel: [   10.715082] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-44 noise=9999 txrate=6000
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2756] device (wlan0): supplicant interface state: associated -> completed
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2757] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless networ$
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2760] device (wlan0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2829] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.2959] dhcp4 (wlan0): dhclient started with pid 5488
Sep 21 07:58:42 jetson-nano wpa_supplicant[3869]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-44 noise=9999 txrate=866700
Sep 21 07:58:42 jetson-nano kernel: [   10.771436] wlan0: Limiting TX power to 17 (20 - 3) dBm as advertised by 18:e8:29:3a:87:43
Sep 21 07:58:42 jetson-nano snapd[4040]: daemon.go:542: gracefully waiting for running hooks
Sep 21 07:58:42 jetson-nano snapd[4040]: daemon.go:544: done waiting for running hooks
Sep 21 07:58:42 jetson-nano snapd[4040]: daemon stop requested to wait for socket activation
Sep 21 07:58:42 jetson-nano dhclient[5488]: DHCPREQUEST of 192.168.2.134 on wlan0 to 255.255.255.255 port 67 (xid=0x4edeea07)
Sep 21 07:58:42 jetson-nano dhclient[5488]: DHCPACK of 192.168.2.134 from 192.168.2.1
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3906] dhcp4 (wlan0):   address 192.168.2.134
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3907] dhcp4 (wlan0):   plen 24 (255.255.255.0)
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3908] dhcp4 (wlan0):   gateway 192.168.2.1
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3909] dhcp4 (wlan0):   lease time 86400
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3910] dhcp4 (wlan0):   nameserver '192.168.2.1'
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3911] dhcp4 (wlan0): state changed unknown -> bound
Sep 21 07:58:42 jetson-nano avahi-daemon[3982]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.134.
Sep 21 07:58:42 jetson-nano avahi-daemon[3982]: New relevant interface wlan0.IPv4 for mDNS.
Sep 21 07:58:42 jetson-nano avahi-daemon[3982]: Registering new address record for 192.168.2.134 on wlan0.IPv4.
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.3982] device (wlan0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4006] device (wlan0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4013] device (wlan0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4017] manager: NetworkManager state is now CONNECTED_LOCAL
Sep 21 07:58:42 jetson-nano dhclient[5488]: bound to 192.168.2.134 -- renewal in 42886 seconds.
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4129] manager: NetworkManager state is now CONNECTED_SITE
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4133] policy: set '@home 1' (wlan0) as default for IPv4 routing and DNS
Sep 21 07:58:42 jetson-nano NetworkManager[3864]: <info>  [1600667922.4145] device (wlan0): Activation: successful, device activated.
Sep 21 07:58:42 jetson-nano nm-dispatcher: req:2 'up' [wlan0]: new request (1 scripts)
Sep 21 07:58:42 jetson-nano systemd[1]: Starting resolvconf-pull-resolved.service...
Sep 21 07:58:42 jetson-nano nm-dispatcher: req:2 'up' [wlan0]: start running ordered scripts...
Sep 21 07:58:42 jetson-nano systemd[1]: Started resolvconf-pull-resolved.service.
Sep 21 07:58:42 jetson-nano systemd-resolved[3575]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UD$
Sep 21 07:58:42 jetson-nano systemd[1]: Reloading OpenBSD Secure Shell server.
Sep 21 07:58:42 jetson-nano systemd[1]: Reloaded OpenBSD Secure Shell server.
Sep 21 07:58:43 jetson-nano avahi-daemon[3982]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::1a56:80ff:fe73:2f94.
Sep 21 07:58:43 jetson-nano avahi-daemon[3982]: New relevant interface wlan0.IPv6 for mDNS.
Sep 21 07:58:43 jetson-nano avahi-daemon[3982]: Registering new address record for fe80::1a56:80ff:fe73:2f94 on wlan0.*.
Sep 21 07:58:43 jetson-nano NetworkManager[3864]: <info>  [1600667923.5733] manager: startup complete
Sep 21 07:58:43 jetson-nano NetworkManager[3864]: <info>  [1600667923.6927] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 21 07:58:43 jetson-nano nm-dispatcher: req:3 'connectivity-change': new request (1 scripts)
Sep 21 07:58:43 jetson-nano nm-dispatcher: req:3 'connectivity-change': start running ordered scripts...
Sep 21 07:58:43 jetson-nano whoopsie[4507]: [07:58:43] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 21 07:58:43 jetson-nano whoopsie[4507]: [07:58:43] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 21 07:58:43 jetson-nano whoopsie[4507]: [07:58:43] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 21 07:58:43 jetson-nano whoopsie[4507]: [07:58:43] online
Sep 21 07:59:05 jetson-nano systemd-timesyncd[3590]: Synchronized to time server 213.136.0.252:123 (1.pool.ntp.org).
Sep 21 07:59:31 jetson-nano kernel: [   60.275831] r8168: eth0: link up
Sep 21 07:59:31 jetson-nano kernel: [   60.276355] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4184] device (eth0): carrier: link connected
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4239] device (eth0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'manage$
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4273] policy: auto-activating connection 'Wired connection 1'
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4310] device (eth0): Activation: starting connection 'Wired connection 1' (55a01e00-bc30-3e1b-88ce-9f1951c66a37)
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4319] device (eth0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4330] device (eth0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4340] device (eth0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4347] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
Sep 21 07:59:31 jetson-nano NetworkManager[3864]: <info>  [1600667971.4539] dhcp4 (eth0): dhclient started with pid 5734
Sep 21 07:59:31 jetson-nano dhclient[5734]: DHCPREQUEST of 192.168.2.141 on eth0 to 255.255.255.255 port 67 (xid=0x4f1e3c1d)
Sep 21 07:59:32 jetson-nano avahi-daemon[3982]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::204:4bff:fee6:f5bd.
Sep 21 07:59:32 jetson-nano avahi-daemon[3982]: New relevant interface eth0.IPv6 for mDNS.
Sep 21 07:59:32 jetson-nano avahi-daemon[3982]: Registering new address record for fe80::204:4bff:fee6:f5bd on eth0.*.
Sep 21 07:59:34 jetson-nano dhclient[5734]: DHCPREQUEST of 192.168.2.141 on eth0 to 255.255.255.255 port 67 (xid=0x4f1e3c1d)
Sep 21 07:59:34 jetson-nano dhclient[5734]: DHCPACK of 192.168.2.141 from 192.168.2.1
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1803] dhcp4 (eth0):   address 192.168.2.141
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1804] dhcp4 (eth0):   plen 24 (255.255.255.0)
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1805] dhcp4 (eth0):   gateway 192.168.2.1
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1806] dhcp4 (eth0):   lease time 86400
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1806] dhcp4 (eth0):   nameserver '192.168.2.1'
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1807] dhcp4 (eth0): state changed unknown -> bound
Sep 21 07:59:34 jetson-nano avahi-daemon[3982]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.2.141.
Sep 21 07:59:34 jetson-nano avahi-daemon[3982]: New relevant interface eth0.IPv4 for mDNS.
Sep 21 07:59:34 jetson-nano avahi-daemon[3982]: Registering new address record for 192.168.2.141 on eth0.IPv4.
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1845] device (eth0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1870] device (eth0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.1879] device (eth0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Sep 21 07:59:34 jetson-nano dhclient[5734]: bound to 192.168.2.141 -- renewal in 33918 seconds.
Sep 21 07:59:34 jetson-nano NetworkManager[3864]: <info>  [1600667974.2045] device (eth0): Activation: successful, device activated.
Sep 21 07:59:34 jetson-nano dbus-daemon[3761]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested$
Sep 21 07:59:34 jetson-nano systemd[1]: Starting resolvconf-pull-resolved.service...
Sep 21 07:59:34 jetson-nano systemd[1]: Starting Network Manager Script Dispatcher Service...
Sep 21 07:59:34 jetson-nano dbus-daemon[3761]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Sep 21 07:59:34 jetson-nano systemd[1]: Started Network Manager Script Dispatcher Service.
Sep 21 07:59:34 jetson-nano systemd[1]: Started resolvconf-pull-resolved.service.
Sep 21 07:59:34 jetson-nano nm-dispatcher: req:1 'up' [eth0]: new request (1 scripts)
Sep 21 07:59:34 jetson-nano nm-dispatcher: req:1 'up' [eth0]: start running ordered scripts...
Sep 21 07:59:34 jetson-nano systemd-resolved[3575]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UD$
Sep 21 07:59:34 jetson-nano systemd-resolved[3575]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UD$
Sep 21 07:59:34 jetson-nano systemd[1]: Reloading OpenBSD Secure Shell server.
Sep 21 07:59:34 jetson-nano systemd[1]: Reloaded OpenBSD Secure Shell server.
Sep 21 07:59:34 jetson-nano systemd-resolved[3575]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UD$
Sep 21 07:59:34 jetson-nano systemd-resolved[3575]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UD$
Sep 21 07:59:34 jetson-nano systemd[1]: Reloading OpenBSD Secure Shell server.
Sep 21 07:59:34 jetson-nano systemd[1]: Reloaded OpenBSD Secure Shell server.
Sep 21 07:59:35 jetson-nano NetworkManager[3864]: <info>  [1600667975.1355] policy: set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS
Sep 21 07:59:48 jetson-nano systemd[1]: Created slice User Slice of wvthoog.
Sep 21 07:59:48 jetson-nano systemd[1]: Starting User Manager for UID 1000...
Sep 21 07:59:48 jetson-nano systemd[1]: Started Session 1 of user wvthoog.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on GnuPG cryptographic agent and passphrase cache.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Sep 21 07:59:48 jetson-nano systemd[6056]: Reached target Timers.
Sep 21 07:59:48 jetson-nano systemd[6056]: Started Pending report trigger for Ubuntu Report.
Sep 21 07:59:48 jetson-nano systemd[6056]: Reached target Paths.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on REST API socket for snapd user session agent.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on GnuPG network certificate management daemon.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Sep 21 07:59:48 jetson-nano systemd[6056]: Starting D-Bus User Message Bus Socket.
Sep 21 07:59:48 jetson-nano systemd[6056]: Listening on D-Bus User Message Bus Socket.
Sep 21 07:59:48 jetson-nano systemd[6056]: Reached target Sockets.
Sep 21 07:59:48 jetson-nano systemd[6056]: Reached target Basic System.
Sep 21 07:59:48 jetson-nano systemd[6056]: Reached target Default.
Sep 21 07:59:48 jetson-nano systemd[6056]: Startup finished in 156ms.
Sep 21 07:59:48 jetson-nano systemd[1]: Started User Manager for UID 1000.

@wvthoog

Sorry to response late.
I tired to reproduce the issue, but I always able to keep the connection.

step1 : sudo systemctl set-default multi-user.target
step2: reboot
step3: ifconfig, wlan0 is connected.
step4: plugin and unplugin the ethernet, wlan0 is keep connected.

Going to reflash the image. Very strange problem,. Reflashing should do the trick. Will let you know.