[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 5 server - auto-reconnect to wireless networks?



On Sun, Feb 21, 2010 at 04:46:51PM +0000, chombee wrote:
> I'm wondering how to get my Debian server to automatically reconnect to
> my wireless network. The server is an OLPC XO-1 running Debian 5 Stable
> via the DebXO distribution. It does not have a wired ethernet port, it
> connects to the internet through my home wireless network. The wireless
> router occasionally gets restarted, sometimes when I'm not home, and
> this requires me to physically go to the laptop to manually reconnect
> either by operating the network manager applet with the mouse or by
> running a script that uses ifconfig, iwconfig and dhclient.

The network manager package description says it "is not intended for
usage on servers".  If you want an interface to be permanently up,
without even logging in, you should set it up in
/etc/network/interfaces.

Check out /usr/share/doc/wpasupplicant/README.modes.gz from the
wpasupplicant package. Your case should be covered by section 2:
"Mode #1: Managed Mode".

Mirko


Reply to: