my TP link WN727N not working after upgrade to 13.2

Hi
I upgrade my Opensuse to 13.2
my wireless USB card a TP-link WN727N is not working after that ?

the card is not detected

 HP620-linux:/home/bernard # ifconfig
eth0      Link encap:Ethernet  HWaddr D8:D3:85:25:DA:ED  
          inet adr:192.168.1.148  Bcast:192.168.1.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:176546 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:258119411 (246.1 Mb)  TX bytes:7393262 (7.0 Mb)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:10289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:4206376 (4.0 Mb)  TX bytes:4206376 (4.0 Mb)


and

 HP620-linux:/home/bernard # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
1: hp-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: yes
2: hp-gps: GPS
        Soft blocked: yes
        Hard blocked: yes


could you help me ?
regards

If this can help
I have try to configure network with yast instead of networkmanager
I got yjis error message when i try to add network wireless card

"undefined method ] for nilclass
caller /mount/mp_00001/usr/share/Yast2/modules/lantems.db:1334 block in buillan overview

regards

With your usb wireless device plugged in, what it reported by the following comand?

usb-devices

*Look for the section pertaining to the wireless device

 HP620-linux:/home/bernard # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
1: hp-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: yes
2: hp-gps: GPS
        Soft blocked: yes
        Hard blocked: yes

could you help me ?
regards

I note from the above that you also have an internal wireless device that is turned off (by switch or keyboard), and soft blocked as well. The soft-blocking may be preventing the external device as well perhaps? Anyway, you could try

rfkill unblock wifi

Then see if the external device is activated with a network interface present.

HI

the command usb-devices give that

 linux-2has:/home/bernard # usb-devices 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1a.7
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04f2 ProdID=b1ac Rev=85.51
S:  Manufacturer=Chicony Electronics Co., Ltd.
S:  Product=HP Webcam [2 MP Fixed]
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

**T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=148f ProdID=7601 Rev=00.00
S:  Manufacturer=MediaTek
S:  Product=802.11 n WLAN
S:  SerialNumber=1.0
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA
I:  If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
**
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1a.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1a.1
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1a.2
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=07 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=08 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=03.16
S:  Manufacturer=Linux 3.16.7-7-desktop uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.2
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=08 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c517 Rev=38.10
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
linux-2has:/home/bernard # 


but rfkill list does’nt show the usb wifi

rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
1: hp-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: yes
2: hp-gps: GPS
        Soft blocked: yes
        Hard blocked: yes


and in do’nt see the device in knetwork manager

the module rt2800usb is loaded

  lsmod       
Module                  Size  Used by
rt2800usb              27189  0 
rt2x00usb              20742  1 rt2800usb
rt2800lib              93172  1 rt2800usb
rt2x00lib              59403  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              691383  3 rt2x00lib,rt2x00usb,rt2800lib
crc_ccitt              12707  1 rt2800lib
fuse                  100461  3 


yes i have turned off the internal wifi which is broken

so ??

The ‘usb-devices’ output shows that no supporting driver is loaded

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=148f ProdID=7601 Rev=00.00
S:  Manufacturer=MediaTek
S:  Product=802.11 n WLAN
S:  SerialNumber=1.0
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA
I:  If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

The rt2800usb driver is not the correct driver for this chipset (148f:7601)

The following reference
https://wikidevi.com/wiki/TP-LINK_TL-WN727N_v4
suggests that there is a Mediatek driver (mt7601u_sta) available here, which you’ll need to compile

FWIW, here’s a user with the same hardware discussing the same
http://superuser.com/questions/774554/linux-unable-to-get-usb-wifi-drivers-to-work-or-compile

This may be useful to you:

Linux driver for MT7601U with patch for stability and performance on recent kernel versions
https://github.com/porjo/mt7601

Good luck.

hi
thank’s for your answer !!

i will see. i am suprising because i had the same usb key, lookd like they have change the harware recently !

regards

I have try this method
I got module , the usb stick gies light and … the pc crashe !!!

when i try to compile the module i got this error message

make[3]: *** [_module_/home/download/opensuse/13.2/DPO/os/linux] Error 2
Makefile:195: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.16.7-7-obj/x86_64/desktop'
Makefile:390: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2


so ??
regards

Hi
now i can load module

linux-2has:/home/bernard # ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether d8:d3:85:25:da:ed brd ff:ff:ff:ff:ff:ff
4: ra0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff


but the wireless is not on

linux-2has:/home/bernard # lsmod |grep mt7601
mt7601Usta            660093  0 
linux-2has:/home/bernard # 


some more information :

modinfo mt7601Usta
filename:       /lib/modules/3.16.7-7-desktop/kernel/drivers/net/wireless/mt7601Usta.ko
version:        3.0.0.3
description:    RT2870 Wireless Lan Linux Driver
author:         Paul Lin <paul_lin@ralinktech.com>
license:        GPL
srcversion:     41295810BBFC312E413DE32
alias:          usb:v2A5Fp1000d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp6370d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7650d*dc*dsc*dp*ic*isc*ip*in*
depends:        
vermagic:       3.16.7-7-desktop SMP preempt mod_unload modversions 
parm:           mac:rt28xx: wireless mac addr (charp)



It looks like you’re close - the module is loaded and ‘ra0’ exists. Can you configure it? I think that you mentioned that you were using NetworkManager, try creating a connection there.

Hi
close but not arrived !!
as i said and i don’t know how first time i make mdule and load it i saw light goes on on wifi stick , but the pc crash.
now the module is loaded but even with yast2 or knetworkmanager i can’t arrive to connect. the green light on usb stick is not on and i can’t see wifi network. looks like before when i use rt2800usb !!

regards

Also i have try to compile patch with version 3.0.0.4 but i got and error message on make

and for exemple what i got wih iw commands

linux-2has:~/.local/share/Trash/files/DPO # iwlist ro0
iwlist: unknown command `ro0' (check 'iwlist --help').
linux-2has:~/.local/share/Trash/files/DPO # iwlist ra0
iwlist: unknown command `ra0' (check 'iwlist --help').
linux-2has:~/.local/share/Trash/files/DPO # iwlist ra0 scanning
ra0       Interface doesn't support scanning : Network is down

linux-2has:~/.local/share/Trash/files/DPO # iwconfig
ens5      no wireless extensions.

ra0       Ralink STA  
          
lo        no wireless extensions.

linux-2has:~/.local/share/Trash/files/DPO # iwconfig ra0 essid on
Error for wireless request "Set ESSID" (8B1B) :
    GET failed on device ra0 ; Network is down.
linux-2has:~/.local/share/Trash/files/DPO # 


I’m out of my depth with this, so unless others can chime in, google may be your best friend here. Reading post #5 and #6 of this archlinux thread, it is mentioned that wpa_supplicant may be required. Anyway, maybe worthwhile checking that it is installed and running.

HI
thak’s for your help
wpa_suplicant is allready install so …

best regard

I begin to read and try to configute but … not like in book !!

for example the first step return that

linux-2has:/etc/wpa_supplicant # wpa_supplicant -B -i ra0 -c /etc/wpa_supplicant/example.conf
Successfully initialized wpa_supplicant
rfkill: WLAN hard blocked
nl80211: Driver does not support authentication/association or connect commands
ra0: Failed to initialize driver interface


i still working on it

  1. I’m concerned about the ‘rfkill: WLAN hard blocked’ message. This usually means a device that is fully-switched off, but I don’t know if this relates to your onboard device. I know you disabled the onboard wireless, but I think if wifi is soft-blocked by rfkill, then AFAIU, no wireless device will be activated. Anyway, try to soft unblock with
rfkill unblock wifi
  1. Did you do
depmod -a

after the driver was installed? (Just in case there are module dependencies needed to be taken care of)

  1. If you have a windows environment available, it might be worthwhile to check the wireless device activation status there first.

hi
thank’s to take care of me

i have run depmod … nothing
i have run rfkill … nothing

I try ndiswrapper and when i install it i got !

 linux-2has:/home/download/opensuse/13.2/WN727N/TL-WN727N_V4_131203/Driver Files/Windows7_64bit # ndiswrapper -l
netr28ux : invalid driver!


so i am tired !!

At this point, I’d be inclined to give up and choose a device that is supported by Linux.