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

Re: Network manager doesn't autoconnect to wireless networks in stable?



Klistvud wrote:

> Dne, 02. 11. 2009 16:44:55 je chombee napisal(a):
>> Does no one know the answer to this? Is not reconnecting
>> automatically
>> 
>> the default behaviour of network manager in Debian 5 stable or am I
>> the
>> only one who has this behaviour?
>> 
>> On Mon, Oct 26, 2009 at 11:26:14PM +0000, chombee wrote:
>> > Hi,
>> > 
>> > I've noticed that in Debian 5 network manager doesn't automatically
>> > reconnect to wireless networks that it has connected to before,
>> e.g.
>> 
>> > after logging in, you have to use the mouse to tell the applet
>> which
>> 
>> > wireless network to connect to. I've been googling and looking
>> through
>> > the man files but I can't seem to find out why the behaviour is
>> disabled
>> > or how to re-enable it. Is there a way to enable network manager's
>> usual
>> > automatic reconnecting behaviour in Debian 5?
>> > 
>> > Thanks
>> > 
>> > 
>> > --
>> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> > with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>> > 
>> 
>> 
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>> 
>> 
>> 
> 
> Actually, it does reconnect. Every once in a while, I have to select my
> network by hand (LEFT-clicking on the little network icon on the
> panel), but that's it. Maybe editing your "Default Networks" would
> help, as suggested by Patrick Wiseman?
> 

The problem with the network manager for me was that it works after a user
logon. I have the users home on an nfs server and I need a connection over
wifi+WPA before user log on to be able to mount the home dir first. So
network manager is worthless to me. All I have done then is to enable the
interface in /etc/network/interfaces and create a /etc/wpa_supplicant.conf
client.

cat /etc/wpa_supplicant.conf

# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
#ctrl_interface="DIR=/var/run/wpa_supplicant" GROUP=wheel
#
#home network; allow all valid ciphers
   network={
       ssid="<your SSID>"
       scan_ssid=1
       key_mgmt=WPA-PSK
       psk="<your wpa key>"
   }


For the network manager you have to put the user into the net group
(plugdev,netdev)

hope this helps.

regards


Reply to: