Unable to connect to wifi after suspend mode

First, hello everyone and just installed manjaro 16.06 and enjoying it very much.

But one problem I noticed is that whenever I put my laptop into suspend mode and then wake it up, I loose my wifi connection and there is no option for reconnecting. So I have to reboot the system and all is well. Ideally, it would be nice if it would automatically reconnect when it wakes up. Not a huge problem but more of an annoyance.

Any suggestions or work around?

1 Like

what is the output of iwconfig?

`[dogbert0360@dogbert0360-E6410 ~]$ iwconfig
wlp3s0 IEEE 802.11abgn ESSID:"TP-LINK_D937"
Mode:Managed Frequency:2.457 GHz Access Point: A4:2B:B0:AA:D9:37
Bit Rate=65 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-34 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:44 Missed beacon:0

lo no wireless extensions.

eno1 no wireless extensions. `

Suprisingly, now when I woke up my laptop from suspention it was connected to my wifi. First time this happened since I installed 16.06. But here is the readout from iwconfig.

reboot and get your wifi up and running.
Then gimme
inxi -Fx
lsmod

Suspend/resume, let your wi-fi fail.
Gimme
lsmod dmesg|wgetpaste -s gists
(You need to install wgetpaste for the last one)

Edit @dogbert0360 ^ don't use wgetpaste if you are solely dependent on wi-fi for internet. I forgot to account for that situation.
Alternative command
dmesg > dmesg.txt
This will create a text file in your home directory, you can pastebin that file instead.

@badbodh....

Here is the readout ...

System: Host: dogbert0360-E6410 Kernel: 4.6.1-1-MANJARO x86_64 (64 bit gcc: 6.1.1)
Desktop: Xfce 4.12.3 (Gtk 2.24.30) Distro: Manjaro Linux
Machine: System: Dell (portable) product: Latitude E6410 v: 0001
Mobo: Dell model: N/A Bios: Dell v: A16 date: 12/05/2013
Battery BAT0: charge: 52.0 Wh 152.3% condition: 34.1/52.0 Wh (66%)
model: Sanyo DELL FU26802 status: Full
CPU: Dual core Intel Core i5 M 560 (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10645
clock speeds: max: 2667 MHz 1: 1999 MHz 2: 1199 MHz 3: 1333 MHz
4: 1333 MHz
Graphics: Card: NVIDIA GT218M [NVS 3100M] bus-ID: 01:00.0
Display Server: X.Org 1.17.4 driver: nvidia
Resolution: 1440x900@60.00hz
GLX Renderer: NVS 3100M/PCIe/SSE2
GLX Version: 3.3.0 NVIDIA 304.131 Direct Rendering: Yes
Audio: Card-1 Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 NVIDIA High Definition Audio Controller
driver: snd_hda_intel bus-ID: 01:00.1
Sound: Advanced Linux Sound Architecture v: k4.6.1-1-MANJARO
Network: Card-1: Intel 82577LM Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: 8040 bus-ID: 00:19.0
IF: eno1 state: down mac: 5c:26:0a:47:5a:3d
Card-2: Intel Centrino Ultimate-N 6300
driver: iwlwifi bus-ID: 03:00.0
IF: wlp3s0 state: up mac: 00:24:d7:82:63:f4
Drives: HDD Total Size: 500.1GB (4.2% used)
ID-1: /dev/sda model: WDC_WD5000LPVX size: 500.1GB
Partition: ID-1: / size: 455G used: 16G (4%) fs: ext4 dev: /dev/sda2
ID-2: /boot size: 247M used: 70M (30%) fs: ext2 dev: /dev/sda1
ID-3: swap-1 size: 4.01GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors: System Temperatures: cpu: 48.0C mobo: N/A gpu: 0.0:48C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 180 Uptime: 7 min Memory: 891.5/3820.4MB
Init: systemd Gcc sys: 6.1.1
Client: Shell (bash 4.3.421) inxi: 2.3.0

lsmod readout...

Module Size Used by
sha256_ssse3 32768 1
sha256_generic 24576 1 sha256_ssse3
hmac 16384 1
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 2
ccm 20480 2
fuse 94208 3
usblp 20480 0
intel_powerclamp 16384 0
kvm_intel 184320 0
kvm 499712 1 kvm_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
ghash_clmulni_intel 16384 0
aesni_intel 167936 4
arc4 16384 2
iwldvm 180224 0
aes_x86_64 20480 1 aesni_intel
sch_fq_codel 20480 6
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
nfs 208896 0
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
mac80211 655360 1 iwldvm
cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
iwlwifi 184320 1 iwldvm
lockd 86016 1 nfs
grace 16384 1 lockd
snd_hda_codec_idt 49152 1
sunrpc 274432 2 nfs,lockd
nvram 16384 0
joydev 20480 0
msr 16384 0
mousedev 20480 0
coretemp 16384 0
i2c_i801 20480 0
dell_wmi 16384 0
mei_wdt 16384 0
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
ppdev 20480 0
sparse_keymap 16384 1 dell_wmi
dell_rbtn 16384 0
evdev 24576 15
dell_laptop 20480 0
input_leds 16384 0
snd_hda_codec_generic 69632 1 snd_hda_codec_idt
snd_hda_codec_hdmi 45056 4
dell_smbios 16384 2 dell_wmi,dell_laptop
psmouse 122880 0
mac_hid 16384 0
serio_raw 16384 0
dcdbas 16384 1 dell_smbios
dell_smm_hwmon 16384 0
cfg80211 495616 3 iwlwifi,mac80211,iwldvm
intel_ips 20480 0
fscache 57344 1 nfs
acpi_cpufreq 20480 1
rfkill 20480 5 cfg80211,dell_rbtn,dell_laptop
tpm_tis 20480 0
snd_hda_intel 32768 5
wmi 20480 1 dell_wmi
e1000e 217088 0
fjes 28672 0
battery 20480 0
parport_pc 28672 0
parport 40960 2 ppdev,parport_pc
snd_hda_codec 106496 4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 61440 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 86016 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 28672 1 snd_pcm
snd 65536 18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore 16384 1 snd
acpi_als 16384 0
kfifo_buf 16384 1 acpi_als
industrialio 45056 2 acpi_als,kfifo_buf
dell_smo8800 16384 0
ac 16384 0
video 36864 2 dell_wmi,dell_laptop
button 16384 0
ptp 20480 1 e1000e
intel_agp 20480 0
shpchp 32768 0
tpm 36864 1 tpm_tis
mei_me 32768 0
mei 81920 3 mei_wdt,mei_me
pps_core 20480 1 ptp
intel_gtt 20480 1 intel_agp
lpc_ich 24576 0
processor 32768 1 acpi_cpufreq
nvidia 11354112 44
drm 294912 3 nvidia
ip_tables 28672 0
x_tables 28672 1 ip_tables
ext4 520192 2
crc16 16384 1 ext4
jbd2 90112 1 ext4
mbcache 16384 3 ext4
hid_generic 16384 0
usbhid 45056 0
hid 114688 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 49152 1 sr_mod
sd_mod 36864 4
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ahci 36864 3
libahci 28672 1 ahci
libata 196608 2 ahci,libahci
sdhci_pci 28672 0
sdhci 40960 1 sdhci_pci
scsi_mod 155648 3 libata,sd_mod,sr_mod
led_class 16384 4 sdhci,iwldvm,dell_laptop,input_leds
mmc_core 114688 2 sdhci,sdhci_pci
ehci_pci 16384 0
firewire_ohci 40960 0
ehci_hcd 69632 1 ehci_pci
firewire_core 57344 1 firewire_ohci
crc_itu_t 16384 1 firewire_core
usbcore 200704 4 usblp,ehci_hcd,ehci_pci,usbhid
usb_common 16384 1 usbcore
i8042 24576 2 libps2,dell_laptop
serio 20480 6 serio_raw,atkbd,i8042,psmouse

I seem to have the same problem after the last update. If I put my laptop to sleep and then wake it up again it refuses to connect or show any wireless networks. Rebooting fixes the problem, but I managed to fix the problem without rebooting by scanning wifi networks from the terminal using the command:
sudo iw dev wlp10s0 scan | less
I have no idea why I need sudo permissions to scan for wifi connections, but after I ran the command my wifi connections started working again.
If anyone knows of a more permanent solution that would be nice, or hopefully a future update might fix the problem???

Oh and here's further system readouts:
System: Host: manjarolaptop Kernel: 4.7.0-0-MANJARO x86_64 (64 bit gcc: 6.1.1)
Desktop: KDE Plasma 5.7.3 (Qt 5.7.0) Distro: Manjaro Linux
Machine: System: Hewlett-Packard (portable) product: HP 15 Notebook PC v: 0974120000405F00000620180
Mobo: Hewlett-Packard model: 2337 v: 05.24 Bios: Insyde v: F.36 date: 12/18/2014
Battery BAT1: charge: 18.7 Wh 77.1% condition: 24.3/28.0 Wh (87%)
model: COMPAL PABAS0241231 status: Discharging
CPU: Dual core Intel Core i5-5200U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8783
clock speeds: max: 2700 MHz 1: 1540 MHz 2: 1700 MHz 3: 1793 MHz 4: 1700 MHz
Graphics: Card-1: Intel HD Graphics 5500 bus-ID: 00:02.0
Card-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] bus-ID: 09:00.0
Display Server: X.Org 1.17.4 driver: intel Resolution: 1366x768@60.03hz
GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
GLX Version: 3.0 Mesa 12.0.1 Direct Rendering: Yes
Audio: Card-1 Intel Wildcat Point-LP High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Broadwell-U Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.7.0-0-MANJARO
Network: Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 5000 bus-ID: 08:00.0
IF: enp8s0 state: down mac: 5c:b9:01:b9:28:e4
Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be port: 3000 bus-ID: 0a:00.0
IF: wlp10s0 state: down mac: c4:8e:8f:78:2f:9b
Drives: HDD Total Size: 1000.2GB (3.3% used) ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB
Partition: ID-1: / size: 19G used: 16G (89%) fs: ext4 dev: /dev/sda6
ID-2: /home size: 413G used: 13G (4%) fs: ext4 dev: /dev/sda8
ID-3: swap-1 size: 2.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
Sensors: System Temperatures: cpu: 27.8C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 181 Uptime: 4:37 Memory: 1532.8/7903.7MB Init: systemd Gcc sys: 6.1.1
Client: Shell (bash 4.3.461) inxi: 2.3.0

@Bob1234 Try downgrading the network-manager-applet to 1.0.10-1. I am stuck with the the same network card but this solved the problem completely. Wifi is running stable and without hiccups for a couple of weeks now. Using Xfce though.

I have no clue if the problems occur with other network cards as well, but downgrading might be worth a try.
Don't know what causes the issue, but the solution works (here). Better than the other way around

If you search for NetworkManager applet you can find a thread about it in in the "Technical issues and assistance" section of the forum.

Me too. Doesn't happen everytime I come out of suspend mode, but enough to be really annoying.

I've used sudo iw wlo1 scan

inxi -Fx

System: Host: xxx Kernel: 4.4.17-1-MANJARO x86_64 (64 bit gcc: 6.1.1)
Desktop: KDE Plasma 5.7.3 (Qt 5.7.0) Distro: Manjaro Linux
Machine: System: Hewlett-Packard (portable) product: HP Envy 17 NoteBook PC v: 097E110000405E00000620100
Mobo: Hewlett-Packard model: 1966 v: KBC Version 93.51
Bios: Insyde v: F.62 date: 05/05/2014
Battery BAT0: charge: 52.7 Wh 100.0% condition: 52.7/52.7 Wh (100%)
model: Hewlett-Packard Primary status: Full
CPU: Quad core Intel Core i7-4700MQ (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19167
clock speeds: max: 3400 MHz 1: 2012 MHz 2: 800 MHz 3: 2374 MHz 4: 824 MHz 5: 2385 MHz
6: 799 MHz 7: 800 MHz 8: 2605 MHz
Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GK208M [GeForce GT 740M] bus-ID: 01:00.0
Display Server: X.Org 1.17.4 driver: intel Resolution: 1600x900@60.01hz
GLX Renderer: Mesa DRI Intel Haswell Mobile
GLX Version: 3.0 Mesa 12.0.1 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.4.17-1-MANJARO
Network: Card-1: Broadcom BCM4352 802.11ac Wireless Network Adapter driver: wl bus-ID: 07:00.0
IF: wlo1 state: up mac: 54:27:1e:32:6c:35
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8168 v: 8.040.00-NAPI port: 3000 bus-ID: 0f:00.0
IF: eno1 state: down mac: 14:58:d0:01:ee:e3
Drives: HDD Total Size: 2000.4GB (10.6% used) ID-1: /dev/sdb model: ST1000LM024_HN size: 1000.2GB
ID-2: /dev/sda model: ST1000LM024_HN size: 1000.2GB
Partition: ID-1: / size: 900G used: 125G (15%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 18.44GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 51.0C mobo: 0.0C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 197 Uptime: 11 min Memory: 1459.1/15984.6MB Init: systemd Gcc sys: 6.1.1
Client: Shell (bash 4.3.461) inxi: 2.3.0

I am running network-management-applet 1.2.4-1.

@77X42 Thanks for the help. I forgot to mention that my DE is KDE, but your advice was still useful nonetheless. I noticed from the pacman cache that there must have been an update to the networkmanager daemon so I decided to roll that back from 1.2.4-1 to version 1.2.2-2. I'll see if it makes a difference. :slight_smile:

Update: Yep, rolling back the package has fixed the problems. Anyone know where I should report the problems I was having with version 1.2.4-1 of the networkmanager? (I'm fairly new to the manjaro/arch ecosystem)

@Bob1234 Did you downgrade the networkmanager or the applet? The problem, at least on my side, is caused by the network-manager-applet. I am using version 1.2.4-1 of the networkmanager, but had to downgrade the applet to prevent those connection problems from happening.

Yep, I downgraded the networkmanager. There wasn't anything to downgrade on the applet side. It seems to be the problem I was having was with the networkmanager.

I had the same issue, to downgrade network-manager-applet fixed it too.

I also downgraded both the applet and network manager to Ver. 1.0.10-1 and will keep an eye on how it does.

Similar problem.

After sleep, i have conection but the applet indicates that i don't. Everything works, but the applet think there is no connection.

Solved after downgrading applet to 1.4.0. No need to downgrade network manager, just the applet.

1 Like

For some reason this problem still appears here even after downgrading all network-manager related packages to 1.4.0-1 (that is: libnm-glib, network-manager-applet, networkmanager, nm-connection-editor). Any hints? It's a really annoying problem!

Did you try the fix introduced by last stable update for MAC in networkmanager conf?
/etc/NetworkManager/NetworkManager.conf

# Suggested by Manjaro 16.10 Stable 2016-10-23 Package Release
[device]
wifi.scan-rand-mac-address=no

1 Like

Thanks, seems to work so far! Is it now safe to update to 1.4.2 or should I stick to 1.4.0 for the moment?

I keep this on hold for a long time now. You know, it is a modern nightmare "The internet is down!!! ".
And a lot of others I hear they have problems all the time.

I just went ahead and did the update, will report back whether Wifi still works (didn't reboot yet).

Unfortunately, the problem appeared again, so I downgraded, let's see whether it works now...

Forum kindly sponsored by