Hardware Reference
In-Depth Information
Figure 4-5:
he output of
iwconfig
when not
connected to a
wireless network
To connect the Pi to a wireless network, you will need to add some lines into the /etc/net-
work/interfaces ile. (For full details on how this ile is laid out, see the “Wired
Networking” section earlier in this chapter.) First, open the ile in the nano text editor:
sudo nano /etc/network/interfaces
At the bottom of the ile, create a new entry for the USB wireless adapter that reads as fol-
lows (see Figure 4-6):
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf
Search WWH ::




Custom Search