WIFI doesn't start after suspend

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
AllanPen
Level 2
Level 2
Posts: 96
Joined: Fri Nov 01, 2013 8:33 pm
Location: Nanoose Bay, B.C., Canada

WIFI doesn't start after suspend

Post by AllanPen »

I've read through numerous complaints re WIFI start, but non with my configuration. So I put laptop into suspend and WIFI doesn't start on wake up.
I am able to start it up with "sudo service network-manager restart".

Here's my specs:

System: Host: Laptop Kernel: 4.4.0-28-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: MATE 1.14.1 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18 Sarah
Machine: System: Dell product: Studio 1747
Mobo: Dell model: 0J509P Bios: Dell v: A14 date: 03/31/2011
CPU: Quad core Intel Core i7 Q 720 (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12768
clock speeds: max: 1600 MHz 1: 1199 MHz 2: 1333 MHz 3: 1199 MHz
4: 933 MHz 5: 933 MHz 6: 933 MHz 7: 933 MHz 8: 933 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV730/M96 [Mobility Radeon HD 4650/5165]
bus-ID: 02:00.0
Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1600x900@60.08hz
GLX Renderer: Gallium 0.4 on AMD RV730 (DRM 2.43.0, LLVM 3.8.0)
GLX Version: 3.0 Mesa 11.2.0 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 Advanced Micro Devices [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
driver: snd_hda_intel bus-ID: 02:00.1
Sound: Advanced Linux Sound Architecture v: k4.4.0-28-generic
Network: Card-1: Broadcom BCM43224 802.11a/b/g/n
driver: bcma-pci-bridge bus-ID: 08:00.0
IF: wlp8s0b1 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 5000 bus-ID: 20:00.0
IF: enp32s0 state: down mac: <filter>
Drives: HDD Total Size: 740.2GB (2.2% used)
ID-1: /dev/sda model: SPCC_Solid_State size: 240.1GB
ID-2: /dev/sdb model: ST9500420AS size: 500.1GB
Optical: /dev/sr0 model: HL-DT-ST DVD+-RW GA31N
rev: A102 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 24G used: 11G (47%) fs: ext4 dev: /dev/sda3
ID-2: swap-1 size: 5.24GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 49.0C mobo: N/A gpu: 47.5
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 274 Uptime: 1 day Memory: 2473.9/5956.0MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (fish) inxi: 2.2.35
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AllanPen
Level 2
Level 2
Posts: 96
Joined: Fri Nov 01, 2013 8:33 pm
Location: Nanoose Bay, B.C., Canada

Re: WIFI doesn't start after suspend

Post by AllanPen »

Forgot to mention it worked fine in Rosa.
rbeltz48
Level 4
Level 4
Posts: 319
Joined: Mon Jan 16, 2012 3:08 pm
Location: Florida, USA

Re: WIFI doesn't start after suspend

Post by rbeltz48 »

I am having a similar problem with LM 18 MATE 32-bit. After suspend, sometimes it restarts and sometimes it does not. Sometimes when it does restart after suspend or log out and log back in, the Ethernet icon appears in the panel and at other times the wireless icon appears in the panel. When the Ethernet icon appears, I have wireless service but NO wireless networks are shown and it is grayed out. This is rather disturbing considering that this is the very first time I've had a networking problem going all the way back to Linux Mint 11 and also all the way back to Ubuntu 5.10.
AllanPen
Level 2
Level 2
Posts: 96
Joined: Fri Nov 01, 2013 8:33 pm
Location: Nanoose Bay, B.C., Canada

Re: WIFI doesn't start after suspend

Post by AllanPen »

I gave up; couldn't find any satisfactory solutions anywhere, so I went back to Rosa and all is fine; better than fine.
rbeltz48
Level 4
Level 4
Posts: 319
Joined: Mon Jan 16, 2012 3:08 pm
Location: Florida, USA

Re: WIFI doesn't start after suspend

Post by rbeltz48 »

I may have to reinstall LM 17.3. Time will tell. I sent a note to Clem about the 30+ forum postings in the past week about wireless problems in LM 18.
cRaWnEr

Re: WIFI doesn't start after suspend

Post by cRaWnEr »

I'm having this iisue too in LM18 XFCE. Any solution besides installing 17.3?
rbeltz48
Level 4
Level 4
Posts: 319
Joined: Mon Jan 16, 2012 3:08 pm
Location: Florida, USA

Re: WIFI doesn't start after suspend

Post by rbeltz48 »

Yes. One other solution is to switch to another non-Debian/Ubuntu/Mint distro. After about 10 years using Ubuntu derivatives that's what I did. There are many other good distros to choose from which will work just fine for you.
AllanPen
Level 2
Level 2
Posts: 96
Joined: Fri Nov 01, 2013 8:33 pm
Location: Nanoose Bay, B.C., Canada

Re: WIFI doesn't start after suspend

Post by AllanPen »

Back up to date with Serena and have been playing around with different kernels. 4.5 seems to be OK with restarting network after suspend. I have tried several other kernels up to 4.93 and they all balk at restoring network or wifi after suspend. I will look into editing kernels and see if I can see what is different that can cause the network problem.
Edit: 4.9.3 hasn't crashed wifi for a number of suspends. One thing I'm not using though is the VPN PIA. Anyways running smoothly. :D
rbeltz48
Level 4
Level 4
Posts: 319
Joined: Mon Jan 16, 2012 3:08 pm
Location: Florida, USA

Re: WIFI doesn't start after suspend

Post by rbeltz48 »

It is now more than a year later. I am running LM 18.1 MATE and have applied all Level 1,2,3 updates. This wireless wake up from suspend problem still exists.
ajgreeny
Level 7
Level 7
Posts: 1662
Joined: Mon Nov 19, 2007 3:27 pm

Re: WIFI doesn't start after suspend

Post by ajgreeny »

Here's a bash script (with all instructions of what to do and where to put it) which I have had to use in Xubuntu 16.04 which may also work for you.

Code: Select all

#!/bin/bash
# Created by Hans Deragon (hans@deragon.biz), 2015-05-14 07:31:11 EDT

# INSTALLATION
#
#   - Save this script as: /lib/systemd/system-sleep/NetworkManagerRestartWorkaroundForBug1380480.sh
then run
#   - sudo chmod +x /lib/systemd/system-sleep/NetworkManagerRestartWorkaroundForBug1380480.sh

# DESCRIPTION
#
#   Restarting the NetworkManager as a workaround for the following bug:
# 
#   ∙ https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1380480


# 3 seconds delay is necessary apparently.  May be shorter; needs to be
# tested.  But if no delay is implemented, nm-applet crashes.  Seams that we
# need to leave the system resume completely before attempting a restart of
# NetworkManager.
(sleep 3; systemctl restart NetworkManager.service) &
disown
Good luck!
Locked

Return to “Networking”