Ubuntu 9.10: can't connect using rt73usb Wifi

Asked by Tossty

The wifi adapter use is TL-WN321G. In ubuntu 9.10, the driver used for this wifi adapter is rt73usb.
The issue is ubuntu 9.10 not able to connect to the wifi using TL-WN321G wifi adapter.

Many times of trial is done before the ubuntu 9.10 is able to make the wifi connection. If the wifi connection is successfully done, the connection will only last a while. After then, the wifi is disconnected and ubuntu 9.10 is trying to make network connection again for few times. Then, the network connection is never be succeed to make. Message appear to say network connection is disconnected and offline. A reboot of the ubuntu 9.10 is done to have the wifi connection.

Below message is retrieved from dmesg:
[ 15.898274] phy0 -> rt2500usb_init_eeprom: Error - Invalid RT chipset detected.
[ 15.898289] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Any one can help to connect network using TL-WN321G wifi adapter in ubuntu 9.10? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

can you give the output of:

sudo lshw -C network

Thanks

Revision history for this message
Tossty (tossty) said :
#2

The output of: sudo lshw -C network

  *-network:0
       description: Ethernet interface
       product: NC100 Network Everywhere Fast Ethernet 10/100
       vendor: ADMtek
       physical id: 1
       bus info: pci@0000:02:01.0
       logical name: eth0
       version: 11
       serial: 00:03:6d:1b:ea:26
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list rom ethernet physical
       configuration: broadcast=yes driver=tulip driverversion=1.1.15 latency=32 maxlatency=255 mingnt=255 multicast=yes
       resources: irq:22 ioport:b800(size=256) memory:feaffc00-feafffff memory:40000000-4001ffff(prefetchable)
  *-network:1
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 5
       bus info: pci@0000:02:05.0
       logical name: eth1
       version: 10
       serial: 00:13:8f:e9:a4:91
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s
       resources: irq:22 ioport:b400(size=256) memory:feaff800-feaff8ff
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 00:1d:0f:ae:a3:62
       capabilities: ethernet physical wireless
       configuration: broadcast=yes ip=192.168.1.103 multicast=yes wireless=IEEE 802.11bg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Your wireless device has an IP of 192.168.1.103 from soe place and is using the driver=8139too driver

I think you will need to blacklist:

rt2500usb
rt2x00lib

Using this guide:
http://ubuntuforums.org/showthread.php?t=166624

Revision history for this message
Tossty (tossty) said :
#4

When I check from the connection information window, the active connection information stated the wireless device is using the rt73usb driver, not the 8139too driver. Is it correct?

By blacklisting the rt2500usb, rt2x00lib, will the TL-WN321G connect to the network?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Sounds like the 2 modules are racing to get installed and conflicting. These drivers do not work for your device so need turning away.

I'd imagine the rt73usb would be the driver, 8139too is for the wired connection.

Oops :D

Revision history for this message
Tossty (tossty) said :
#6

I try to unload the module manually, the below messages appeared:

sudo modprobe -r rt2500usb

sudo modprobe -r rt2x00lib
FATAL: Module rt2x00lib is in use.

The drivers are turned away as according to the guide. After reboot, the rt2x00lib is running.
$ lsmod
rt73usb 26336 0
crc_itu_t 1852 1 rt73usb
rt2x00usb 11548 1 rt73usb
rt2x00lib 29756 2 rt73usb,rt2x00usb
led_class 4096 1 rt2x00lib
input_polldev 3716 1 rt2x00lib
mac80211 181236 2 rt2x00usb,rt2x00lib
cfg80211 93052 2 rt2x00lib,mac80211

Any help?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#7

if you run:

sudo rmmod rt2500usb; sudo rmmod rt2x00lib; sudo rmmod rt73usb; sleep 5; sudo modprobe rt73usb

Then try again.

Revision history for this message
Tossty (tossty) said :
#8

The output:
ERROR: Module rt2500usb does not exist in /proc/modules
ERROR: Module rt2x00lib is in use by rt73usb,rt2x00usb

While trying this, the wifi is disconnected. After output the message, the wifi is making network connection for few times but not successful. I reboot the ubuntu to have the wifi connection.

$ sudo modprobe -r rt2500usb
$ sudo modprobe -r rt2x00lib
FATAL: Module rt2x00lib is in use.

$ lsmod
rt73usb 26336 0
crc_itu_t 1852 1 rt73usb
rt2x00usb 11548 1 rt73usb
rt2x00lib 29756 2 rt73usb,rt2x00usb
led_class 4096 1 rt2x00lib
input_polldev 3716 1 rt2x00lib
mac80211 181236 2 rt2x00usb,rt2x00lib
cfg80211 93052 2 rt2x00lib,mac80211

Revision history for this message
Tossty (tossty) said :
#9

I just turning away the driver rt2500usb. Get rt2x00lib out from the blacklist. I don't know will this to get the wifi connection better.

Revision history for this message
Tossty (tossty) said :
#10

Thanks actionparsnip, that solved my question.