Have to reload wifi module to make Wicd reconnect after suspend. Why?
Last week or so I switched from cable internet to DSL and got and a new wireless gateway from my ISP (an AT&T 4111n). I use wicd to connect to wireless on my laptop.
Under my old wireless connection, wicd would always reconnect automatically when I came out of suspend, exactly as it is supposed to do. With this new connection, however, it would connect fine the first time after boot, but after coming out of suspend it would just hang on trying to get an ip address and never be able to reconnect. A reboot was necessary to get the wireless to work.
Attempting to eliminate any changes that could have caused the problem, I tried playing around with the encryption standards to get everything exactly the same way as my old connection where the issue did not exist. Unfortunately, I don't really remember the way I had it. At any rate, no encryption I tried had any effect.
The solution I found was to put a script in /etc/wicd/scripts/preconnect to unload the iwlwifi module and then load it again. This works, but I still would like to know what this sudden problem is all about.
Does anyone have any ideas?
|