Troubleshooting wireless network connectivity
- by taserian
I'm currently running Ubuntu 10.10, and I'm running into trouble keeping my wireless connection alive. After rebooting, I get about 5-10 minutes of a good speed connection; afterwards, the connection just zeroes out. I've gotten around to stirring up a shell script that gives me another 10 minutes or so of connectivity. Script contents below:
#! /bin/bash
sudo ifconfig wlan0 up
echo "Enabling wireless device . . ."
sleep 5
sudo iwconfig wlan0 essid MyNetworkName
echo "Connecting to network. . ."
sleep 10
sudo dhclient wlan0
echo "Getting IP address. . ."
sleep 5
echo "Done. Closing window. . ."
sleep 5
Shortly after running the line "sudo iwconfig wlan0 essid MyNetworkName" from the script, I notice the speed pick up. Other computers in my home running Windows XP are not affected by this problem, so all indications point to my Ubuntu machine.
Does anyone have any pointers as to how to resolve this?