LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-14-2010, 09:23 AM   #1
arunvk
Member
 
Registered: Nov 2005
Location: India
Distribution: Fedora 11
Posts: 194

Rep: Reputation: 30
nm-applet timeout


Hi,

I connect to the internet via wifi access. I have this problem that whenever there is a powercut, my wifi router switches off and then nm-applet tries to connect and then after sometime times out i.e. nm-applet gives up on trying to restore the connection.

I want nm-applet to keep trying to restore the connection indefinitely because if the electricity is back lets say after an hour then it should immediately connect without manual intervention.

I did google around trying to search for the configuration parameters but was not able to do so.

Has anyone found a solution to my particular problem or any work around.

thanks.
 
Old 09-15-2010, 08:56 AM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,134

Rep: Reputation: 132Reputation: 132
you can make some small script that check if there is connnection(iwconfig, grep), if not, it run killall nm-applet and than nm-applet&
 
Old 09-15-2010, 03:08 PM   #3
buzzybeemarketing
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Rep: Reputation: 0
Post the contents of your resolv.conf
 
Old 09-16-2010, 04:06 AM   #4
arunvk
Member
 
Registered: Nov 2005
Location: India
Distribution: Fedora 11
Posts: 194

Original Poster
Rep: Reputation: 30
Hi yooy,

I can do that but trying to find simpler ways

Hi buzzybeemarketing,

following are the contents:

# Generated by NetworkManager
nameserver 10.0.0.1
 
Old 09-17-2010, 02:50 AM   #5
buzzybeemarketing
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Rep: Reputation: 0
nameserver

Your wifi connection is looking for a nameserver at your local address because of

nameserver 10.0.0.1

That's probably why it's timing out. Your connection should automatically retrieve the proper name servers through your ISP. Try commenting out that line and restarting.
 
Old 09-17-2010, 02:58 AM   #6
buzzybeemarketing
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Rep: Reputation: 0
resolv.conf

Here is what my resolv.conf looks like

# Generated by NetworkManager
domain home
search home
nameserver 192.168.1.1

I was using openDNS before where two name servers from openDNS were added by network manager to this file. I reverted back to regular dns.
 
  


Reply


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
VPNC seems to timeout quickly- how do I lengthen the timeout? spiffytech Linux - Software 28 01-03-2014 05:45 AM
[SOLVED] nm-applet and battery missing from indicator applet in lucid someshpr Ubuntu 2 11-16-2010 05:02 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-01-2010 11:20 PM
applet tannu_ah Linux - Newbie 1 04-09-2009 10:58 AM
Java applet error: "Applet Failed" nro Programming 1 08-28-2004 05:52 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration