Ubuntu 20.04.1 - network-manager instable with Centrino Advanced-N 6235 wifi

Bug #1910856 reported by Ste
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,
I am facing an intermittent problem after upgrading to 20.04. I keep loosing the wifi connection and requested to put the wifi password again. I troubleshut the problem on forum.ubuntu-it.org (https://forum.ubuntu-it.org/viewtopic.php?f=9&t=643817&start=20&sid=3100928dda5ea320e82d5db653e95611) but we could not figure it out. I am reporting here the same information provided to the forum and I am available to provide more.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: network-manager 1.22.10-1ubuntu2.2
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Jan 9 14:57:23 2021
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-12-18 (2213 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
IpRoute:
 default via 192.168.1.1 dev wlan1 proto dhcp metric 600
 169.254.0.0/16 dev wlan1 scope link metric 1000
 192.168.1.0/24 dev wlan1 proto kernel scope link src 192.168.1.179 metric 600
SourcePackage: network-manager
UpgradeStatus: Upgraded to focal on 2020-10-31 (70 days ago)
modified.conffile..etc.NetworkManager.conf.d.default-wifi-powersave-on.conf:
 [connection]
 wifi.powersave = 2
mtime.conffile..etc.NetworkManager.conf.d.default-wifi-powersave-on.conf: 2019-01-14T23:22:39.355283
nmcli-dev:
 DEVICE TYPE STATE IP4-CONNECTIVITY IP6-CONNECTIVITY DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlan1 wifi connected full none /org/freedesktop/NetworkManager/Devices/3 TIM-18679861 817f1693-1daa-4c3e-b81f-46d576414c34 /org/freedesktop/NetworkManager/ActiveConnection/1
 eth0 ethernet unavailable none none /org/freedesktop/NetworkManager/Devices/2 -- -- --
 lo loopback unmanaged unknown unknown /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.22.10 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Ste (stefano-fornari) wrote :
Revision history for this message
Ste (stefano-fornari) wrote :

dmesg -w
[182849.300866] wlan1: disconnect from xx:xx:xx:xx:xx:27 for new auth to xx:xx:xx:xx:xx:3e
[182849.324461] wlan1: authenticate with xx:xx:xx:xx:xx:3e
[182849.327128] wlan1: send auth to xx:xx:xx:xx:xx:3e (try 1/3)
[182849.405497] wlan1: authenticated
[182849.406413] wlan1: waiting for beacon from xx:xx:xx:xx:xx:3e
[182849.509482] wlan1: associate with xx:xx:xx:xx:xx:3e (try 1/3)
[182849.512265] wlan1: RX ReassocResp from xx:xx:xx:xx:xx:3e (capab=0x1511 status=0 aid=59)
[182849.530544] wlan1: associated
[182849.596416] wlan1: deauthenticating from xx:xx:xx:xx:xx:3e by local choice (Reason: 1=UNSPECIFIED)
[182851.477243] wlan1: authenticate with xx:xx:xx:xx:xx:35
[182851.481055] wlan1: send auth to xx:xx:xx:xx:xx:35 (try 1/3)
[182851.497378] wlan1: authenticated
[182851.497656] wlan1: waiting for beacon from xx:xx:xx:xx:xx:35
[182851.533449] wlan1: associate with xx:xx:xx:xx:xx:35 (try 1/3)
[182851.538070] wlan1: RX AssocResp from xx:xx:xx:xx:xx:35 (capab=0x1411 status=0 aid=10)
[182851.559025] wlan1: associated

Revision history for this message
Ste (stefano-fornari) wrote :

lspci -vvnn | grep -A 9 Network
02:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 [8086:088e] (rev 24)
 Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN [8086:4060]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 47
 Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: <access denied>
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi

Revision history for this message
Ste (stefano-fornari) wrote :

dmesg |grep iwl
[ 55.488630] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 55.488740] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 56.095215] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[ 57.189234] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 57.189236] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 57.189237] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 57.189238] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[ 57.222031] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 58.859566] iwlwifi 0000:02:00.0 wlan1: renamed from wlan0
[ 150.502535] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[ 150.801835] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0

Revision history for this message
Ste (stefano-fornari) wrote :

iwconfig
eth0 no wireless extensions.

wlan1 IEEE 802.11 ESSID:"TIM-18679861"
          Mode:Managed Frequency:5.18 GHz Access Point: XX:XX:XX:XX:XX:3E
          Bit Rate=54 Mb/s Tx-Power=15 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:off
          Link Quality=38/70 Signal level=-72 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:34 Missed beacon:0

lo no wireless extensions.

Revision history for this message
Ste (stefano-fornari) wrote :

ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether xx:xx:xx:xx:xx:44 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 20 memory 0xf7d00000-f7d20000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
        inet 127.0.0.1 netmask 255.0.0.0
        loop txqueuelen 1000 (Local Loopback)
        RX packets 959276 bytes 66195463 (66.1 MB)

Revision history for this message
Ste (stefano-fornari) wrote :

cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1

###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#

###################################################################
# Magic system request Key
# 0=disable, 1=enable all, >1 bitmask of sysrq functions
# See https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
# for what other values do
#kernel.sysrq=438

# added by Insync
fs.inotify.max_user_watches=1048576

# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
[ste Projects] =)o

Revision history for this message
Ste (stefano-fornari) wrote :

cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=1 led_mode=1 swcrypto=1

Revision history for this message
Ste (stefano-fornari) wrote :

dmesg|grep 80211
[ 50.510957] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 50.511330] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 53.432132] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'

Revision history for this message
Ste (stefano-fornari) wrote :

cat /var/log/syslog | grep NetworkManager > output.txt

(see attachment)

Revision history for this message
Ste (stefano-fornari) wrote :
Revision history for this message
Ste (stefano-fornari) wrote :

cat /etc/modprobe.d/cfg80211.conf
options cfg80211 ieee80211_regdom=EU

Revision history for this message
Ste (stefano-fornari) wrote :

iwlist channel
wlan1 32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz

Revision history for this message
Ste (stefano-fornari) wrote :

nmcli device wifi list
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
        XX:XX:XX:XX:XX:35 TIM-18679861 Infra 6 130 Mbit/s 57 ▂▄▆_ WPA2
* XX:XX:XX:XX:XX:27 TIM-18679861 Infra 6 270 Mbit/s 53 ▂▄__ WPA1 WPA2
        XX:XX:XX:XX:XX:3E TIM-18679861 Infra 36 540 Mbit/s 42 ▂▄__ WPA2
        XX:XX:XX:XX:XX:28 TIM-18679861_5G Infra 36 270 Mbit/s 39 ▂▄__ WPA1 WPA2

Revision history for this message
Ste (stefano-fornari) wrote :
Download full text (4.7 KiB)

lsmod
Module Size Used by
rfcomm 81920 4
vboxnetadp 28672 0
vboxnetflt 28672 0
vboxdrv 487424 2 vboxnetadp,vboxnetflt
md4 16384 0
nls_utf8 16384 5
cifs 1024000 4
fscache 372736 1 cifs
libdes 24576 1 cifs
ccm 20480 6
cmac 16384 5
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 24576 6 algif_hash,algif_skcipher
bnep 24576 2
binfmt_misc 24576 1
nls_iso8859_1 16384 1
intel_rapl_msr 20480 0
intel_rapl_common 24576 1 intel_rapl_msr
snd_hda_codec_realtek 126976 1
x86_pkg_temp_thermal 20480 0
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
intel_powerclamp 20480 0
snd_hda_codec_hdmi 61440 1
btusb 57344 0
btrtl 24576 1 btusb
snd_hda_intel 53248 3
btbcm 16384 1 btusb
coretemp 20480 0
snd_intel_dspcfg 24576 1 snd_hda_intel
btintel 24576 1 btusb
snd_hda_codec 135168 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
bluetooth 548864 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
kvm_intel 282624 0
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
i915 1986560 12
ecdh_generic 16384 2 bluetooth
iwldvm 237568 0
kvm 663552 1 kvm_intel
input_leds 16384 0
ecc 28672 1 ecdh_generic
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
mac80211 843776 1 iwldvm
crct10dif_pclmul 16384 1
snd_rawmidi 36864 1 snd_seq_midi
ghash_clmulni_intel 16384 0
aesni_intel 372736 10
libarc4 16384 2 cifs,mac80211
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
crypto_simd 16384 1 aesni_intel
drm_kms_helper 184320 1 i915
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
snd_timer 36864 2 snd_seq,snd_pcm
glue_helper 16384 1 aesni_intel
i2c_algo_bit 16384 1 i915
snd 90112 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
iwlwifi 331776 1 iwldvm
rapl 20480 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
soundcore 16384 1 snd
nuvoton_cir 20480 0
intel_cstate 20480 0
cfg8...

Read more...

Revision history for this message
Martien de Jong (martiendejong) wrote :

I think I'm having the exact same problem. My oldish dell xps 13 with this network controller has worked fine since ubuntu 12.04, but since installing 20.04, wifi keeps dropping out, bringing up an authentication dialog. Since the dialogue already has my credentials filled in, I would already be happy if it would reconnect without bothering me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.