LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rt73 wn321g+ wireless usb adapter problem. Please help me (https://www.linuxquestions.org/questions/slackware-14/rt73-wn321g-wireless-usb-adapter-problem-please-help-me-619244/)

hide1713 02-06-2008 11:39 PM

rt73 wn321g+ wireless usb adapter problem. Please help me
 
Dear firends. I have a TP-Link TL-WN321G+ wireless internet USB adapter. It works fine under w32. I search forums and find it use rt73 chipset. I installed http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz driver:rt73-cvs-2008020510. It can be loaded by kernel.
My system is slackware 12 and use 2.6.24 kernel with network->wireless support compiled. Please help me.

This is the message from dmesg
Quote:

usb 7-1: new full speed USB device using uhci_hcd and address 2
usb 7-1: device descriptor read/64, error -71
usb 7-1: device descriptor read/64, error -71
usb 7-1: new full speed USB device using uhci_hcd and address 3
usb 7-1: not running at top speed; connect to a high speed hub
usb 7-1: configuration #1 chosen from 1 choice
rtusb init ====>
idVendor = 0x148f, idProduct = 0x2573
usbcore: registered new interface driver rt73
The vendorid and producted were in rtmp_def.h

However: I couldn't bring this adapter up.
Quote:

sudo iwconfig wlan0 mode manage
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Network is down.
I can see it from lsusb and lwconfig
Quote:

lsusb:
Bus 001 Device 003: ID 148f:2573 Ralink Technology, Corp.
Quote:

iwconfig wlan0

wlan0 RT73 WLAN
Link Quality:0 Signal level:0 Noise level:113
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
I think I use wrong driver but not sure.
This is the out put of /etc/rc.d/rc.inet1
Quote:

SIOCSIFFLAGS: Invalid argument
./rc.inet1: wlan0 information: 'Any ESSID'
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Network is down.
Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; Network is down.
Error for wireless request "Set Bit Rate" (8B20) :
SET failed on device wlan0 ; Network is down.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Network is down.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Network is down.
Polling for DHCP server on interface wlan0:
SIOCSIFFLAGS: Invalid argument
This is part of my rc.inet1.conf
Quote:

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP
WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxR
ate=0"
#WLAN_WPA[4]="wpa_supplicant"
Other files
Quote:

cat modprobe.d/ralink
alias wlan* rt73

modprobe.d/blacklist

blacklist rt73usb
blacklist rt2570
blacklist rt2500usb
blacklist rt2×00lib
Then I try to insall RT73_Linux_STA_Drv1.0.4.0.tar.gz from ralinktech web site.
Quote:

~/RT73_Linux_STA_Drv1.0.4.0/Module# make all
make -C /lib/modules/2.6.24/build SUBDIRS=/root/RT73_Linux_STA_Drv1.0.4.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24'
scripts/Makefile.build:46: *** CFLAGS was changed in "/root/RT73_Linux_STA_Drv1.0.4.0/Module/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/root/RT73_Linux_STA_Drv1.0.4.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24'
make: *** [all] Error 2
I use the latest driver and change CFLAGS in Makefile to EXTRA_CFLAGS.
Quote:

~/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module# make all
make -C /lib/modules/2.6.24/build SUBDIRS=/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24'
CC [M] /root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o
/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: In function 'usb_rtusb_probe':
/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:1133: error: implicit declaration of function 'SET_MODULE_OWNER'
/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:1154: error: 'struct net_device' has no member named 'weight'
/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:1181: warning: passing argument 1 of 'dev_get_by_name' from incompatible pointer type
/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:1181: error: too few arguments to function 'dev_get_by_name'
make[2]: *** [/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/root/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24'
make: *** [all] Error 2
This is where I could get so far. Please kindly provide your opinion. Thank you guys.

XavierP 02-07-2008 01:20 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here


All times are GMT -5. The time now is 11:32 PM.