Roshan George wrote:
> Hi everyone,
> 
> So I have this computer that's connected to the Internet over wi-fi. Now
> the thing is, whenever the power fails, the wi-fi router goes down. The
> computer then attempts to connect to my network and fails. This is all
> expected so far. However, after it fails to connect to the network, it
> attempts again anyway and then pauses for me to enter the key to join my
> network. I can guarantee at this point that the wi-fi network it is
> connecting to simply does not exist.

All good so far. NM periodically scans to check if the configured AP is
in range, and if so, asks for the key to connect (if in a disconnected state).

> The problem with this behaviour is that if there is a power failure, the
> computer doesn't reconnect to the network like it should. It just sits
> there waiting for me to enter a key. When I cancel the key entry window,
> it rescans for networks, finds my network and connects just fine.

"Connects just fine" ? So the AP is up now ?

> I can guarantee that it is not connecting to a neighbour's network or
> anything.

Ok.
Using your neighbour's network is bad. Very bad. :)

> How do I ensure that it reconnects to this network only when it comes
> back without any human intervention on each event?

I am not sure if NM has an option to store keys.

But you can use wpa_supplicant and store the key in your config file.
Once wpa_supplicant is started in the background, and if the AP drops out
for some reason, wpa_s periodically issues a scan request to the driver and
automatically reconnects if the AP comes back online again.
No 'human intervention' is required. :)

Sujith
-- 
http://sujith-m.blogspot.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to