Ubuntu – No wireless after resuming from suspend

atherossuspend-resumewireless

When I resume my computer from suspend it doesn't want to connect to any wireless connection. It looks like it is connecting, but after a while it asks me to retype a password for wireless connection. It connect after I restart it.

I am using Toshiba Satellite A210 and Ubuntu 10.10 (I have the same problem with 10.04 and 11.04 beta2.

14:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
Subsystem: Askey Computer Corp. Device 7128
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at cfcf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath5k
Kernel modules: ath5k

Should I file a bug?

Best Answer

It doesn't help fix the bug, but here's a workaround.

  1. Use lsmod to find out which wireless driver you're running.

  2. Reproduce the problem.

  3. Kill the module (sudo rmmod [your driver]).

4 Reinsert the module (sudo modprobe [your driver]).

If wireless begins working again, you can create scripts in /etc/pm to do this each time you suspend and resume. It'll add a couple of seconds to reconnecting on resume, but that's all.

Related Question