SpaceCowboy
Posts: 26
Joined: Tue Mar 17, 2015 3:43 pm

No IP Address For TP-LINK TL-WN725N V2.1

Mon Apr 13, 2015 2:59 am

I installed a TP-LINK TL-WN725N V2.1 wifi dongle and I'm not getting an ip address for the wlan0.

Here is what I did:

Looked at the kernel version to get the proper driver

Code: Select all

uname -a
Kernel: 3.18.7-v7+ #755
Got the driver and installed using the following commands:

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20150212.tar.gz
tar -zxvf 8188eu-20150212.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/3.18.7-v7+/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.18.7-v7+/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
sudo modprobe 8188eu
My /etc/network/interfaces file looks like this:

Code: Select all

auto lo

iface lo inet loopback
iface eth0

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
My /etc/wpa_supplicant/wpa_supplicant.conf looks like this:

Code: Select all

ctrl_interfaces=DIR=/var/run/wpa_supplicant GROUP=netdev

network={
         ssid="my ssid name"
         psk="my ssid password"
        }
After rebooting, I looked form the IP address of the wlan0

Code: Select all

ifconfig

eth0:	(I get the normal information)

lo	(I get the normal information)

wlan0	Link encap:Ethernet HWaddr c4:6e:1f:24:ca:83
	UP BROADCAST MULTICAT MTU:1500
	RX packets:0 errors:0 dropped:0 overruns:0 frame:0
	TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
	collisions:0 txqueuelen:1000
	RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
When in the GUI wifi configuration, I see the Adapter wlan0 and the Network ssid. However, it continuously scans, then shows a 4-Way Handshake (station) on the status, then loops again over and over. If I select the Disconnect button, it stops... the Adapter still shows wlan0 but the Network is blank. The Status says 'Could not get status from wpa_supplicant. Last Message says '- signal 15 received. If I click the Scan button, it show no available wifi connections.

Just to mention that if I install this wifi dongle on my Windows box, it works just fine. That tells me the hardware device is good.

I'm at a loss right now and would appreciate some assistance.

Thanks

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: No IP Address For TP-LINK TL-WN725N V2.1

Mon Apr 13, 2015 10:55 am

SpaceCowboy wrote:I installed a TP-LINK TL-WN725N V2.1 wifi dongle and I'm not getting an ip address for the wlan0.

Here is what I did:

Looked at the kernel version to get the proper driver

Code: Select all

uname -a
Kernel: 3.18.7-v7+ #755
Got the driver and installed using the following commands:

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20150212.tar.gz
tar -zxvf 8188eu-20150212.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/3.18.7-v7+/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.18.7-v7+/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
sudo modprobe 8188eu
I'm at a loss right now and would appreciate some assistance.

Thanks
You downloaded the wrong driver version.

Try this instead

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-v7-20150212.tar.gz
tar -zxvf 8188eu-v7-20150212.tar.gz
./install.sh
Note the additional "-v7" in the driver filename for the Pi 2 B. Have another look at viewtopic.php?p=462982#p462982 and check the driver names again. :D


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

SpaceCowboy
Posts: 26
Joined: Tue Mar 17, 2015 3:43 pm

Re: No IP Address For TP-LINK TL-WN725N V2.1

Mon Apr 13, 2015 11:26 am

Many thanks MrEngman! I'll try it this evening after I get home.

SpaceCowboy
Posts: 26
Joined: Tue Mar 17, 2015 3:43 pm

Re: No IP Address For TP-LINK TL-WN725N V2.1

Tue Apr 14, 2015 3:51 am

That worked. Thanks again!

Return to “HATs and other add-ons”