You are not logged in.
Pages: 1
Hello,
I just bought a tp-link T2U usb wifi dongle, but I can't get it to work.
I've tried using the this from aur: mt7610u_wifi_sta
The driver does get loaded into the list of lsmod
lsmod | grep sta
mt7650u_sta 897024 1
usbcore 196608 6 btusb,uhci_hcd,uvcvideo,ehci_hcd,ehci_pci,mt7650u_staWhen I unplug en re-plu the dongle I get this in mij dmesg:
[63677.083079] Read file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed(errCode=-1)!
[63677.083082] 1. Phy Mode = 6
[63677.083084] 2. Phy Mode = 6
[63677.083086] NVM is Efuse and its size =1d[1e0-1fc]
[63677.095005] /tmp/yaourt-tmp-rindert/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[63677.110023] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[63677.117744] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[63677.117747] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[63677.117748] Temperature Tx ALC not enabled
[63677.139994] 3. Phy Mode = 6
[63677.139997] AntCfgInit: primary/secondary ant 0/1
[63677.145375] MCS Set = 00 00 00 00 00
[63677.155403] <==== rt28xx_init, Status=0
[63677.156365] 0x1300 = 00073200
[63677.156367] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[63677.156500] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[63677.182863] /tmp/yaourt-tmp-rindert/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../common/cmm_asic.c:2112 assert KeyIdx < 4failed
[63677.183234] /tmp/yaourt-tmp-rindert/aur-mt7610u_wifi_sta/src/mt7610u_wifi_sta/os/linux/../../common/cmm_asic.c:2112 assert KeyIdx < 4failed
[63678.953941] ===>rt_ioctl_giwscan. 15(15) BSS returned, data->length = 3152What confuses me is that I see a line /tmp/yaourt.... this is only the build directory, this file does not longer excist after a reboot.
When I run the command: iw dev this is the output:
#iw dev
phy#0
Interface wlp3s0
ifindex 4
wdev 0x1
addr 00:1e:64:41:c7:82
type managed
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHzI've tried setting state to up with
# ip link set ra0 upafter wich i get this output from ip addr
# ip addr
4: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:1e:64:41:c7:82 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.101/24 brd 192.168.0.255 scope global dynamic wlp3s0
valid_lft 5170sec preferred_lft 5170sec
inet6 fe80::21e:64ff:fe41:c782/64 scope link
valid_lft forever preferred_lft forever
7: ra0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT group default qlen 1000
link/ether 60:e3:27:20:45:5a brd ff:ff:ff:ff:ff:ffI;ve looked into the sources of the aur pacakage mt7610u_wifi_sta wich uses:
https://github.com/Myria-de/mt7610u_wif … o_20130916
This has a last commit 3rd august.
Now I also fount a tp-link driver here:
http://www.tp-link.com/en/download/Arch … tml#Driver
Would it be better to use this official one? This one is more recent, 1sept 2015
I hope someone can help me point in to the right direction.
Thanks,
Rindert
Offline
Hi Rindertv,
as far as I can tell you use the right module for your chipset and it at least get somehow loaded. If you are solely interested in using this WiFi-stick you might safely ignore the errors in dmesg. I get the same output and the stick works fine for me. Though I am very unsatisfied to know that MediaTek did such a sloppy job writing this driver. I don't see any reason why the build directory should be refernced! At least the driver does its job...
The repo from Myria is more or less based on the official (older) driver and as far as I know the official driver from september should not even build correctly.
To be honest I don't get why the WiFi stick should not work for you! Even # ip addr thinks it is working. Just try using
# wifi-menu ra0and see how far you can get. Post further output in case it should not work.
Sorry for being so unhelpful.
Best regards,
Gordian
Last edited by gedh (2016-01-11 21:56:35)
Offline
Thank you gedh. I'm using NetworkManger for my wifi settings. But I think this will work too. After one time wife-menu I got a blinking led. Thanks for your help. I will try more tomorrow.
Offline
Please mark this thread as solved if you problem was resolved and you WiFi stick is fully functional otherwise let me know how I can help you further.
Offline
I assume your problem is fixed by now. Therefore please mark this thread as solved!
Offline
Pages: 1