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.

wireless usb adapter
(22 posts) (4 voices)-
Posted 13 years ago #
-
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 startIf you want more help:
#tazpkg -gi usbutils
#lsusb
Give me the complete output line with the wireless adapter including all numbers.Posted 13 years ago # -
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 nvidiaFrom /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:0root@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/sroot@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 backgroundPosted 13 years ago # -
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 AdapterUnderstandably 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?
Posted 13 years ago # -
@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.Posted 13 years ago # -
@gibor
#tazpkg -gi usbutils
#lsusb
Please post the usb.ids of your usb dwl122Please 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.tazpkgPosted 13 years ago # -
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 0root@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 Adapteriwconfig 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:0root@slitaz:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is downUnder 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
Posted 13 years ago # -
@michaelbischof
Open Second xterm:
tail -f /var/log/messagesFirst 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 startIf it fails to connect:
Post messages/errors from Second Xterm about firmware loading,device errors.Posted 13 years ago # -
@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=0msPosted 13 years ago # -
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 socketPosted 13 years ago # -
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:0But 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?Posted 13 years ago # -
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.Posted 13 years ago # -
The dlink dwl122 has been manufactured with many different chipsets.
The firmware must match the hardware.
michaelbischof : 148f:3070
gibor: 7d1:3c03rt73-firmware => 7d1:3c03
firmware-rt2x00 => 148f:3070michaelbischof dwl122 with 148F:3070 ?
@michaelbischof
Tazpkg needs some commits reversed:
#rm /var/lib/tazpkg/ID
#tazpkg rechargePosted 13 years ago # -
[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 HUBGerä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...)
Posted 13 years ago # -
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/sroot@slitaz:/home/tux/Downloads# udhcpc -i wlan0
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
=> no connectionHmmmh?
When I do this with my ZyAir zd1204 I see in iwconfig the key shown - here not.Posted 13 years ago #
Reply »
You must log in to post.