I am using a TP-Link Model TL-WN725N, V2.1. I ran into the same problems as above, using my old WEP wifi router, but then I found this blog: https://jeffskinnerbox.wordpress.com/20 ... pberry-pi/
The /etc/network/interfaces file that works is:
Code: Select all
# The loopback network interface
auto lo
iface lo inet loopback
# The primary (wired) network interface
iface eth0 inet dhcp
# The wifi (wireless) network interface
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid YOUR_SSID
wireless-key YOUR_WEP_KEYviewtopic.php?p=462982
Based on the above link, here's a summary of what I did. The following assumes your wired network connection is working. If not, see the above link for instructions on how to download the drivers using another computer:
1) Check the version of Linux you have. Use the command uname -a to find the version of Linux:
e.g.:
Code: Select all
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux
pi@raspberrypi ~ $The drivers support wifi modules with the following USB IDs;
ID 2001:3310
ID 2001:330F
ID 07B8:8179
ID 0BDA:0179
ID 0BDA:8179
ID 056E:4008
ID 2001:3311
ID 0DF6:0076
[Joe: mine is ID 0BDA:8179 ]
2) With the wifi dongle connected to your Pi, use command lsusb to show a list of USB devices connected to your Pi. You should see your wifi module in the list and the USB ID of the device which you can check is in the list above. If it is read on to find the device driver you need and how to install it.
[Joe: The lsusb command doesn't show my USB dongle yet, but the dmesg command does. The USB ID is:
0BDA:8179,
which is a Realtek 802.11n NIC]
3) From the Pi 2 list of driver files in the same link:
viewtopic.php?p=462982
I found:
3.18.7-v7+ #755, #756 - 8188eu-v7-20150212.tar.gz
4) Now get the new driver and install it. For the Pi 2 the filename includes an additional "-v7" so use the following commands (change yyzz in the wget and tar commands to select the right driver file.
install.sh will install the driver file and copy the file 8188eu.conf to directory /etc/modprobe.d.)
NOTE: the driver files for 3.18.xx+ and 3.18.xx-v7+ and newer versions contain two additional files, install.sh and 8188eu.conf. Download the driver file selecting the right driver for your kernel version from the list above then to install the 3.18 drivers first untar the tar.gz driver file and then run the install.sh command.
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8188eu-v7-2015yyzz.tar.gz
tar xzf 8188eu-v7-2015yyzz.tar.gz
./install.shFinal problem resolved: The RPi browser's WPA configuration tool evidently will not work with WEP. In any case, the browser now works with the wireless dongle.]