You are not logged in.
Pages: 1
Hi, I´m trying to configure a D Link dwl g 122 wireless usb adapter. This is what the system detects:
-----------------------------------
llg Adapter
sh rt2870sta-firmware: unknown operand
* loaded module: rt2800usb
rt2870sta
sed: unmatched '/'
-----------------------------------
I suppose that the right driver needed is rt2870sta and that the other one is loaded automatically by Slitaz, but it doesn't work for this type of usb adapater. I have the original CD with the drivers, but I can´t make it work on Slitaz. I don´t know how to extract these drivers from the Cd, although I try it asks me for some commmands. Am I in the right way? Thanks for your help.
Offline
I have a ralink usb adapter that loads the same 2 modules.
The rt2870sta is what works for my adapter.
Which version of slitaz are you running ?
The new Slitaz-4.0-RC2 include's the firmware-rt2x00 on the live cd and different wifi configuration than older versions which don't include the firmware.
You need unload rt2870sta and rt2800usb install firmware-rt2x00.tazpkg unless your using Slitaz-4.0-RC2
#/etc/init.d/networking.sh stop
#modprobe -r rt2800usb
#modprobe -r rt2870sta
#tazpkg -gi firmware-rt2x00
#modprobe rt2870sta
#/etc/init.d/networking
Configure the network:
#leafpad /etc/network.conf
Restart network:
#/etc/init.d/network.sh start
If you want more help:
#tazpkg -gi usbutils
#lsusb
Give me the complete output line with the wireless adapter including all numbers.
Offline
I have the same thing. But it does not connect on RC2:
root@slitaz:~# 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
rt2870sta 316830 1
parport_pc 16061 0
parport 20983 1 parport_pc
agpgart 18221 1 nvidia
From /etc/network.conf:
# Wifi connection.# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="wlan0"
WIFI_ESSID="<name-of-my-wlan>"
WIFI_MODE="managed"
WIFI_KEY="<key number>"
WIFI_KEY_TYPE="WEP"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
# 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="<my-key>"
WIFI_KEY_TYPE="WEP"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
root@slitaz:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
dummy0 no wireless extensions.
eth1 no wireless extensions.
wlan0 Ralink STA ESSID:"" Nickname:"RT2870STA"
Mode:Auto Frequency=2.462 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:-73 dBm Noise level:-115 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
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:42/100 Signal level:-73 dBm Noise level:-83 dBm
Encryption key:on
Bit Rates:22 Mb/s
root@slitaz:~# /etc/init.d/network.sh start
Configuring wlan0... [ OK ]
Starting udhcpc client on: wlan0...
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
Offline
With another USB-card it works on RC2, though:
root@slitaz:~# /etc/init.d/network.sh start
Configuring wlan0... [ OK ]
Starting udhcpc client on: wlan0...
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
Sending select for 192.168.2.21...
Lease of 192.168.2.21 obtained, lease time 864000
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.2.1
root@slitaz:~# lsmod | grep zd
zd1201 12834 0
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 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive
Bus 002 Device 002: ID 0586:3400 ZyXEL Communications Corp. ZyAIR B-220 IEEE 802.11b Adapter
Understandably I would like to be able to use the other one as well as the ZyAir cannot do WPA. But I find it to be not sporty to apply ndiswrapper. @mojo: do we have a chance without it?
Offline
@rene
I also have a usb dwl122, and I work when this file in / lib / firmware
http://www.4shared.com/file/MFSaHzFp/file.html
then charged with modprobe rt73usb and wifibox it is seen that already starts to operate.
then configuring the file / etc / network.conf is completely usable.
Offline
@gibor
#tazpkg -gi usbutils
#lsusb
Please post the usb.ids of your usb dwl122
Please don't use 4shared.com
Users have to register before they can download your files.
The best solution to share files is with a free box.net or dropbox account.
Users can download your files without registering or seeing ads
@michaelbischof
@rene
rt73 firmware: http://people.slitaz.org/~mojo/packages/rt73-firmware-1.8.tazpkg
Offline
Status:
After taking out the old firmware that did not work I installed your package - thanks a lot!
root@slitaz:~# lsmod
Module Size Used by Tainted: P
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
rfkill 10682 1 cfg80211
rt2870sta 316830 0
root@slitaz:~# lsusb
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
iwconfig shows:
wlan0 Ralink STA ESSID:"" Nickname:""
Mode:Auto Frequency=2.412 GHz
Link Quality=10/100 Signal level:0 dBm Noise level:-143 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@slitaz:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down
Under Windows 7 it works. But took quite a long time to establish this network connection there, here one button of unclear function, then the nex one,,, puh!
Regards,
Michael
Offline
@michaelbischof
Open Second xterm:
tail -f /var/log/messages
First Xterm:
#/etc/init.d/network.sh stop
#tazpkg install rt73-firmware-1.8.tazpkg
#modprobe -r rt2800usb
#modprobe -r rt2870sta
#modprobe rt73usb
#/etc/init.d/network.sh start
If it fails to connect:
Post messages/errors from Second Xterm about firmware loading,device errors.
Offline
@mojo
I realized that I did recently trade in information, I started to transfer of freefilehosting, unfortunately that file was still in the old.
If there are problems with the new, please say so I will create another account of those recommended.
root@slitaz:~# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 004: ID 07d1:3c03
Bus 002 Device 004: ID 15ca:00c3
Bus 002 Device 005: ID 1131:1001
/proc/bus/usb
T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=07d1 ProdID=3c03 Rev= 0.01
S: Manufacturer=Ralink
S: Product=802.11 bg WLAN
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=rt73usb
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Offline
Yes, it failed:
Mar 21 14:30:22 (none) user.err kernel: hub 1-1:1.0: unable to enumerate USB device on port 2
..... 1001 times .....
Mar 21 14:30:23 (none) user.err kernel: hub 1-1:1.0: unable to enumerate USB device on port 2
Mar 21 14:30:23 (none) user.info kernel: usbcore: deregistering interface driver rt2800usb
Mar 21 14:30:23 (none) daemon.err udevd[3771]: bind failed: Address already in use
Mar 21 14:30:23 (none) user.notice error binding udev control socket
Mar 21 14:30:23 (none) daemon.err udevd[3771]: error binding udev control socket
Mar 21 14:30:23 (none) daemon.err udevd[3772]: bind failed: Address already in use
Mar 21 14:30:23 (none) user.notice error binding udev control socket
Mar 21 14:30:23 (none) daemon.err udevd[3772]: error binding udev control socket
Mar 21 14:30:23 (none) daemon.err udevd[3773]: bind failed: Address already in use
Mar 21 14:30:23 (none) user.notice error binding udev control socket
Offline
Your file, @gibor, did not work as well - with this card until now only Windows 7 was able to connect.
iwconfig always shows this:
wlan0 Ralink STA ESSID:"" Nickname:""
Mode:Auto Frequency=2.412 GHz
Link Quality=10/100 Signal level:0 dBm Noise level:-143 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But in the /etc/network.conf
it is written correctly including this WEP key. ,,As if" the device cannot recognize what is written in its configuration file.
Another strange thing: I cannot connect to tazpanel
root@slitaz:/mnt/sda1/Users/michael/Downloads# tazpkg recharge
Main is up to date.root@slitaz:/mnt/sda1/Users/michael/Downloads# tazpkg recharge
Main is up to date.
<= That is all I get. Is the server down?
Offline
I'm no expert, but I think that more than 30 users that I have recommended this file, I have confirmed that they have succeeded.
We look to the opinions of the technicians.
Offline
The dlink dwl122 has been manufactured with many different chipsets.
The firmware must match the hardware.
michaelbischof : 148f:3070
gibor: 7d1:3c03
rt73-firmware => 7d1:3c03
firmware-rt2x00 => 148f:3070
michaelbischof dwl122 with 148F:3070 ?
@michaelbischof
Tazpkg needs some commits reversed:
#rm /var/lib/tazpkg/ID
#tazpkg recharge
Offline
[root@localhost ~]# lsusb
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp.
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Geräte-ID: 0x3070
This means I have to try firmware-rt2x00, yes?
(By the way: epdfview seems to be broken in RC2 - error while loading shared libraries... an old friend of mine these days...)
Offline
Now I installed again the package rt73-firmware-1.8.tazpkg
The result - it scans but does not connect.
Configuring wlan0... [ OK ]
Starting udhcpc client on: wlan0...
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
root@slitaz:/home/tux/Downloads# 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:-83 dBm
Encryption key:on
Bit Rates:22 Mb/s
root@slitaz:/home/tux/Downloads# udhcpc -i wlan0
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
=> no connection
Hmmmh?
When I do this with my ZyAir zd1204 I see in iwconfig the key shown - here not.
Offline
@gibor
Thanks for your help :-)
@michaelbischof
For now there are other more important issues with slitaz I must address.
Later I will search google to see if anyone else has a solution.
Offline
@mojo @gibor
Thanks to both of you! Do not misunderstand me: I have several possibilities to get Internet under Slitaz RC2, including one ZyAir old USB-device. It is just kind of sport do reach at least what is possible under Windows with Linux, though it is by no means fair sport according to the behaviours of the vendors. Wit ZyAir only WEP is possible, no WPA.
No need to hurry then!
Offline
For version dlink dwl 122 with id 148f: 3070
To try to compile the source I downloaded from the Ralink site archive
http://www.ralinktech.com/en/04_support/license.php?sn=5021
unpacking and following the instructions I got form rt2870sta.ko
to test only on kernel 2.6.37 directly download and install
http://www.freefilehosting.net/rt2870-firmware-build
and "modprobe rt2870sta" load the driver,
good luck
Gibor
Offline
@gibor
Thanks a lot! Download, installation and modprobing worked ok - but again no connection. I most likely have to try nidiswrapper with this particular usb-card, ach! :-(
From the net I learned that, for.example, with Ubuntu this thing worked, with some other distributions it did not work.
Ok, one can live with that - though it is a pity, of course.
Thanks for your help! Can you understand German? I try to give something back (without being able to translate into Italian)
Offline
Thanks to anything, SliTaz I'm passionate and I like to discover more and more his world.
Too bad it still does not work, only two things that I can still say
There is a patch to be applied in the compilation (but I have not found)
You can see in previous posts that you have a low signal, and some users with the key of my kind I have reported a lower sensitivity than windows.
Unfortunately I do not understand German but with the translator, but thanks anyway :-)
Offline
Heureka!
With your package it finally worked out, @gibor! Thanks a lot. But do not ask my why it happened today and not yesterday - I do not believe in magic but this is beyond what I can imagine! ;-)
It is Slitaz 4.0 RC3.
root@slitaz:~# lsmod
Module Size Used by Tainted: G
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
root@slitaz:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
dummy0 no wireless extensions.
eth1 no wireless extensions.
wlan1 IEEE 802.11bgn ESSID:"WLANMB"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:<my-key>
Power Management:on
@mojo: you were right, of course! It was this type of cardd: Bus 001 Device 004: ID 148f:3070
But to be frank: the connection seems somewhat slow and often breaks. There is still kind of disharmony in this setup if you apologize my non-technical way of describing it. A much older zd1204-card (which cannot do WPA) is much safer.
Offline
As a short note: I was not able today to repeat that. I never got a lease. The configuration looked ok.
- I am behind a Telekom-router which sends wireless if a want it. It works with WEP.
Offline
Pages: 1
[ Generated in 0.028 seconds, 7 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]