Comment 109 for bug 352228

Revision history for this message
narnie (signupnarnie) wrote :

Well, scratch the above in my last post.

It worked for a few days, then I was back to having to reboot.

Decided to do a little more messing around after it did it last night and this morning, too (sure wish I could figure out what triggers it!).

This script brought it back when the other one I posted above didn't.

Here ya go.

#! /bin/bash
#
pkill nm-app
sudo modprobe -v -r iwlagn
sudo /etc/init.d/network-manager stop
sudo /etc/init.d/network-interface stop
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
sudo /etc/init.d/network-interface start
sudo /etc/init.d/network-manager start
sudo modprobe -v iwlagn
nm-applet &

just save it (I called my reset_wireless).

run

chmod +x reset_wireless

Then put it in one of the dirs found by

echo $PATH

and you should be good to go. You have to have admin privies for it to work.

Cherio,
Narnie