LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2011, 06:05 PM   #1
Polymorph
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Xubuntu 12.40
Posts: 18

Rep: Reputation: 1
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
 
Old 12-04-2011, 06:51 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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
 
Old 12-04-2011, 11:44 PM   #3
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
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
 
Old 12-05-2011, 07:31 PM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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.
 
Old 12-06-2011, 07:13 PM   #5
Polymorph
LQ Newbie
 
Registered: Dec 2010
Location: NSW, Australia
Distribution: Xubuntu 12.40
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
  


Reply

Tags
kubuntu, wireless, xubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu automatic Restart mscsiva Linux - Newbie 3 08-26-2010 03:22 PM
Automatic Restart Fracker Linux - Server 1 05-25-2010 06:25 AM
automatic restart of apache while booting dianarani Linux - General 2 06-12-2007 06:45 AM
Automatic restart cmgleipzig Linux - Newbie 6 07-14-2004 11:44 PM
Automatic Restart Nezar Linux - General 11 09-24-2003 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration