Friday, October 3, 2008

Getting wireless to work right in Ubuntu

I've griped before about Ubuntu's issues with staying connected to WPA enabled wireless routers. Apparently, lots of other folks have faced similar issues, and for a while! After much frustration and mucking around, I've finally found a solution (amongst numerous other statements of similar problems from various other people).

I've now created a script that I call each time my wireless setup goes crazy. And it's been working so far!

cat restart_wireless.sh
#!/bin/bash

WIRELESS_DRIVER=iwl4965
sudo /etc/init.d/networking stop
sudo modprobe -r $WIRELESS_DRIVER
sudo modprobe $WIRELESS_DRIVER
sudo /etc/init.d/networking start

Source: http://ubuntuforums.org/archive/index.php/t-16606.html

No comments: