You are not logged in.
Pages: 1
Hi,
I use an USB-WLAN-device. But it does not connect.
The hardware autodetection tool recognizes for it 2 drivers:
rt2870sta
rt2800usb
With lsusb I get:
Bus 001 Device 004: ID 148f:3070
Wireless tools and firmware is installed.
root@slitaz:/home/tux# lsmod | grep rt
rt2870sta 316830 0
rt2800usb 7855 0
rt2800lib 24574 1 rt2800usb
rt2x00usb 5720 1 rt2800usb
rt2x00lib 20851 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 145388 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 99896 2 rt2x00lib,mac80211
parport_pc 16061 0
parport 20983 1 parport_pc
agpgart 18221 2 intel_agp,intel_gtt
With tazpanel it scans, but it does not connect then.
Offline
rt2800usb is loaded and conflicts with rt2870sta on Slitaz-4.0 2.6.37 kernel
Stop networking:
# /etc/init.d/network.sh stop
Unload both wireless modules:
# modprobe -r rt2800usb
# modprobe -r rt2870sta
Load the correct module:
# modprobe rt2870sta
Start networking:
# /etc/init.d/network.sh start
Online
Thanks a lot, Mojo, for such a damned quick response. But it doesn't work:
root@slitaz:/home/tux# lsmod | grep rt
rt2870sta 316830 0
parport_pc 16061 0
parport 20983 1 parport_pc
agpgart 18221 2 intel_agp,intel_gtt
root@slitaz:/home/tux# /etc/init.d/network.sh start
Configuring wlan0... [ OK ]
Starting udhcpc client on: wlan0...
udhcpc (v1.18.4) started
ifconfig: SIOCSIFFLAGS: Operation not permitted
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
No lease, forking to background
Offline
Post output:
[c]ls /sys/class/net[/c]
[c]cat /etc/network.conf[/c]
[c]uname -a[/c]
Verify firmware is good with repack:
[c]tazpkg repack firmware-rt2x00[/c]
Online
root@slitaz:/home/tux/Desktop# ls /sys/class/net
dummy0 eth0 lo wlan0
I do not want to repeat myself - lightning speed! ;-)
root@slitaz:/home/tux/Desktop# cat /etc/network.conf
# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
# Set default interface.
INTERFACE="eth0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="no"
# Set IP address and netmask for a static IP.
IP="192.168.0.6"
NETMASK="255.255.255.0"
# Set route gateway for a static IP.
GATEWAY="192.168.0.1"
# Set DNS server for a static IP.
DNS_SERVER="192.168.0.1"
# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="wlan0"
WIFI_ESSID="WLANMB"
WIFI_MODE="managed"
WIFI_KEY="key - of WLANMB"
WIFI_KEY_TYPE="on"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
root@slitaz:/home/tux/Desktop# uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux
root@slitaz:/home/tux/Desktop# tazpkg repack firmware-rt2x00
Repacking : firmware-rt2x00-20120227.tazpkg
================================================================================
Can't repack, firmware-rt2x00 files have been modified by:
rt61-firmware
rt73-firmware
rt2870usb-firmware
May be the last detail shows the problem?
Offline
Edit and save:
# leafpad /etc/network.conf
INTERFACE=wlan0
WIFI_KEY_TYPE="any"
Your install of firmware-rt2x00 is broken.
# tazpkg remove firmware-rt2x00
# tazpkg -gi firmware-rt2x00
Make sure you download/install a fresh copy of firmware-rt2x00 verify it can be repacked.
root@slitaz:/home/tux# tazpkg repack firmware-rt2x00
Repacking : firmware-rt2x00-20120227.tazpkg
================================================================================
Package firmware-rt2x00 repacked successfully.
Size : 16.0K firmware-rt2x00-20120227.tazpkg
# /etc/init.d/network.sh stop
# modprobe -r rt2870sta
# modprobe rt2870sta
# /etc/init.d/network.sh start
Online
HI mojo,
it worked straight as you prescribed, but finally it did not connect:
wlan0 Ralink STA ESSID:"" Nickname:"RT2870STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:-105 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Of course after having started the thread one wants to bring it to a successful end. This usb-Wlan-stick works straight under win XP, it is not defect therefore. For an old Linuxer this is humiliating, though. ;-)
Offline
Post output:
iwlist wlan0 scan
Online
root@slitaz:/home/tux/Desktop/grub2.from.ClI# iwlist wlan0 scan
wlan0 Scan completed :
Cell 02 - Address: 00:1A:4F:99:DD:79
Protocol:802.11b/g
ESSID:"WLANMB"
Mode:Managed
Channel:11
Quality:100/100 Signal level:-50 dBm Noise level:-105 dBm
Encryption key:on
Bit Rates:22 Mb/s
The other cells are different WLAN-networks. This here is mine.
In addition I saw:
root@slitaz:/home/tux/Desktop/grub2.from.ClI# /etc/init.d/network.sh start
Configuring wlan0... [ OK ]
Starting wpa_supplicant for any key type...
Starting udhcpc client on: wlan0...
Selected interface 'wlan0'
root@slitaz:/home/tux/Desktop/grub2.from.ClI# ifconfig
wlan0 Link encap:Ethernet HWaddr 78:44:76:7D:6F:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:722 errors:0 dropped:0 overruns:0 frame:0
TX packets:682 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:153421 (149.8 KiB) TX bytes:48928 (47.7 KiB)
Offline
The wireless adapters radio is working but it's not associating.
iwlist wlan0 scan should have IE: info transmitted from each wifi router at the bottom which is missing.
For example:
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
The builtin wifi (broadcom)on my Dell laptop will associate but stalls on getting an i.p. address from my newest wifi router when running WinXP or Windows 7
If I boot the laptop with Slitaz-4.0 or cooking it associates and gets i.p. address within 5 seconds.
Online
Ok, thanks again. This means that this usb-Wlan-card then will not work here, yes? I have a Netgear WG511 pcmcia card here and have to try this. A pity because this usb-card has a high sensitivity. Any issuses known for this netgear thing?
As it works with winXP: shall I try it using ndiswrapper or something like this?
Regards,
Michael
Offline
Ok, I now tried it with slitaz 3.2-slitaz rolling.
Here everything is fine - but the module rt2870 from /lib/firmware cannot be inserted. ,,Wrong formate"...
root@slitaz:/lib/firmware# insmod rt2870sta
insmod: ERROR: could not insert module rt2870sta: Invalid module format
Offline
rt2870sta found in Linux kernels: 2.6.29–2.6.31
slitaz 3.2-slitaz rolling 148f:3070 ralink chipset: rt2800usb
modprobe rt2800usb
Online
Thanks again, mojo!
root@slitaz:~# iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 00:1A:4F:99:DD:79
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=60/70 Signal level=-50 dBm
Encryption key:on
ESSID:"WLANMB"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000143aacf18ceb
Extra: Last beacon: 778ms ago
IE: Unknown: 0006574C414E4D42
IE: Unknown: 010582848B962C
IE: Unknown: 03010B
IE: Unknown: 2A0107
IE: Unknown: 32080C1218243048606C
IE: Unknown: DD0A0800280101000200FF0F
And as you may see here the module is installed and seems to work:
root@slitaz:~# lsmod | grep rt
rt2800usb 10549 0
rt2x00usb 6148 1 rt2800usb
rt2800lib 31732 1 rt2800usb
rt2x00lib 24616 3 rt2800usb,rt2x00usb,rt2800lib
mac80211 162879 3 rt2x00usb,rt2800lib,rt2x00lib
cfg80211 117056 2 rt2x00lib,mac80211
agpgart 17720 2 intel_agp,intel_gtt
parport_pc 14653 0
parport 21411 2 ppdev,parport_pc
So again the problem that it is not associated.
Therefore my question again: shall I try ndiswrapper?
(On Debian Squeeze the same problem occurs with this USB-WLAN-Stick; however it works with the Netgear WG511/v2 pcmcia-card).
Regards,
Michael
Offline
Hi Michael !
Ndiswrapper works for me with an old ACX111 chipset pci wireless card on SliTaz-4.0
I have not tested ndiswrapper on cooking yet.
Maybe ndiswrapper will work for you?
Online
Ok, I will give it a try. Can you tell me, just by chance, where to find a Windows XP driver for the above given USB-Stick?
I already installed slitaz-tool-boxes but it does not work (no GUI). It Linux slitaz 3.2-slitaz.
Offline
Ralink windows drivers: http://www.ralinktech.com/en/04_support/support.php?sn=500
The new wifibox written for 4.0 has no gui for ndiswrapper.
ndiswrapper tutorial
debian: http://wiki.debian.org/NdisWrapper
Explains extracting and installing windows driver
[c]ndiswrapper -i <DRIVERNAME>.inf[/c]
Verify drivers listed
[c]ndiswrapper -l[/c]
Remove any loaded linux modules for adapter
modprobe -r rt2800usb
modprobe ndiswrapper
Online
Hi mojo,
thanks for your help but I give it up for now.
Neither this USB-card nor my netgear pcmcia-card worked with ndiswrapper. In case of the netgear card may be I got the wrong *.inf-file. I have a card made in Taiwan, v2 - and there a lot of issues with it.
Under Debian Lenny on the same machine this netgear card works:
root@michael-dell-2:/home/michael# lsmod | grep p
p54common 18459 1 p54pci
led_class 1757 1 p54common
lspci -v shows:
03:00.0 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette]/ISL3886 [Prism Javelin/Prism Xbow] (rev 01)
Subsystem: Netgear WG511 v2/v3 54 Mbps Wireless PC Card
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at f4000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [dc] Power Management version 1
Kernel driver in use: p54pci
But neither with Slitaz 4.0 nor Slitaz rolling I could make it work. This particular USB-card does not work yet with Debian.
Regards, I wait no for the specialists in our Linux group. I am not a hard-coded networker
Michael
Offline
Ok, finally I got it. The trick: I removed firmware-rt2x00-20120227.tazpkg, reloaded it but not with tazpanel but from
http://distro.ibiblio.org/slitaz/packages/4.0/
, checked by repacking it - and then I saw that module rt2870sta was missing!
The rest then was easy: But I had to replace ,,any" with ,,WEP,, in /etc/network.conf. It is a small home network working with a DSL-router.
lsmod | grep rt show now:
root@slitaz:/home/tux/Desktop# lsmod | grep rt
rt2800usb 7855 0
rt2800lib 24574 1 rt2800usb
rt2x00usb 5720 1 rt2800usb
rt2x00lib 20851 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 145388 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 99896 2 rt2x00lib,mac80211
parport_pc 16061 0
parport 20983 1 parport_pc
This I did on a Desktop-PC. Yesterday I used a Dell Latitude 800 Laptop.
Thanks a lot to @mojo. As always I learned a lot from this guru.
Regards,
Michael
Offline
It works with
root@slitaz:~# uname -r
3.2-slitaz
as well. I used again the mentioned tazpkg-firmware file.
Offline
One thing I forgot to tell here: I started with a Slitaz 4.0 Live-CD that I had downloaded in August 2012. With the package firmware-rt2x00 it did not work.
When I use the same Live-CD now I first
- tazpkg remove firmware-rt2x00.tazpkg
- open Slitaz panel, recharge the list of packages, let it look for updates and then
- install the same package.
- check it with
tazpkg repack firmware-rt2x00.tazpkg
- then I put in the wlan-usb-stick
- configure it correct
and then it works.
(Sorry, please remove the next 2 empty messages: Midori was slow when delivering this text...)
-- Done. Aleksej
Offline
Pages: 1
[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]