Procedure for WIFI

Interfacing Wi-Fi Module with Raspberry Pi

First check the version of Linux you have. Use the command uname -a to find the version of Linux.

Here version of Linux is 4.1.6-v7

Connect wifi dongle -TP-LINK TL-WN725N V2 and similar wifi dongles using the 8188eu driver module for systems using the Raspbian image.

With the wifi dongle connected to Pi use command lsusb to show a list of USB devices connected to Pi. See wifi module in the list and the USB ID of the device in the list below.

This driver supports wifi modules with the following USB IDs
ID 2001:3310
ID 2001:330F
ID 07B8:8179
ID 0BDA:0179
ID 0BDA:8179
and for 3.12.28+ and newer the additional devices:

ID 056E:4008
ID 2001:3311
ID 0DF6:0076

Get Realtex drivers for Pi 2 :

rtl8188eu drivers for 4.1.xx-v7+.

select write one

4.1.4-v7+ #808       – 8188eu-v7-20150806.tar.gz
4.1.5-v7+ #809       – 8188eu-v7-20150813.tar.gz
4.1.6-v7+ #810       – 8188eu-v7-20150818.tar.gz
4.1.6-v7+ #811, #812 – 8188eu-v7-20150818.tar.gz
4.1.7-v7+ #813, #815 – 8188eu-v7-20150914.tar.gz

On command line write

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-2015yyzz.tar.gz

Replace yyzz with version of kernel as seen using uname –a command. Here it is 0818

Then

tar xzf 8188eu-2015yyzz.tar.gz

and then

./install.sh

Reboot the system now.

 install.sh will install the driver file and copy the file 8188eu.conf to directory /etc/modprobe.d. The 8188eu.conf file will disable power management for the 8188eu driver and disable the inbuilt driver version r8188eu.

Once the driver is loaded, configuration of the network set up is needed so the Pi will connect to the wifi network if it is not already done. [4]

Configuring wifi network for raspbian using wpa_supplicant.

Open LX Terminal

sudo nano /etc/network/interfaces

Default /etc/network/interfaces file as supplied in the raspbian image – do not edit if ipaddress supports dhcp protocol. Else for providing static ip edit file as given in screenshot.

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

1

Use the command sudo nano /etc/wpa_supplicant/wpa_supplicant.conf to open and edit the file and add the network={…..} section. Exit the editor and save the file using keys cntl-X, Y, Enter.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid=”Your-Network-Name”
psk=”Your-Network-Password”
}

2

Now open Menu>Preference>Wi-Fi Configuration

3

Select available Network

4

5

[1] https://www.youtube.com/watch?v=clly61d8sX8

[2] https://www.youtube.com/watch?v=lfHRLLRbErw

[3] https://www.raspberrypi.org/forums/viewtopic.php?p=462982

[4] http://www.fars-robotics.net/

[5] https://www.raspberrypi.org/forums/viewtopic.php?p=479340#p479340

[6] http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-via-the-command-line/