LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2014, 11:20 AM   #1
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Rep: Reputation: 17
Is there any software that will automatically reconnect if wifi connection is lost?


I'm using Arch Linux on an old eeepc 701. I have network-manager installed on a lightweight window manager, and I've noticed that occasionally the wifi connection will drop and not re-connect, but the network-manager program will still display the wifi as being connected. I only notice that the connection has dropped when I try to connect to a website. I then have to go to network-manager and connect to hidden wireless network again.

Is there any program that will test the connectivity of the wifi connection and reconnect to the hidden network if it is not connected?
 
Old 04-13-2014, 12:56 PM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135

Rep: Reputation: 277Reputation: 277Reputation: 277
It may be overkill, and it doesn't necessarily address *why* your connectivity is spotty, but you could run a cron job to check for connectivity every few minutes, and restart nm if unsuccessful:

Code:
0 * * * * ping <router_ip, or google,etc> -c1 || /etc/rc.d/rc.networkmanager restart
cheers,

Last edited by mrclisdue; 04-13-2014 at 12:58 PM.
 
Old 04-13-2014, 06:24 PM   #3
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Original Poster
Rep: Reputation: 17
This particular method unfortunately wouldn't be able to work with my setup... but it gives me an idea. Thanks.
 
  


Reply

Tags
eeepc, hidden network, wifi, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wicd does not automatically REconnect porphyry5 Linux - Software 0 12-31-2013 01:44 AM
[SOLVED] can Firefox automatically reload a lost connection? newbiesforever Linux - Software 2 10-27-2012 01:45 AM
lost wifi connection portia Linux - Hardware 5 10-26-2009 02:32 PM
reconnect adsl connection automatically sunpascal Linux - Newbie 2 02-12-2006 12:00 AM
Can't reconnect internet when connection has lost Mikessu *BSD 1 06-18-2004 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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