====== wifi rpi ======
===== configure key =====
Using the WNA3100M netgear adapter
nano /etc/wpa_supplicant/wpa_supplicant.conf
replace
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
with
network={
ssid="your_ssid"
scan_ssid=1
psk="your_password"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
reboot the rpi
knowing that :
* ssid: your wifi name
* scan_ssid: value of 1 means broadcast and value of 2 means hidden (suggest you enter value of 1)
* psk: your wifi password
* proto: your choice of RSN or WPA. RSN is WP2 and WPA is WPA1. (most config is RSN)
* key_mgmt: your choice of WPA-PSK or WPA-EAP (pre-shared or enterprise respectively)
* pairwise: your choice of CCMP or TKIP ( WPA2 or WPA1 respectively)
* auth_alg: OPEN option is required for WPA and WPA2 (other option, SHARED & LEAP)
==== sources ====
[[http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=30348]]
[[http://databoyz.wordpress.com/tag/how-to-setup-network-and-wpa_supplicant-conf-file-on-raspberry-pi/]]
===== disable wifi =====
Open the config.txt file with nano:
sudo nano /boot/config.txt
Find the following line:
# Additional overlays and parameters are documented /boot/overlays/README
And add these two lines under it:
dtoverlay=disable-wifi
dtoverlay=disable-bt
==== source ====
[[https://raspberrytips.com/disable-wifi-raspberry-pi/]]
{{tag>rpi bash wifi}}