Archives par étiquette : Raspberry

Mémo – Raspberry WIFI

Un petit mémo pour configurer plusieurs interfaces WIFI sur un RaspberryPI (raspbian)

#/etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface IDunique1 inet dhcp
iface IDunique2 inet dhcp

iface default inet dhcp
#/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

eapol_version=1

network={
    ssid="Mon SSID"
    scan_ssid=1
    mode=0
    proto=WPA2
    auth_alg=OPEN
    pairwise=CCMP
    group=CCMP
    key_mgmt=WPA-PSK
    psk="mon secret partagé"
    id_str="IDunique1"
    priority=1
}

network={
    ssid="Mon SSID"
    scan_ssid=1
    mode=0
    proto=WPA2
    auth_alg=OPEN
    pairwise=CCMP
    group=CCMP
    key_mgmt=WPA-PSK
    psk="mon secret partagé"
    id_str="IDunique2"
    priority=1
}