Configure WLAN0 on Raspberry Pi

I  don’t know how I did it.  I lost wireless connectivity, so I was forced to plugin my Raspberry Pi to the Lan.  Once, plugged in I could find it via the DHCP table on my router.

I first checked the iwlist wlan0 scan to see if my home network was listed.  The home network was listed.  It was.

I checked the wpa_supplicant configuration ~ $ sudo vi /etc/wpa_supplicant/wpa_supplicant.conf  and confirmed it pointed to the right network. I also checked dmesg to see if there were any hints for wpa_supplicant.

I looked at the /etc/network/interfaces and found

iface wlan0 inet manual

which I converted to

iface wlan0 inet dhcp

 Also wpa-debug-level 3 was very helpful and must proceed the wpa-roam statement in the interfaces.

Also running the wpa_supplicant command can result in some good details

pi@seconds ~ $ sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

I also found this link helpful. It showed how to reset manual to dhcp in the /etc/network/interfaces file

Finally, I used to finally review, and finally I broke down and set a static ip. Not sure why it won’t automatically take a dhcp configuration.





Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.