📎 Webclip
How-To: Add WiFi to the Raspberry Pi
The page explains that the Raspberry Pi normally uses a network cable, so a USB WiFi adapter is the practical way to connect it to a wireless home network. It also warns that the adapter should mention Linux support, because not every device works plug and play.
Reading notes#
- Use a cheap USB WiFi adapter in one of the Raspberry Pi USB ports.
- Choose an adapter that mentions Linux in the product description or package.
- After booting, run
dmesg | moreto check whether the operating system found the adapter. - Edit
/etc/network/interfaceswithsudo nano /etc/network/interfaces. - Set
wlan0to DHCP and addwpa-ssidandwpa-pskwith the network name and password. - Save the file with Ctrl+O and exit nano with Ctrl+X.
- Reload networking with
sudo service networking reload. - Run
ifconfigand look for a valid IP address underinet addr.
