Ubuntu – Lubuntu 13.10 – Laptop Loses wireless after sleep

13.10laptoplubuntunetworkingwireless

I'm running Lubunu 13.10 on an hp G62 – I'm new to Lubuntu having used ubuntu previously, but I've made the switch as my laptop is now getting toward the lower end of acceptability, and I'm delighted with how well it runs.

Anyway, I'm having an issue that if I close the lid of the laptop it won't reconnect to the wi-fi when I open it again, and I'm not sure how to even force it to scan for a network – I have to restart it at the moment – and then it always connects perfectly. The router is a BT Business Hub 2.

Any help much appreciated – thank you.

EDIT – at home it seems to re-connect with no issues to the router EE gave me – so it may be an issue to do with Lubuntu/the router at work.

Best Answer

Please do:

sudo gedit /etc/pm/config.d/config

A new empty file will open. Add one line:

SUSPEND_MODULES="rtl8192ce" 

Of course, substitute your actual driver in place of rtl8192ce. Proofread, save and close gedit. Reboot

If you do not know the name of your wireless driver run this command:

lspci -nnk | grep -iA2 net

it will tell you the device name for wireless and ethernet along with the driver being used for each.

Edit: Here is one last thing to try:

sudo touch /etc/pm/sleep.d/wakenet.sh

sudo chmod +x /etc/pm/sleep.d/wakenet.sh

sudo gedit /etc/pm/sleep.d/wakenet.sh

Insert the following lines:

#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
;;
*)
;;
esac
exit $?
Save

This answer was found on the forum

Related Question