I have a similar problem on my OpenSUSE 10.2 laptop (sorry, no Mint there) and I solved it with this script (needs to be executed as root):
- Code: Select all
#! /bin/bash
killall wpa_supplicant
/sbin/rmmod ipw3945
/sbin/ipw3945d --kill
/usr/bin/killall ipw3945d
/sbin/rmmod ipw3945
sleep 1
/sbin/modprobe ieee80211
/sbin/modprobe ieee80211_crypt
/sbin/modprobe ieee80211_crypt_tkip
/sbin/modprobe firmware_class
/sbin/modprobe ipw3945
sleep 1
I call this script "wifi_reset.sh" and I'd save it to
/usr/bin so it's easy to find. You could create a launch button or icon on your desktop that would execute this script via "sudo" so it is executed as root? e.g. as command for your icon you could use:
for KDE:
kdesu /usr/bin/wifi_reset.sh
For GNOME:
gksu /usr/bin/wifi_reset.sh
or:
sudo /usr/bin/wifi_reset.sh
As I said ... I wrote this script for my OpenSUSE 10.2 .... so I hope it will work for your Mint too ....