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

Re: Welches Paket als Ersatz für network-manager



Tilo Schwarz:
> 
> Da ich eigentlich gar kein GUI-Tool brauche, wollte fragen, was Ihr denn  
> nehmt, um automatisch das WLAN zu aktivieren bzw. von einem WLAN zu einem 
> anderen WLAN umzuschalten, wenn man das Netz wechselt.

Ich konfiguriere einfach die entsprechenden Netze mit wpasupplicant. Das
Ein-/Ausschalten mache ich per Hardware-Switch.

# /etc/network/interfaces:

iface wlan0 inet manual
    wpa-driver wext
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf.local

iface default inet dhcp

iface home inet dhcp

iface work inet dhcp
    # startet/stoppt OpenVPN mit der Konfiguratio work.conf
    openvpn work

# /etc/wpa_supplicant/wpa_supplicant.conf.local:

network={
    ssid="wpa network"
    id_str="home"
    key_mgmt=WPA-PSK
    psk="<wpa-key>"
}

network={
    ssid="wep network"
    id_str="foo"
    key_mgmt=NONE
    wep_key0=<WEP-KEY>
    wep_tx_keyidx=0
}

network={
    ssid="open wifi using vpn"
    id_str="work"
    key_mgmt=NONE
}


J.
-- 
I enjoy shopping, eating, sex and doing jigsaw puzzles of idealised
landscapes.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: