No wireless after waking from suspend

I updated to Xubuntu 15.04 today and was having trouble connecting to wifi after waking my laptop up from suspend. It would say the card was active, but it wouldn’t find any wireless networks in the scan.

This worked for me:

Edit or create

/etc/pm/config.d/config

And put

SUSPEND_MODULES="iwlwifi"

in the file.

This will unload the wifi driver before suspend and reload it after waking.

EDIT: Upon reading this: http://www.webupd8.org/2013/01/fix-wireless-or-wired-network-not.html, it’s probably best to run

sudo lshw -C network

to see what driver your card is actually running and unload that instead.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s