LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wireless dropout - automatic restart?? (http://www.linuxquestions.org/questions/linux-networking-3/wireless-dropout-automatic-restart-917121/)

Polymorph 12-04-2011 06:05 PM

Wireless dropout - automatic restart??
 
I have been using both Kubuntu and Xubuntu with a Belkin F7D1401au Wireless modem for several weeks. Everything works well and fast - was very easy to set up.

However I get a few dropouts - maybe 1 or 2 a day.

Q1: Why? What causes dropouts? How can I avoid them?
Q2: How can I set things so that the connection restarts automatically instead of me having to restart from the taskbar icon?

I cannot see any automatic restart setting either in the modem or in the connection settings.

TIA

Alan

corp769 12-04-2011 06:51 PM

Have you looked in any of your log files for any warnings or errors? I would start there, and see what your system is telling you when the dropouts occur. Without looking at them, you can't really tell what exactly is happening. Look at your dmesg output, along with your /var/log/messages file.

Cheers,

Josh

yooy 12-04-2011 11:44 PM

Hi, there may be problem with 100% cpu usage at time of dropout.

however you can try to restart connection with following code that detect internet connection (in iwconfig) and
restarts nm-applet in while loop

Quote:

iwconfig wlan0 | grep ReplaceWithYourSSID
if [ "$?" -eq 0 ]; then
echo internet available
else
echo "it didn't FOUND internet"
killall nm-applet
sleep 1
nm-applet&
fi

Brains 12-05-2011 07:31 PM

Quote:

However I get a few dropouts - maybe 1 or 2 a day.

Q1: Why? What causes dropouts? How can I avoid them?
In order to crack a WPA encrypted wireless network, one needs to bump a connected computer off the network, Windows will automatically reconnect when the connection is lost, this is where the hacker collects the only packets that will have the key, which is the four way handshake before a connection is established.
It might be a good thing your OS does not automatically connect, if the hacker is impatient, he/she will give up within a minute and try something different later to try and get those packets from the four way handshake.

Polymorph 12-06-2011 07:13 PM

Thanks for all your posts.
I cannot find anything in the error logs that is relevant.
I have not had the problem for the last few days so it is not a problem now.

@Brains.
I did not think of a hacker - maybe that was it. I will change the WPA-PSK key to something stronger that what it is now - just for protection.

Again, thanks for your help

Alan


All times are GMT -5. The time now is 10:16 PM.