LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Closed Thread
 
Search this Thread
Old 02-07-2008, 12:39 AM   #1
hide1713
LQ Newbie
 
Registered: Jun 2007
Posts: 9

Rep: Reputation: 0
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 rt200lib
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.
 
Old 02-07-2008, 02:20 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wn321g+ Wireless Internet USB Adapter driver problems. Please help me hide1713 Linux - Hardware 9 02-21-2008 09:41 AM
wireless usb - rt73 ex625 Slackware 6 05-03-2007 05:16 PM
USB Belkin wireless adapter problem Sliver85 Linux - Wireless Networking 2 12-29-2006 08:54 AM
2Wire Usb wireless adapter problem sfamonkey Linux - Hardware 2 06-23-2004 08:42 PM
LinkSys Wireless USB adapter problem kooyue Linux - Hardware 5 02-04-2004 03:58 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration