Using a wifi adapter

So after a little tinkering, I figured out that the dongles only worked when trying to hop onto a 2.4 Ghz channel, my 5 Ghz channel gave a error with sched scan. I think this has to do with setting the freq ranges by country but I didn’t experiment with that.

At any rate, I got all three adapters to work with Owen’s commands and without having to remount the root directory in read/write mode.

To get the party started, follow the directions below:

wpa_supplicant -D nl80211 -i wlan0 -c <(wpa_passphrase "Wifi name" "Wifi password") &```

After that is running, you may need to barter a DHCP lease from your router with:

 `dhcpcd wlan0`  

But, you should only need this once if you use the same wireless adapter.

Confirmed wireless adapters that work:

- [Official Raspberry Pi Wifi Adapter](https://www.adafruit.com/products/2638?gclid=COWunsHQhMsCFQsDaQodrIcI-A)
- [Edimax EW-7811Un](http://www.amazon.com/Edimax-EW-7811Un-150Mbps-Raspberry-Supports/dp/B003MTTJOY)
- [Tenda W311M](http://www.amazon.com/Tenda-W311M-150Mbps-Wireless-Adapter/dp/B006GCYAOS)

Hope this helps!
2 Likes