SliTaz SliTaz Forum

You are not logged in.

#1 2012-02-05 14:07:42

Lomapur
Member
Registered: 2012-02-05
Posts: 1

TP-Link TL-WN321G (rt2070) not working.

hello all smile

I downloaded slitaz-cooking live dvd. I tried to configure wireless network on my own, but somehow it's not going well..

SliTaz detected my wireless as wlan0 and loaded TWO modules - rt2800usb and rt2870sta.. Now when I try to find my AP it doesn't show.. I managed to get this card working under Mint, Puppy and a few other distros, sometimes with troubles (modules..) so I'm sure I can do it here as well..

Any ideas how can I get my wireless working ? Great lightweight distro btw smile

Offline

#2 2012-02-05 22:44:17

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: TP-Link TL-WN321G (rt2070) not working.

My tenda W311U with ralink chipset:

ID 148f:3070

autoloads those modules.

#tazpkg -gi firmware-rt2x00

or

Download: http://mirror.clarkson.edu/slitaz/packages/cooking/firmware-rt2x00-20110227.tazpkg

#tazpkg install /path/to/firmware-rt2x00-20110227.tazpkg

Stop networking:

#/etc/init.d/network.sh stop

If I don't unload the modules and reload rt2870sta the connection is slow,unstable,and disconnects.

#modprobe -r rt2800usb

#modprobe -r rt2870sta

#modprobe rt2870sta

Configure networking:

#nano /etc/network.conf

Start networking:

#/etc/init.d/network.sh start

Offline

#3 2012-03-14 17:12:48

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: TP-Link TL-WN321G (rt2070) not working.

We give here feedback, yes?

Ok, RC2 works with one quite old usb-WLAN-stick - and surprisingly not with a newer one, though you, @mojo, gave a nice description of how to do it here:

My output is this one

rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.

rtusb init --->

=== pAd = f8fa0000, size = 464580 ===

<-- RTMPAllocAdapterBlock, Status=0

------------[ cut here ]------------

WARNING: at include/linux/netdevice.h:1557 RtmpPhyNetDevInit+0x6d/0x89 [rt2870sta]()

Hardware name: MS-7100

Modules linked in: rt2870sta(C+) usbip(C) usbip_common_mod(C) parport_pc floppy parport button zd1201 nvidia(P) agpgart i2c_core sky2 snd_ca0106 snd_rawmidi snd_seq_device snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc [last unloaded: rfkill]

Pid: 8785, comm: modprobe Tainted: P        WC  2.6.37-slitaz #2

Call Trace:

[<c1029efc>] warn_slowpath_common+0x65/0x7a

[<f8881fd3>] ? RtmpPhyNetDevInit+0x6d/0x89 [rt2870sta]

[<c1029f20>] warn_slowpath_null+0xf/0x13

[<f8881fd3>] RtmpPhyNetDevInit+0x6d/0x89 [rt2870sta]

[<f888f5ed>] rtusb_probe+0x1c9/0x266 [rt2870sta]

[<c129b5eb>] usb_probe_interface+0xb2/0xec

[<c11fabea>] driver_probe_device+0x81/0xf9

[<c11faca5>] __driver_attach+0x43/0x5f

[<c11fa15e>] bus_for_each_dev+0x3d/0x60

[<c11fa9a3>] driver_attach+0x14/0x16

[<c11fac62>] ? __driver_attach+0x0/0x5f

[<c11fa6cf>] bus_add_driver+0x8d/0x1c5

[<c11fae61>] driver_register+0x77/0xd6

[<c129af9a>] usb_register_driver+0x66/0xf3

[<f88aa021>] init_module+0x21/0x23 [rt2870sta]

[<c1001210>] do_one_initcall+0x71/0x11d

[<f88aa000>] ? init_module+0x0/0x23 [rt2870sta]

[<c104cc29>] sys_init_module+0x1278/0x1419

[<c1379d79>] syscall_call+0x7/0xb

---[ end trace 8042462e60e0e5b4 ]---

netif_stop_queue() cannot be called before register_netdev()

usbcore: registered new interface driver rt2870

eth0: no link during initialization.

it does not connect, but it is recognized as wlan0. Is this output helpfull?

Offline

#4 2012-03-14 17:31:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: TP-Link TL-WN321G (rt2070) not working.

@michaelbischof

Please reply with complete identification of your usb wireless adapter chipset :

#tazpkg -gi usbutils

#lsusb

Offline

#5 2012-03-14 18:36:29

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: TP-Link TL-WN321G (rt2070) not working.

Thanks, here is the output:

root@slitaz:~# lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Offline

#6 2012-03-14 19:29:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: TP-Link TL-WN321G (rt2070) not working.

My Ralink has identical chipset ID , no idea why yours will not work.

Does this adapter work with godanes tank-iso?

Tank iso includes ralink firmware and rt2800usb autoloads and works for the kernel 3.2.10

rt2870sta was removed after kernel 2.6.39

Offline

#7 2012-03-14 19:51:01

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: TP-Link TL-WN321G (rt2070) not working.

Hmm,

#uname -r

2.6.37-slitaz

I added the firmware anyway. In some Ubuntu forum I found a remark that sometimes original source software from Ralink is better. So I downloaded this one:

2010_0709_RT2870_Linux_STA_v2.4.0.1

But, do not laugh please: after todays fiasco with compiling Kompozer I do not dare to compile another thing! :-(

@mojo: this is not (!) essential for me. I can use as well some other tools for wifi. I am just perfecting and learning.

The Xorg-server issue is much more severe!

As you see here the modules are loaded, its recognized, it even scans - but it does not take the parameters from the config file and subsequently it cannot connect. In wicd it is shown, but not as connected.

root@slitaz:~# iwlist wlan0 scan

wlan0     Scan completed :

          Cell 01 - Address: 00:1A:4F:99:DD:79

                    Protocol:802.11b/g

                    ESSID:"WLANMB"

                    Mode:Managed

                    Channel:11

                    Quality:63/100  Signal level:-65 dBm  Noise level:-115 dBm

                    Encryption key:on

                    Bit Rates:22 Mb/s

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]