[SOLVED] NetworkManager disconnects from IPv6 only network

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] NetworkManager disconnects from IPv6 only network

Postby mb200d » 2020-03-24 19:33

Hi all,
First post here, using Debian for a few years (5-10?) now. Desktop and several headless systems (vm-host, zoneminder, mqtt, router).
This might not be an 'beginners question'.

I am playing around with IPv6 for a while now. (using HE-tunnel, my ISP is not IPv6 ready :? )
A dual stack setup is working fine, but having some trouble accessing Netflix and Cloudflare protected sites.
For me this is not a problem, just ignore those sites. But others at home do complain :)

I disabled the dual stack setup en created a new vlan and setup a new wifi-ssid connected to this vlan.
- Mobile phone Nokia 3.1 / Android One (Android 9) works fine (not expected this :!: )
- Windows 10 notebook from work, works fine also. (wifi)
- Debian Bullseye/Sid notebook fails.

Problem:
It seems to connect, gets an IPv6 address, times out and disconnects.
It complains about dhcp4-timeout (correct, as this is no ipv4 network), also complains about dhcp6-timeout (correct, configured radvd for autoconfiguration, not dhcpv6).

Below some logging and configuration.

When anybody has some ideas on it, i'd like to hear about this.

Thanks,
Robin


Code: Select all
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9210] device (wlo1): disconnecting for new activation request.
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9211] device (wlo1): state change: activated -> deactivating (reason 'new-activation', sys-iface-state: 'managed')
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9223] manager: NetworkManager state is now CONNECTED_LOCAL
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9227] audit: op="connection-activate" uuid="df85d573-9eb4-411e-a52c-21cff18967a4" name="UBNT7-IPV6" pid=1681 uid=1000 result="success"
mrt 24 21:05:30 deb-zbook systemd[1]: Starting Network Manager Script Dispatcher Service...
mrt 24 21:05:30 deb-zbook systemd[1]: Started Network Manager Script Dispatcher Service.
mrt 24 21:05:30 deb-zbook kernel: wlo1: deauthenticating from 80:2a:a8:4b:93:80 by local choice (Reason: 3=DEAUTH_LEAVING)
mrt 24 21:05:30 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-DISCONNECTED bssid=80:2a:a8:4b:93:80 reason=3 locally_generated=1
mrt 24 21:05:30 deb-zbook wpa_supplicant[736]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <warn>  [1585080330.9602] sup-iface[0x55e097949920,wlo1]: connection disconnected (reason -3)
mrt 24 21:05:30 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9604] device (wlo1): supplicant interface state: completed -> disconnected
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9610] device (wlo1): state change: deactivating -> disconnected (reason 'new-activation', sys-iface-state: 'managed')
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Withdrawing address record for fe80::32fa:ffb:6b88:9498 on wlo1.
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::32fa:ffb:6b88:9498.
mrt 24 21:05:30 deb-zbook gnome-shell[1132]: An active wireless connection, in infrastructure mode, involves no access point?
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Interface wlo1.IPv6 no longer relevant for mDNS.
mrt 24 21:05:30 deb-zbook gnome-shell[1681]: An active wireless connection, in infrastructure mode, involves no access point?
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9972] dhcp4 (wlo1): canceled DHCP transaction
mrt 24 21:05:30 deb-zbook NetworkManager[717]: <info>  [1585080330.9972] dhcp4 (wlo1): state changed bound -> done
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Withdrawing address record for 192.168.7.196 on wlo1.
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.7.196.
mrt 24 21:05:30 deb-zbook avahi-daemon[710]: Interface wlo1.IPv4 no longer relevant for mDNS.
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.0139] device (wlo1): set-hw-addr: set MAC address to 8E:3E:6D:16:DD:D7 (scanning)
mrt 24 21:05:31 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:05:31 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:05:31 deb-zbook dnsmasq[1015]: no servers found in /etc/resolv.conf, will retry
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.4236] device (wlo1): Activation: starting connection 'UBNT7-IPV6' (df85d573-9eb4-411e-a52c-21cff18967a4)
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.4308] device (wlo1): supplicant interface state: disconnected -> disabled
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.4315] device (wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.4319] manager: NetworkManager state is now CONNECTING
mrt 24 21:05:31 deb-zbook gsd-sharing[1793]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.
mrt 24 21:05:31 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-100
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.4463] device (wlo1): set-hw-addr: reset MAC address to 80:00:0B:36:B0:C8 (preserve)
mrt 24 21:05:31 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:05:31 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8488] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8496] device (wlo1): Activation: (wifi) access point 'UBNT7-IPV6' has security, but secrets are required.
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8496] device (wlo1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8547] device (wlo1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8553] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8557] device (wlo1): Activation: (wifi) connection 'UBNT7-IPV6' has security, and secrets exist.  No new secrets needed.
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8558] Config: added 'ssid' value 'UBNT7-IPV6'
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8558] Config: added 'scan_ssid' value '1'
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8558] Config: added 'bgscan' value 'simple:30:-70:86400'
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8558] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8558] Config: added 'psk' value '<hidden>'
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8819] device (wlo1): supplicant interface state: disabled -> disconnected
mrt 24 21:05:31 deb-zbook NetworkManager[717]: <info>  [1585080331.8942] device (wlo1): supplicant interface state: disconnected -> scanning
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: SME: Trying to authenticate with 92:2a:a8:4b:93:80 (SSID='UBNT7-IPV6' freq=5180 MHz)
mrt 24 21:05:35 deb-zbook kernel: wlo1: authenticate with 92:2a:a8:4b:93:80
mrt 24 21:05:35 deb-zbook kernel: wlo1: send auth to 92:2a:a8:4b:93:80 (try 1/3)
mrt 24 21:05:35 deb-zbook NetworkManager[717]: <info>  [1585080335.0430] device (wlo1): supplicant interface state: scanning -> authenticating
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: Trying to associate with 92:2a:a8:4b:93:80 (SSID='UBNT7-IPV6' freq=5180 MHz)
mrt 24 21:05:35 deb-zbook kernel: wlo1: authenticated
mrt 24 21:05:35 deb-zbook kernel: wlo1: waiting for beacon from 92:2a:a8:4b:93:80
mrt 24 21:05:35 deb-zbook NetworkManager[717]: <info>  [1585080335.0506] device (wlo1): supplicant interface state: authenticating -> associating
mrt 24 21:05:35 deb-zbook kernel: wlo1: associate with 92:2a:a8:4b:93:80 (try 1/3)
mrt 24 21:05:35 deb-zbook kernel: wlo1: RX AssocResp from 92:2a:a8:4b:93:80 (capab=0x411 status=0 aid=1)
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: Associated with 92:2a:a8:4b:93:80
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: WPA: Key negotiation completed with 92:2a:a8:4b:93:80 [PTK=CCMP GTK=CCMP]
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-CONNECTED - Connection to 92:2a:a8:4b:93:80 completed [id=0 id_str=]
mrt 24 21:05:35 deb-zbook kernel: wlo1: associated
mrt 24 21:05:35 deb-zbook kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
mrt 24 21:05:35 deb-zbook NetworkManager[717]: <info>  [1585080335.0837] device (wlo1): supplicant interface state: associating -> completed
mrt 24 21:05:35 deb-zbook NetworkManager[717]: <info>  [1585080335.0838] device (wlo1): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "UBNT7-IPV6"
mrt 24 21:05:35 deb-zbook NetworkManager[717]: <info>  [1585080335.0842] device (wlo1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
mrt 24 21:05:35 deb-zbook avahi-daemon[710]: Joining mDNS multicast group on interface wlo1.IPv6 with address fe80::85a9:72f1:4be8:bdb4.
mrt 24 21:05:35 deb-zbook avahi-daemon[710]: New relevant interface wlo1.IPv6 for mDNS.
mrt 24 21:05:35 deb-zbook avahi-daemon[710]: Registering new address record for fe80::85a9:72f1:4be8:bdb4 on wlo1.*.
mrt 24 21:05:35 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-62 noise=9999 txrate=6000
mrt 24 21:05:36 deb-zbook NetworkManager[717]: <info>  [1585080336.9983] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
mrt 24 21:05:36 deb-zbook avahi-daemon[710]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::85a9:72f1:4be8:bdb4.
mrt 24 21:05:36 deb-zbook avahi-daemon[710]: Joining mDNS multicast group on interface wlo1.IPv6 with address 2001:470:7f04:6:9a43:c3dc:51ee:abb4.
mrt 24 21:05:36 deb-zbook avahi-daemon[710]: Registering new address record for 2001:470:7f04:6:9a43:c3dc:51ee:abb4 on wlo1.*.
mrt 24 21:05:36 deb-zbook avahi-daemon[710]: Withdrawing address record for fe80::85a9:72f1:4be8:bdb4 on wlo1.
mrt 24 21:05:41 deb-zbook systemd[1]: NetworkManager-dispatcher.service: Succeeded.
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <warn>  [1585080381.9036] dhcp6 (wlo1): request timed out
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9037] dhcp6 (wlo1): state changed unknown -> timeout
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9038] device (wlo1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9053] manager: NetworkManager state is now CONNECTED_LOCAL
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <warn>  [1585080381.9078] device (wlo1): Activation: failed for connection 'UBNT7-IPV6'
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9086] device (wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Withdrawing address record for 2001:470:7f04:6:9a43:c3dc:51ee:abb4 on wlo1.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Leaving mDNS multicast group on interface wlo1.IPv6 with address 2001:470:7f04:6:9a43:c3dc:51ee:abb4.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Joining mDNS multicast group on interface wlo1.IPv6 with address fe80::85a9:72f1:4be8:bdb4.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Registering new address record for fe80::85a9:72f1:4be8:bdb4 on wlo1.*.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Withdrawing address record for fe80::85a9:72f1:4be8:bdb4 on wlo1.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::85a9:72f1:4be8:bdb4.
mrt 24 21:06:21 deb-zbook avahi-daemon[710]: Interface wlo1.IPv6 no longer relevant for mDNS.
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9136] dhcp6 (wlo1): canceled DHCP transaction
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9136] dhcp6 (wlo1): state changed timeout -> done
mrt 24 21:06:21 deb-zbook kernel: wlo1: deauthenticating from 92:2a:a8:4b:93:80 by local choice (Reason: 3=DEAUTH_LEAVING)
mrt 24 21:06:21 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-DISCONNECTED bssid=92:2a:a8:4b:93:80 reason=3 locally_generated=1
mrt 24 21:06:21 deb-zbook wpa_supplicant[736]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
mrt 24 21:06:21 deb-zbook NetworkManager[717]: <info>  [1585080381.9528] device (wlo1): set-hw-addr: set MAC address to 0E:2D:10:9D:37:18 (scanning)
mrt 24 21:06:21 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:06:22 deb-zbook kernel: iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
mrt 24 21:06:22 deb-zbook NetworkManager[717]: <warn>  [1585080382.3626] sup-iface[0x55e097949920,wlo1]: connection disconnected (reason -3)
mrt 24 21:06:22 deb-zbook NetworkManager[717]: <info>  [1585080382.3627] device (wlo1): supplicant interface state: completed -> disconnected
mrt 24 21:06:22 deb-zbook wpa_supplicant[736]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD


radvd configuration on my router-system
Code: Select all
interface eth4.6
{
   AdvSendAdvert on;
   AdvManagedFlag on;
   AdvOtherConfigFlag on;
   AdvLinkMTU 1280;
   MaxRtrAdvInterval 300;

   prefix 2001:470:7f04:6::/64
   {
      AdvOnLink on;
      AdvRouterAddr on;
      AdvAutonomous on;
   };

   RDNSS 2001:470:7f04:6::3
   {
      AdvRDNSSLifetime 600;
   };

}


Tried to connect with ipv4 explicitly disabled (networkmanager, network properties, ipv4 tab). (have screenshot, but attachment upload failed).
Last edited by mb200d on 2020-03-25 20:03, edited 1 time in total.
mb200d
 
Posts: 3
Joined: 2020-03-24 18:32
Location: NL, Twente

Re: NetworkManager disconnects from IPv6 only network

Postby mb200d » 2020-03-25 19:57

One step further.
I reduced my radvd conf, and now NetworkManager accept IPv6 only network.

I need to RTFM [man radvd.conf] 8)

Code: Select all
interface eth4.6
{
   AdvSendAdvert on;

   prefix 2001:470:7f04:6::/64
   {
      AdvOnLink on;
      AdvAutonomous on;
   };

   RDNSS 2001:470:7f04:6::3
   {
   };

};



forums.debian.net is only ipv4 accessible
mb200d
 
Posts: 3
Joined: 2020-03-24 18:32
Location: NL, Twente


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 30 guests

fashionable