Hardware Reference
In-Depth Information
he
wpasupplicant
program stores its coniguration in a ile called
wpa.conf
, located in
the
/etc
directory. To begin coniguring the Pi for wireless access, irst open a new blank ile
for editing by typing the following:
sudo nano /etc/wpa.conf
Enter the following two lines, which again, are the same for any wireless network type.
Replace
Your_SSID
with the SSID for the wireless network to which you want to connect,
and then inish the ile with the lines that match your network's encryption type.
network={
[Tab]
ssid=”
Your_SSID
”
At this point in the coniguration ile, the details required difer depending on the type of
wireless network you are coniguring. he following subsections provide instructions for
completing the coniguration for unencrypted, WEP and WPA networks.
No Encryption
If your wireless network has no encryption in place, inish the
wpa.conf
ile as follows:
[Tab]
key_mgmt=NONE
}
Save the ile with CTRL + O, and then exit
nano
with CTRL + X.
WEP Encryption
If your wireless network uses WEP encryption, inish the
wpa.conf
ile as follows:
[Tab]
key_mgmt=NONE
[Tab]
wep_key0=”
Your_WEP_Key
”
}
Replace
Your_WEP_Key
with the ASCII key for your wireless network's WEP encryption.
Save the ile with CTRL + O, and then exit
nano
with CTRL + X.
WEP encryption is extremely insecure. Readily-available software can break the encryption on
a WEP-protected network in just a few minutes, allowing a third party to use your network. If
you're still running WEP, consider switching to WPA or WPA2 for better security.
TIP