[Pkg-utopia-maintainers] Bug#947613: Bug#947613: network-manager: Wi-Fi not working (does not get IPv4 address) with 1.22.2-1

Eugen Dedu eugen.dedu at univ-fcomte.fr
Mon Dec 30 13:40:29 GMT 2019


On 29/12/2019 13:40, Michael Biebl wrote:
> Can you provide a full, verbose debug log:
> 
> https://wiki.gnome.org/Projects/NetworkManager/Debugging
> 
> Which dhcp client do you use: internal, isc-dhcp-client, ...?

I made more tests and noticed that when I upgrade from 1.22.0-2 to 
1.22.2-1, the IPv4 still works, even if I associate several times to the 
Internet box.  The problem comes when I *restart* my Internet box.

So: I have my laptop running and IPv4 ok with 1.22.2-1.  I restart my 
Internet box.  Around one minute later, I have an IPv6 address, but no 
IPv4 address, as shown by syslog:

root at snoopy:~# grep IPv /var/log/syslog|tail
Dec 30 14:06:04 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:06:04 snoopy avahi-daemon[24644]: Interface wlp1s0.IPv6 no 
longer relevant for mDNS.
Dec 30 14:06:04 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv4 with address 192.168.0.37.
Dec 30 14:06:04 snoopy avahi-daemon[24644]: Interface wlp1s0.IPv4 no 
longer relevant for mDNS.
Dec 30 14:07:44 snoopy kernel: [1688643.441802] IPv6: 
ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Dec 30 14:07:44 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:07:44 snoopy avahi-daemon[24644]: New relevant interface 
wlp1s0.IPv6 for mDNS.
Dec 30 14:07:47 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:07:47 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address 2a01:e0a:290:82e0:5815:8149:bcb4:18b0.
Dec 30 14:07:48 snoopy NetworkManager[2495]: <info>  [1577711268.6351] 
policy: set 'chenoisw' (wlp1s0) as default for IPv6 routing and DNS

If I restart network-manager-gnome (the icon in the task bar, I use 
awesome window manager), syslog file insists on IPv6 only:

root at snoopy:~# grep IPv /var/log/syslog|tail -11
Dec 30 14:07:48 snoopy NetworkManager[2495]: <info>  [1577711268.6351] 
policy: set 'chenoisw' (wlp1s0) as default for IPv6 routing and DNS
Dec 30 14:21:33 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address 2a01:e0a:290:82e0:5815:8149:bcb4:18b0.
Dec 30 14:21:33 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:21:33 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:21:33 snoopy avahi-daemon[24644]: Interface wlp1s0.IPv6 no 
longer relevant for mDNS.
Dec 30 14:21:35 snoopy kernel: [1689473.467493] IPv6: 
ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Dec 30 14:21:35 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:21:35 snoopy avahi-daemon[24644]: New relevant interface 
wlp1s0.IPv6 for mDNS.
Dec 30 14:21:36 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:21:36 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address 2a01:e0a:290:82e0:5815:8149:bcb4:18b0.
Dec 30 14:21:38 snoopy NetworkManager[2495]: <info>  [1577712098.1291] 
policy: set 'chenoisw' (wlp1s0) as default for IPv6 routing and DNS
root at snoopy:~#

ifconfig shows:
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1300
         inet6 2a01:e0a:290:82e0:5815:8149:bcb4:18b0  prefixlen 64 
scopeid 0x0<global>
         inet6 fe80::bf01:6fea:9592:b415  prefixlen 64  scopeid 0x20<link>
         ether ...  txqueuelen 1000  (Ethernet)
         RX packets 15747787  bytes 15483453634 (14.4 GiB)
[...]


Now, I downgrade to previous version:

root at snoopy:/home/ededu# dpkg -i *22.*
dpkg: warning: downgrading gir1.2-nm-1.0:amd64 from 1.22.2-1 to 1.22.0-2
(Reading database ... 330241 files and directories currently installed.)
Preparing to unpack gir1.2-nm-1.0_1.22.0-2_amd64.deb ...
Unpacking gir1.2-nm-1.0:amd64 (1.22.0-2) over (1.22.2-1) ...
dpkg: warning: downgrading libnm0:amd64 from 1.22.2-1 to 1.22.0-2
Preparing to unpack libnm0_1.22.0-2_amd64.deb ...
Unpacking libnm0:amd64 (1.22.0-2) over (1.22.2-1) ...
dpkg: warning: downgrading network-manager from 1.22.2-1 to 1.22.0-2
Preparing to unpack network-manager_1.22.0-2_amd64.deb ...
Unpacking network-manager (1.22.0-2) over (1.22.2-1) ...
Setting up libnm0:amd64 (1.22.0-2) ...
Setting up network-manager (1.22.0-2) ...
Setting up gir1.2-nm-1.0:amd64 (1.22.0-2) ...
Processing triggers for libc-bin (2.29-6) ...
Processing triggers for systemd (244-3) ...
Processing triggers for dbus (1.12.16-2) ...
Processing triggers for man-db (2.9.0-2) ...

syslog shows some IPv4 activity:

root at snoopy:/home/ededu# grep IPv /var/log/syslog|tail -15
Dec 30 14:21:38 snoopy NetworkManager[2495]: <info>  [1577712098.1291] 
policy: set 'chenoisw' (wlp1s0) as default for IPv6 routing and DNS
Dec 30 14:24:32 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address 2a01:e0a:290:82e0:5815:8149:bcb4:18b0.
Dec 30 14:24:32 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:24:32 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:24:32 snoopy avahi-daemon[24644]: Interface wlp1s0.IPv6 no 
longer relevant for mDNS.
Dec 30 14:24:33 snoopy kernel: [1689652.147096] IPv6: 
ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Dec 30 14:24:33 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:24:33 snoopy avahi-daemon[24644]: New relevant interface 
wlp1s0.IPv6 for mDNS.
Dec 30 14:24:35 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv4 with address 192.168.0.37.
Dec 30 14:24:35 snoopy avahi-daemon[24644]: New relevant interface 
wlp1s0.IPv4 for mDNS.
Dec 30 14:24:35 snoopy avahi-daemon[24644]: Registering new address 
record for 192.168.0.37 on wlp1s0.IPv4.
Dec 30 14:24:35 snoopy NetworkManager[9152]: <info>  [1577712275.7416] 
policy: set 'chenoisw' (wlp1s0) as default for IPv4 routing and DNS
Dec 30 14:24:36 snoopy avahi-daemon[24644]: Leaving mDNS multicast group 
on interface wlp1s0.IPv6 with address fe80::bf01:6fea:9592:b415.
Dec 30 14:24:36 snoopy avahi-daemon[24644]: Joining mDNS multicast group 
on interface wlp1s0.IPv6 with address 2a01:e0a:290:82e0:5815:8149:bcb4:18b0.
Dec 30 14:24:36 snoopy NetworkManager[9152]: <info>  [1577712276.1376] 
policy: set 'chenoisw' (wlp1s0) as default for IPv6 routing and DNS

and ifconfig shows an IPv4 address, and Internet works.

I put the syslog between the two dates at 
http://eugen.dedu.free.fr/syslog (I will remove it later, sorry).

=================

snoopy:~$ dpkg -l *dhcp*|cat
[...]
un  dhcp-client          <none>       <none>       (no description 
available)
ii  isc-dhcp-client      4.4.1-2      amd64        DHCP client for 
automatically obtaining an IP address
un  isc-dhcp-client-ddns <none>       <none>       (no description 
available)
ii  isc-dhcp-common      4.4.1-2      amd64        common manpages 
relevant to all of the isc-dhcp packages

snoopy:~$ ls -l /sbin/dhclient
-rwxr-xr-x 1 root 504528 Dec 11  2018 /sbin/dhclient
snoopy:~$ dpkg -S /sbin/dhclient
isc-dhcp-client: /sbin/dhclient

snoopy:~$ uname -a
Linux snoopy 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 
GNU/Linux

Cheers,
Eugen



More information about the Pkg-utopia-maintainers mailing list