You are not logged in.

#1 2008-07-08 19:39:17

^-Ubermensch-^
Member
Registered: 2008-07-08
Posts: 58

Firmware TP-LINK WN321G

Hi i have bought one TP-LINK WN321G.

[ubermensch@tux-devil ~]$ sudo lsusb -v -d 148f:2573

Bus 002 Device 003: ID 148f:2573 Ralink Technology, Corp. 
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          0x2573 
  bcdDevice            0.01
  iManufacturer           1 Ralink
  iProduct                2 54M.USB.......
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      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
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
[ubermensch@tux-devil ~]$

I looked for a firmware that supported injection and monitor mode. I thought about having found what serves me in AUR : http://aur.archlinux.org/packages.php?ID=15377but after I have installed the package the peripheral one has kept on not working.
Sets some outputs that I can be useful:

[ubermensch@tux-devil ~]$ sudo lsmod | grep rt
Password: 
rt73                  220800  0 
rt2500usb              22272  0 
parport_pc             34884  1 
rt73usb                24832  0 
rt2x00usb               9600  2 rt2500usb,rt73usb
rt2x00lib              20480  3 rt2500usb,rt73usb,rt2x00usb
parport                31596  3 parport_pc,ppdev,lp
rfkill                  6036  1 rt2x00lib
input_polldev           3720  1 rt2x00lib
crc_itu_t               2304  1 rt2x00lib
mac80211              130572  2 rt2x00usb,rt2x00lib
agpgart                28244  2 nvidia,intel_agp
rtc_cmos                9120  0 
rtc_core               15516  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
usbcore               129904  10 rt73,rt2500usb,rt73usb,rt2x00usb,usbhid,snd_usb_audio,snd_usb_lib,ehci_hcd,uhci_hcd
[ubermensch@tux-devil ~]$
[ubermensch@tux-devil ~]$ sudo dmesg | grep firmware
phy0 -> [b]rt2x00lib[/b]_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ubermensch@tux-devil ~]$
[ubermensch@tux-devil ~]$ sudo ifconfig -a 
eth0      Link encap:Ethernet  HWaddr 00:11:2F:41:F0:26  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:2fff:fe41:f026/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:267 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:89255 (87.1 Kb)  TX bytes:41962 (40.9 Kb)
          Interrupt:22 Base address:0x2c00 

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:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:79.22.18.232  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:82907 (80.9 Kb)  TX bytes:34421 (33.6 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1D:0F:B0:E7:A2  
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1D-0F-B0-E7-A2-00-00-00-00-00-00-00-00-00-00  
          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)

[ubermensch@tux-devil ~]$
[ubermensch@tux-devil ~]$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:2F:41:F0:26  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:2fff:fe41:f026/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:223 errors:0 dropped:0 overruns:0 frame:0
          TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:88985 (86.8 Kb)  TX bytes:41716 (40.7 Kb)
          Interrupt:22 Base address:0x2c00 

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:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:79.22.18.232  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:82763 (80.8 Kb)  TX bytes:34301 (33.4 Kb)

[ubermensch@tux-devil ~]$

I don't know if I have done well to use that package of AUR. In every case I pray you pointed out me the correct street...
roll:rolleyes:

Offline

#2 2008-07-25 15:11:55

^-Ubermensch-^
Member
Registered: 2008-07-08
Posts: 58

Re: Firmware TP-LINK WN321G

Help me...
roll:rolleyes:

Offline

#3 2008-07-25 20:31:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Firmware TP-LINK WN321G

lsmod shows rt73, rt73usb, and rt2500usb all loaded - not good. Decide which you want to use and blacklist everything else. I used both rt73 and rt73usb myself at various times, and I'd recommend rt73usb. Don't know anything about your injection/monitor requirements though.

Offline

#4 2008-07-26 08:45:31

^-Ubermensch-^
Member
Registered: 2008-07-08
Posts: 58

Re: Firmware TP-LINK WN321G

I've changed:

[ubermensch@tux-devil ~]$ lsmod | grep rt
parport_pc             34884  1 
parport                31596  3 parport_pc,ppdev,lp
agpgart                28244  2 nvidia,intel_agp
rt73                  220416  1 
rtc_cmos                9120  0 
rtc_core               15516  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
usbcore               129904  8 snd_usb_audio,snd_usb_lib,usbhid,ov51x_jpeg,rt73,ehci_hcd,uhci_hcd
[ubermensch@tux-devil ~]$

cool:cool:

Offline

#5 2008-11-23 14:02:30

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Firmware TP-LINK WN321G

hi! i have the same adapter, but i don't understand how to configure it to get it work, i need that package from AUR and then what should i put in rc.conf and where? tongue

now in XP i have configured my wireless router with this

- my static IP Address
- Subnet Mask
- Default Gateway
- DHCP Server
- DNS Servers

So i need to know how to set it up the SAME way in arch, so i can download my torrents big_smile as in XP


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB