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. |
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&
|
Post the contents of your resolv.conf
|
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 |
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. |
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. |
All times are GMT -5. The time now is 08:50 AM. |