Ralink 5572 / TP Link TL-TDN3200 Troubles

Hi guys,

I’m having (/have been having for several weeks now) trouble getting my TP-Link TL-WDN3200 USB wireless adapter to work. I’ve tried all that I could find on t’internet relating to this and also tried applying some of my own (limited) linux knowledge to the problem with varying degrees of success: (I’m running a pretty fresh installation of OpenSUSE 12.2 GNOME, on my homemade i5-12GB etc PC. I should also mention that this dual boots with Windows 7 where the USB stick works perfectly)

I believe this card uses a Ralink 5572 chipset, and given the apparent scarcity of my specific card the rest of my searches have been for this.

So my first step was to try this guide, alongside the README file in the driver download package on the Ralink website:
L’Antre du Tryphon
whilst this would get a wireless card visible in NetworkManager, it wouldn’t see any networks, and when I turned wireless on within NM, my device started making an odd high pitched noise.

Since that guide was written (and indeed my first attempt at this) Ralink has released a new version of the ‘driver’ to download. I again tried to work my way through the readme instructions (although they have clearly just been cut and pasted from a different module, with limited (read: without) adaptation (which is almost certainly necessary)) and this time did manage to get the card to find my network, but it would not authenticate. After a reboot, however, this functionality (able to scan and find networks) was lost, and so (after repeated attempts at these two stages) I tried step three:

Using Ndiswrapper. When trying to load the driver from the vendor CD, I had to go ‘back’ to a win XP x64 (from Win 7, Vista) before it would load, but either way this now appears loaded. This is the current state of my PC, (i.e. with the driver loaded in ndiswrapper) and I remember somewhere along the line (whilst trying various other things to get this working) that it was possible to load a device into ifconfig (it currently doesn’t recognise my device, see below). If anyone could remind me how to do this (I couldn’t re-find the guide I was previously following) if they think it might help, it would be much appreciated.

I fear I am rambling on without purpose so will post the output of the stuff requested in the stickys:

No mention of 'Wireless LAN' in Hardware Information.
No mention of USB stick in Network Card or Network Interface.
Card present under USB, but Class, Class (spec): Unclassified device
No sign of "UDI="

#> lsusb
Bus 002 Device 002: ID 148f:5572 Ralink Technology, Corp.

#> /sbin/ifconfigeth0      Link encap:Ethernet  HWaddr 1C:6F:65:2C:9B:D9  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          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)


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2359 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2359 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:187843 (183.4 Kb)  TX bytes:187843 (183.4 Kb)


usb0      Link encap:Ethernet  HWaddr 1E:74:23:57:54:68  
          inet addr:192.168.42.111  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::1c74:23ff:fe57:5468/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17407 errors:3 dropped:0 overruns:0 frame:3
          TX packets:16715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13898787 (13.2 Mb)  TX bytes:3933119 (3.7 Mb)



Note: usb0 here is my Android tether, not the desired USB dongle



#> lsusb -v
Bus 002 Device 002: ID 148f:5572 Ralink Technology, Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x148f Ralink Technology, Corp.
  idProduct          0x5572 
  bcdDevice            1.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0





#> dmesg -T


[Thu Jan 24 19:53:32 2013] usb 2-4: new high-speed USB device number 2 using ehci_hcd
[Thu Jan 24 19:53:32 2013] Refined TSC clocksource calibration: 2799.966 MHz.
[Thu Jan 24 19:53:32 2013] Switching to clocksource tsc
[Thu Jan 24 19:53:32 2013] usb 2-4: New USB device found, idVendor=148f, idProduct=5572
[Thu Jan 24 19:53:32 2013] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Thu Jan 24 19:53:32 2013] usb 2-4: Product: 802.11 n WLAN
[Thu Jan 24 19:53:32 2013] usb 2-4: Manufacturer: Ralink
[Thu Jan 24 19:53:32 2013] usb 2-4: SerialNumber: 1.0



#> /usr/sbin/iwconfig
usb0     no wireless extensions.

eth0      no wireless extensions.


lo        no wireless extensions.



#> ndiswrapper -l
rt2870 : driver installed
    device (148F:5572) present

In conclusion, any help/insights that you could offer would be very much appreciated.

At the moment I have to access the internet via a USB tether on my Android which then goes through the WiFi, but as you might imagine this is far from ideal. Obviously I can just use Windows but would rather build up my ‘abilities’ on Linux and also would like to make Linux my primary OS.

If there is any info that I have missed that would help, please let me know. I’m relatively happy working at a terminal, fwiw, but would still class myself as a relative linux n00b, particularly with regards to command-line networking!

Thanks in advance,

Thonners

On 01/24/2013 05:06 PM, Thonners wrote:
>
> Hi guys,
>
> I’m having (/have been having for several weeks now) trouble getting my
> TP-Link TL-WDN3200 USB wireless adapter to work. I’ve tried all that I
> could find on t’internet relating to this and also tried applying some
> of my own (limited) linux knowledge to the problem with varying degrees
> of success: (I’m running a pretty fresh installation of OpenSUSE 12.2
> GNOME, on my homemade i5-12GB etc PC. I should also mention that this
> dual boots with Windows 7 where the USB stick works perfectly)
>
> I believe this card uses a Ralink 5572 chipset, and given the apparent
> scarcity of my specific card the rest of my searches have been for this.
>
> So my first step was to try this guide, alongside the README file in
> the driver download package on the Ralink website:
> 'L’Antre du Tryphon ’ (http://www.ctheroux.com/2012/09/)
> whilst this would get a wireless card visible in NetworkManager, it
> wouldn’t see any networks, and when I turned wireless on within NM, my
> device started making an odd high pitched noise.
>
> Since that guide was written (and indeed my first attempt at this)
> Ralink has released a new version of the ‘driver’ to download. I again
> tried to work my way through the readme instructions (although they have
> clearly just been cut and pasted from a different module, with limited
> (read: without) adaptation (which is almost certainly necessary)) and
> this time did manage to get the card to find my network, but it would
> not authenticate. After a reboot, however, this functionality (able to
> scan and find networks) was lost, and so (after repeated attempts at
> these two stages) I tried step three:
>
> Using Ndiswrapper. When trying to load the driver from the vendor CD, I
> had to go ‘back’ to a win XP x64 (from Win 7, Vista) before it would
> load, but either way this now appears loaded. This is the current state
> of my PC, (i.e. with the driver loaded in ndiswrapper) and I remember
> somewhere along the line (whilst trying various other things to get this
> working) that it was possible to load a device into ifconfig (it
> currently doesn’t recognise my device, see below). If anyone could
> remind me how to do this (I couldn’t re-find the guide I was previously
> following) if they think it might help, it would be much appreciated.
>
> I fear I am rambling on without purpose so will post the output of the
> stuff requested in the stickys:
>
>
> Code:
> --------------------
> No mention of ‘Wireless LAN’ in Hardware Information.
> No mention of USB stick in Network Card or Network Interface.
> Card present under USB, but Class, Class (spec): Unclassified device
> No sign of “UDI=”
>
> --------------------
>
>
>
>
>
> Code:
> --------------------
> #> lsusb
> Bus 002 Device 002: ID 148f:5572 Ralink Technology, Corp.
>
> --------------------
>
>
>
>
> Code:
> --------------------
> #> /sbin/ifconfigeth0 Link encap:Ethernet HWaddr 1C:6F:65:2C:9B:D9
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> 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)
>
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:2359 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2359 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:187843 (183.4 Kb) TX bytes:187843 (183.4 Kb)
>
>
> usb0 Link encap:Ethernet HWaddr 1E:74:23:57:54:68
> inet addr:192.168.42.111 Bcast:192.168.42.255 Mask:255.255.255.0
> inet6 addr: fe80::1c74:23ff:fe57:5468/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:17407 errors:3 dropped:0 overruns:0 frame:3
> TX packets:16715 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:13898787 (13.2 Mb) TX bytes:3933119 (3.7 Mb)
>
>
>
> --------------------
>
> Note: usb0 here is my Android tether, not the desired USB dongle
>
>
>
>
>
> Code:
> --------------------
>
>
> #> lsusb -v
> Bus 002 Device 002: ID 148f:5572 Ralink Technology, Corp.
> Couldn’t open device, some information will be missing
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 0 (Defined at Interface level)
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 64
> idVendor 0x148f Ralink Technology, Corp.
> idProduct 0x5572
> bcdDevice 1.01
> iManufacturer 1
> iProduct 2
> iSerial 3
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 53
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0x80
> (Bus Powered)
> MaxPower 450mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 5
> bInterfaceClass 255 Vendor Specific Class
> bInterfaceSubClass 255 Vendor Specific Subclass
> bInterfaceProtocol 255 Vendor Specific Protocol
> iInterface 5
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes
> bInterval 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes
> bInterval 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x02 EP 2 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes
> bInterval 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes
> bInterval 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x04 EP 4 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes
> bInterval 0
>
>
>
> --------------------
>
>
>
> Code:
> --------------------
>
>
> #> dmesg -T
>
>
> [Thu Jan 24 19:53:32 2013] usb 2-4: new high-speed USB device number 2 using ehci_hcd
> [Thu Jan 24 19:53:32 2013] Refined TSC clocksource calibration: 2799.966 MHz.
> [Thu Jan 24 19:53:32 2013] Switching to clocksource tsc
> [Thu Jan 24 19:53:32 2013] usb 2-4: New USB device found, idVendor=148f, idProduct=5572
> [Thu Jan 24 19:53:32 2013] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [Thu Jan 24 19:53:32 2013] usb 2-4: Product: 802.11 n WLAN
> [Thu Jan 24 19:53:32 2013] usb 2-4: Manufacturer: Ralink
> [Thu Jan 24 19:53:32 2013] usb 2-4: SerialNumber: 1.0
>
>
>
> --------------------
>
>
>
> Code:
> --------------------
> #> /usr/sbin/iwconfig
> usb0 no wireless extensions.
>
> eth0 no wireless extensions.
>
>
> lo no wireless extensions.
>
>
> --------------------
>
>
>
> Code:
> --------------------
>
> #> ndiswrapper -l
> rt2870 : driver installed
> device (148F:5572) present
>
> --------------------
>
>
> In conclusion, any help/insights that you could offer would be very
> much appreciated.

Your device (148f:5572) does not have a driver built into Linux, which is why
you are having trouble. Too bad you have worked on this for some time without
asking here.

After searching a bit on the web, and the TP-Link site in particular, I find no
mention of a Linux driver for that device. Only Windows drivers are available.

Do you need the dual-band capability? If not, I recommend the TP-Link TL-WN722N,
which is a 2.4 GHz unit. On E-bay, these can be purchased for $18, and they work
“out-of-the-box”.

I don’t recommend using ndiswrapper.

Thanks for the advice, I can get one of these for <£10 from my usual PC store, so I think I’ll just do that. I kind of chose my current one as it was 300mbps, 5GHz, in an effort to ‘future-proof’ it, but at the moment I’m still on 2.4GHz, so may as well get one of the TL-WN772N’s that you recommend.

Not sure why it took me so long to think of asking here. I guess I wanted to make sure I had exhausted all the other options first, but as the idea only came to me when my search found a previous post here, I clearly just wasn’t thinking!

Thanks again for the infos.

Peace

Thonners