[RP3] Configuration du réseau sans-fil.
1) Détection du réseau sans-fil :
pi@raspberrypi:~ $ iwlist wlan0 scan ... wlan0 Scan completed : Cell 01 - Address: D0:AE:EC:47:EC:B5 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=70/70 Signal level=-40 dBm Encryption key:on ESSID:"hackmeifyoucan" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 29240ms ago IE: Unknown: 000E6861636B6D656966796F7563616E IE: Unknown: 010882848B960C121824 IE: Unknown: 030106 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: Unknown: 2A0100 IE: Unknown: 32043048606C IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00 IE: Unknown: 2D1A0C101BFFFF000000000000000000000000000000000000000000 IE: Unknown: 3D1606080800000000000000000000000000000000000000 IE: Unknown: DD0900037F01010000FF7F IE: Unknown: DD0A00037F04010000000000 IE: Unknown: 0706465220010D14 IE: Unknown: DD850050F204104A0001101044000102103B0001031047001000000000000010000000D0AEEC47ECB510210005536167656D1023000F4C697665626F78204654544820763210240007422E312E312E3110420009414E313330393246461054000800060050F20400011011000F4C697665626F782046545448207632100800020086103C000101 ... pi@raspberrypi:~ $
2) Informations à retenir :
Nom du réseau : hackmeifyoucan
Type de cryptage : IEEE 802.11i/WPA2 Version 1
3) Fichier de configuration :
Ouvrir :
/etc/wpa_supplicant/wpa_supplicant.conf
Ajouter à la fin :
network={ ssid="hackmeifyoucan" psk="Mot_de_passe_du_reseau_sans-fil" }
4) Redémarrer le Raspberry Pi.
5) Vérification :
pi@raspberrypi:~ $ ifconfig ... wlan0 Link encap:Ethernet HWaddr b8:27:eb:6f:91:9c inet adr:192.168.1.15 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: fe80::ba27:ebff:fe6f:919c/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15018 errors:0 dropped:156 overruns:0 frame:0 TX packets:8885 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:21414807 (20.4 MiB) TX bytes:883816 (863.1 KiB)
6) Test :
pi@raspberrypi:~ $ ping framboisepi.fr -c 3 PING framboisepi.fr (5.135.181.217) 56(84) bytes of data. 64 bytes from ks3287913.kimsufi.com (5.135.181.217): icmp_seq=1 ttl=54 time=45.2 ms 64 bytes from ks3287913.kimsufi.com (5.135.181.217): icmp_seq=2 ttl=54 time=48.1 ms 64 bytes from ks3287913.kimsufi.com (5.135.181.217): icmp_seq=3 ttl=54 time=51.0 ms --- framboisepi.fr ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 45.242/48.153/51.060/2.388 ms
Comments are closed, but trackbacks and pingbacks are open.