Le Tue, 7 Oct 2008 21:36:34 +0200
Pierre Allken-Bernard <[EMAIL PROTECTED]> a écrit:

> Bonsoir,
> Pour me connecter à ma Freebox (wifi) depuis mon PC portable, j'ai dans mon
> fichier /etc/network/interface :
> 
> auto wlan0
> iface wlan0 inet dhcp
> wireless_essid mafreebox
> wireless_key maclef
> 
> Mais j'ai un second chez-moi avec une autre freebox, un autre essid et
> une autre key. Plutôt que de modifier le fichier ci-dessus à chaque
> fois, y a-t-il un bon moyen de mettre toutes les infos dedans ?
> 
> M
guessnet est fait pour ça et marche très bien:

[...]
allow-hotplug wlan0

mapping wlan0
       script /usr/sbin/guessnet-ifupdown
       map timeout 3
       map verbose: true
       map debug:false
       map ESSID1 ESSID2 MAISON BOULOT

iface ESSID1 inet dhcp
        wpa-conf managed
        wpa-ap-scan 1
        wpa-scan-ssid 1
        wpa-ssid ESSID1
        wpa-key-mgmt WPA-PSK
        wpa-psk clef1WPA
       test-wireless essid ESSID1
[...]
iface BOULOT inet dhcp
        wpa-conf managed
        wpa-ap-scan 1
        wpa-scan-ssid 1
        wpa-ssid BOULOT
        wpa-key-mgmt WPA-PSK
        wpa-psk clefWPAduboulot
        test-wireless essid BOULOT

voilà

François Boisson

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à