Setting Wireless on Raspberry Pi

It is quite straightforward to setup a Raspberry Pi with Noobs. I added a wireless network adapter (USB) to the Raspberry. However, it will not work out of box, so I had to manually set it up.

Editing and configuring wpa_supplicant.conf was no help. I remember doing it in past but this time there were errors. So I did a quick fix in /etc/network/interfaces file

#allow-hotplug wlan0
#iface wlan0 inet manual
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan0
iface wlan0 inet dhcp
 wpa-ssid "SSID_OF_NETWORK"
 wpa-psk "NETWORK_PASSWORD"

Restart network: $ sudo ifup wlan0

This did the trick!

Just ensure, the power supply is good enough else it may lead to weird behavior.

Advertisements
Posted in: IoT

One thought on “Setting Wireless on Raspberry Pi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s