Troubleshooting wireless network connectivity

Posted by taserian on Ask Ubuntu See other posts from Ask Ubuntu or by taserian
Published on 2011-01-01T22:36:16Z Indexed on 2011/01/01 22:58 UTC
Read the original article Hit count: 423

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about wireless

Related posts about Troubleshooting