After initial setup
of the Raspberry Pi, it's time for an internet connection. While using
Internet over Ethernet is just plug-n-play business on Raspberry Pi,
setting-up an Wireless connection takes a little more effort.
To get started with WiFi, first we need to connect an supported USB
WiFi dongle to the Pi. Make sure you are using an Powered USB Hub (shown
in the picture below) as Raspberry Pi is not able to reliable power
multiple USB devices, follow the instructions next to configure your
WiFi dongle on the Pi.
I used my Sony Bravia USB WiFi dongle UWA-BR100 and it got connected within minutes after configuring as below.
We need to update our Raspberry Pi to the latest version of wheezy-raspbian image and install WiFi Manager Utility wpa_gui to get things done as follows :
We need to update our Raspberry Pi to the latest version of wheezy-raspbian image and install WiFi Manager Utility wpa_gui to get things done as follows :
- First update your wheezy-raspbian installation to the latest version by using the following command in terminal.
- Once updated, use the following command to install graphical WiFi connection manager wpa_gui.
- Now, edit /etc/network/interfaces file using sudo nano
/etc/network/interfaces and append the following to it. - Now create a new file /etc/wpa_supplicant/wpa_supplicant.conf with the following contents:
- Now use following commands for proper permissions :
- You can now launch wpa_gui from /usr/share/applications/wpa_gui.desktop (Make a shortcut to desktop using cp /usr/share/applications/wpa_gui.desktop ~/Desktop)
- From now on you can use this nifty graphical WiFi connection manager on Raspberry Pi to configure your WiFi access point settings as shown below.
sudo apt-get update && sudo apt-get install raspberrypi* raspi-config
sudo apt-get install wpagui
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant.conf
sudo adduser pi netdev
No comments:
Post a Comment