Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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?

share|improve this question

closed as too localized by fossfreedom Feb 21 '12 at 21:50

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Did you test using the internet alone. With no other computer connected to the network/internet connection. If you did then did you install a torrent downloading program or did you leave something in schedule to download?. If you just installed ubuntu right now then it might be downloading from the repositories the updated list to show you what upgrades are available. But if the problem persists for a long time (and in the beginning is ok) it might be somebody else connecting to the router/internet connection/network. Please verify and let us know. –  Luis Alvarado Jan 1 '11 at 22:57
What does "zeroes out" mean? Do you get disconnected, or do you just get slow speed? - Also, what's your wireless hardware? Type lspci | grep Network or lsusb | grep Network to find out, if you're not sure. – I also, on a side note, have a general troubleshooting guide to wireless networks at Can't connect to Wireless Access Point after installing proprietary drivers –  Stefano Palazzo Jan 1 '11 at 23:01
Cyrex: It's not a new installation. I can get speeds above 50kbps shortly after running my script, but it always devolves to crawling speeds shortly thereafter. –  taserian Jan 2 '11 at 0:31
Stefan: Basically, the internet connection is worthless; I can't pull any pages, and any request basically times out. Wireless hardware is a RealTek RTL8191SEvB. –  taserian Jan 2 '11 at 0:35
Hello, this question has no information and activity for a very long time. I am closing it for now. If by any reason you think this question is still viable or useful in anyway or that there is still a good chance it will be answered please flag it to a moderator or add a comment with the reason(s) why you want it open. Regards –  fossfreedom Feb 21 '12 at 21:49