Posts: 20
mroot
Joined: 05 Oct 2012
#1
Hi-

I am having a problem with the suspend function. I use the suspend button in the logout menu and it suspends okay. It also resumes just fine except the wireless no longer works. Doing a logout and re logging in doesn't change the situation. Has anyone had a similar problem and if so what is the fix? Any help would be appreciated.

Code: Select all

$ inxi -Fz
System:    Host: antixsamsung Kernel: 4.0.5-antix.1-486-smp i686 (32 bit)
           Desktop: JWM sn-579
           Distro: antiX-15-rc1.1-V_386-full Killah P 20 June 2015
Machine:   Mobo: SAMSUNG model: RC512 v: 08VQ
           Bios: American Megatrends v: 08VQ.M038.20110817.SSH date: 08/17/2011
CPU:       Quad core Intel Core i7-2630QM (-HT-MCP-) cache: 6144 KB 
           clock speeds: max: 2900 MHz 1: 851 MHz 2: 986 MHz 3: 815 MHz
           4: 878 MHz 5: 812 MHz 6: 800 MHz 7: 844 MHz 8: 807 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Card-2: NVIDIA GF108M [GeForce GT 525M]
           Display Server: X.Org 1.16.4 drivers: nouveau,intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile x86/MMX/SSE2
           GLX Version: 3.0 Mesa 10.3.2
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.0.5-antix.1-486-smp
Network:   Card-1: Intel Centrino Advanced-N + WiMAX 6250 [Kilmer Peak]
           driver: iwlwifi
           IF: wlan0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (2.9% used)
           ID-1: /dev/sda model: WDC_WD5000LPVX size: 500.1GB
Partition: ID-1: / size: 15G used: 4.0G (29%) fs: ext4 dev: /dev/sda12
           ID-2: /home size: 20G used: 158M (1%) fs: ext4 dev: /dev/sda13
           ID-3: swap-1 size: 10.49GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors:   System Temperatures: cpu: 51.0C mobo: 51.0C gpu: 41.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 175 Uptime: 2:55 Memory: 362.0/2949.8MB
           Client: Shell (bash) inxi: 2.2.31 
Last edited by mroot on 30 Mar 2016, 23:28, edited 1 time in total.
Posts: 604
thriftee
Joined: 27 Feb 2009
#2
I tried it with my Dell D620 on 15 and it worked fine. Try turning the WiFi switch off, wait 10 sec, and turn it on again. It might be the driver for your card.
Posts: 20
mroot
Joined: 05 Oct 2012
#3
Thanks for the suggestion. Unfortunately, my laptop doesn't have a physical switch that I can turn off and on.

I don't think its a driver problem per se. When I installed the KDE Debian Jessie ISO, the unofficial one that includes the non-free firmware- the wireless comes on after the suspend function okay. It also works fine with the JWM edition of Manjaro 15.

I know wireless questions are tough to answer. So maybe I should change the question and ask for a workaround rather than a “fix”. Is there a way using the command line I can try to manually restart the wireless after the suspend?
Posts: 604
thriftee
Joined: 27 Feb 2009
#4
Are you using wicd or ceni? Maybe try the other? I think ceni does a front end for wsa supplicant so you might be able to create a script capable of noticing if wifi was connected or not that would restart it and maybe could find a way to get it to run after the resume.
Posts: 20
mroot
Joined: 05 Oct 2012
#5
I use ceni for wireless since wicd in the distant past was not reliable for me. I took your suggestion and found a fix that works for me and since it might be helpful for others I added it below.

I also remembered that Dolphin Oracle had a video on adding an wicd icon to your panel ( and I figured if I added it to fluxbox I could restart the wireless and it did work.

So...

1. I went to the control centre---->session tab---->Global Desktop-session and clicked on the icon.

2. Next I added wicd-client -t & to the startup tab at the bottom of the file and saved it.

3. I then logged out and relogged in. The wicd icon was displayed on the fluxbox panel.

4. Then I suspended and resumed.

5. The wireless still didn't work so I clicked on the wicd icon. I needed to enter the wpa key and then click on the connect button. Wireless worked okay.

6. I then checked the entry for “ Automatically connect to this network” in the wicd network manager window. Now the wireless is reconnecting automatically after the suspend.
Posts: 604
thriftee
Joined: 27 Feb 2009
#6
I'm glad it worked out. I like ceni myself, but its good there are options.
Posts: 20
mroot
Joined: 05 Oct 2012
#7
Yea, I am glad it worked out too. Sometimes there really isn't a workable solution. Thanks again for the help.

Best Wishes,

Mroot