nebs
Posts: 3
Joined: Sat Jun 30, 2012 6:56 pm

Wifi problem with TP-Link TL-WN321G dongle

Sat Jun 30, 2012 7:15 pm

Hi all, I'm having some issues setting up wifi with my TP-Link TL-WN321g dongle. It's RT73-based and from what I've read, it should be realtively easy to get working. I followed this tutorial: http://wiki.debian.org/WiFi/rt73

But when I type iwconfig, nothing happens, my system just hangs until I unplug the adapter.

Under dmesg, I do get some errors, but I'm not sure what they mean:

Code: Select all

usb 1-1.3.5: new high speed USB device number 11 using dwc_otg
usb 1-1.3.5: New USB device found, idVendor=148f, idProduct=2573
usb 1-1.3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3.5: Product: 54M.USB.......
usb 1-1.3.5: Manufacturer: Ralink
usb 1-1.3.5: reset high speed USB device number 11 using dwc_otg
ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
Registered led device: rt73usb-phy3::radio
Registered led device: rt73usb-phy3::assoc
Registered led device: rt73usb-phy3::quality
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x307c with error -110.
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x3018 with error -110.
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x3018 with error -110.
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x3028 with error -110.
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x3030 with error -110.
phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x3030 with error -110.
The adapter is plugged into a powered usb hub and shows up when I do lsusb:

Code: Select all

Bus 001 Device 011: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter
....
and lsmod gives:

Code: Select all

Module                  Size  Used by
...
rt73usb                18768  0 
rt2x00usb               6532  1 rt73usb
rt2x00lib              25780  2 rt73usb,rt2x00usb
... 
Any help would be greatly appreciated!

dktucson
Posts: 36
Joined: Tue Jun 12, 2012 2:57 am

Re: Wifi problem with TP-Link TL-WN321G dongle

Sat Jun 30, 2012 10:07 pm

are you sure it's RTL74? I have a tp-link wn322g usb fob and it's a Zydas chipset. See the instructions here http://omer.me/2012/04/setting-up-wirel ... pberry-pi/
The only thing I needed to do that was not documented on that site was issue a su command
ifup -v wlan0 and I was up & running
My pi is hosting wirelessly at http://dktucson.dyndns.info:86

Hermann
Posts: 6
Joined: Fri May 11, 2012 7:02 pm

Re: Wifi problem with TP-Link TL-WN321G dongle

Mon Jul 09, 2012 7:25 pm

Did anybody find a solution to this? I have exactly the same problem with a Linksys USB adapter.

User avatar
joan
Posts: 15085
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Wifi problem with TP-Link TL-WN321G dongle

Mon Jul 09, 2012 8:25 pm

Debian squeeze and Debian testing.

I have the same device (lsusb: 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter) packaged as a Sweex.

Mine just works "out-of-the-box".

lsmod shows
  • Module Size Used by
    ipv6 290227 24
    fuse 73593 1
    aes_generic 36429 1
    arc4 1319 2
    rt73usb 23490 0
    rt2x00usb 12077 1 rt73usb
    rt2x00lib 43890 2 rt73usb,rt2x00usb
    mac80211 253889 2 rt2x00usb,rt2x00lib
    cfg80211 180459 2 rt2x00lib,mac80211
dmesg shows
  • [ 6.397289] usb 1-1.1: new high speed USB device number 3 using dwc_otg
    [ 6.517565] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 6.528907] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 6.544157] smsc95xx v1.0.4
    [ 6.612807] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:bc:35:3e
    [ 6.709093] usb 1-1.3: new high speed USB device number 4 using dwc_otg
    [ 6.960805] usb 1-1.3: New USB device found, idVendor=148f, idProduct=2573
    [ 6.972664] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 6.984959] usb 1-1.3: Product: 54M.USB.......
    [ 6.992052] usb 1-1.3: Manufacturer: Ralink
    [ 9.804180] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [ 10.208790] EXT4-fs (mmcblk0p2): recovery complete
    [ 10.351590] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 10.364968] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 10.375247] Freeing init memory: 196K
    [ 13.344350] cfg80211: Calling CRDA to update world regulatory domain
    [ 13.877454] usb 1-1.3: reset high speed USB device number 4 using dwc_otg
    [ 14.362135] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [ 14.365219] Registered led device: rt73usb-phy0::radio
    [ 14.365784] Registered led device: rt73usb-phy0::assoc
    [ 14.366360] Registered led device: rt73usb-phy0::quality
    [ 14.369404] usbcore: registered new interface driver rt73usb
    [ 17.111240] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 22.672984] wlan0: authenticate with 00:1b:2f:fc:12:02 (try 1)
    [ 22.674626] wlan0: authenticated
    [ 22.695978] wlan0: associate with 00:1b:2f:fc:12:02 (try 1)
    [ 22.698879] wlan0: RX AssocResp from 00:1b:2f:fc:12:02 (capab=0x471 status=0 aid=2)
    [ 22.698909] wlan0: associated

madko
Posts: 6
Joined: Tue Apr 30, 2013 4:42 pm
Location: France

Re: Wifi problem with TP-Link TL-WN321G dongle

Tue Apr 30, 2013 4:45 pm

I only have this problem on my 256MB Rpi. I'm running Archlinux, trying some iperf crash the network link in a couple of minutes (or seconds some times). Same SDCard, therfor same OS, same driver, same configuration, can run iperf all the day long on my 512MB Rpi without any problems. Seems related to the amount of memory?

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: Wifi problem with TP-Link TL-WN321G dongle

Tue Apr 30, 2013 9:11 pm

Same power supply?
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

madko
Posts: 6
Joined: Tue Apr 30, 2013 4:42 pm
Location: France

Re: Wifi problem with TP-Link TL-WN321G dongle

Wed May 01, 2013 8:36 am

yes same power supply. I just unplug my rpi256 (power, wifi dongle, hdmi), plug instead the rpi512, swap the sdcard from rpi256 to rpi512, and it works fine. No more "rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x307c with error -110". I can try with a swap file, but I don't have any message saying that I'm out of memory, so not sure it will change anything.

Return to “Troubleshooting”