kanotix.com

Networking - need pointers to configure USB wireless adapter

vees - 10.10.2006, 21:57 Uhr
Titel: need pointers to configure USB wireless adapter
I am a total wireless newbie and ignoramus. I purchased a D-Link DWL-G122 802.11g Wireless G USB adapter which is supposed to work with Debian based distros using something called prism2.

Can anyone give me a few pointers as to how to use this adapter with Kanotix? What should I use to configure it to run on a public wireless network like at a Starbucks Cafe (I do not have wireless at home)

Many thanks for any pointers (-: including RTFMs - just tell me what to read :-).

Many thanks in advance,

VS
mdmarmer - 11.10.2006, 01:09 Uhr
Titel: RE: need pointers to configure USB wireless adapter
Which revision of this wireless card do you have?

Revision b1 and c1 have Ralink chipset, should work with rt2500 driver included with Kanotix

Revision a1 has Prism chipset

If these don't work, you can try ndiswrapper with Windows drivers.

lspci -vv
lsusb
should give more info

Mike
Kano - 11.10.2006, 01:13 Uhr
Titel: RE: need pointers to configure USB wireless adapter
prism2 is only for 11mbit cards. I expect you need the win driver together with ndiswrapper.
kelmo - 11.10.2006, 07:53 Uhr
Titel: RE: need pointers to configure USB wireless adapter
Yes, prism based usb adapters are NOT supported natively in kanotix (there exist very alpha quality linux drivers), contrary to what has been said by mdmarmer.
vees - 12.10.2006, 19:30 Uhr
Titel: RE: need pointers to configure USB wireless adapter
Hi friends,

The version of my adapter is H/W version b.1 F/W version 2.02.

Here is what happens in /var/log/syslog when I connect my adapter:

Oct 12 13:56:00 KanotixBox kernel: usb 4-1: new high speed USB device using ehci_hcd and address 6
Oct 12 13:56:01 KanotixBox kernel: idVendor = 0x2001, idProduct = 0x3c00
Oct 12 13:56:01 KanotixBox kernel: usbcore: registered new driver rtusb
Oct 12 13:56:02 KanotixBox kernel: rausb0 (WE) : Driver using old /proc/net/wireless support, please fix driver !

Any ideas as to what that means?

Thanks in advance,

V
gs - 12.10.2006, 21:07 Uhr
Titel: RE: need pointers to configure USB wireless adapter
I have the same DLink usb-Adapter.
You do no tell us which Kanotix you are using.
Here, with KANOTIX-2006-01RC4 I can install the adapter using Kmenu-KANOTIX-networking-netcarconfig - a dialogue opens which offers to configure the adapter which is called wireless device followed by RT2500USBSTA. If you select this, a menu opens asking questions - I have only to insert two anwers as to my essid which is the name of the DSL Router, Fritzbox in my case, and channel, which you will find looking into your Router. The other questions you can just leave empty and continue with "enter"
There are threads in the forum decribing in more detail how to go about installing the DLink-G122-Adapter, find them either by using the search function of the forum or within the FAQ...
vees - 13.10.2006, 13:03 Uhr
Titel: RE: need pointers to configure USB wireless adapter
I use Kanotix 2005-4 and I did not find any info about my adapter in this forum Traurig

Any other suggestions?

V
gs - 13.10.2006, 19:04 Uhr
Titel: RE: need pointers to configure USB wireless adapter
I had the DWL-G122 working with Kanotix-2005-04, too - did what I described above to get it running.
If you click forum - search - DWL-G122 you will get at least 6 postings on the subject, although mostly in German.
There were earlier posts on this subject, maybe to be found in the archives...
If you do not succeed, post once more and I will try to compose a step-by-step howto for you
gs - 13.10.2006, 21:28 Uhr
Titel: RE: need pointers to configure USB wireless adapter
@vees: I just had some time and wrote you a cookbook on getting the DWL-G122 to work

Zitat:

This is an HOWTO for getting the DLink-G122 usb-wlan-adapter to work with Kanotix - presently KANOTIX-2006-01-RC4 with kernel 2.6.18-kanotix-2 on a Siemens-Fujitsu Scenic X100 PC (I had it also working with Kanotix-2005-04-LITE some time ago). I use a Fritz!box DSL as a router with DHCP

lsusb

BUS 004 DEVICE 003: ID 2001:3C00 D-LINK CORP. [HEX] DWL-G122 802.11G REV. B1 [RALINK]
Bus 004 Device 002: ID 05e3:0606 Genesys Logic, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000



1.insert the stick and in a konsole type "lsusb" - you should see something like the above, telling that you are using rev. B1 (ralink) of the DWL-G122 (btw I never got rev C1 going,-kanotix frooze every time)
2. click on K-menu -KANOTIX-network/internet-configure netcard (the English text may slightly differ - I am translating from German)
3.a menu will open showing, in my case, my onboard netcard as eth0 and the wlan-stick as eth1 (I recall that with Kanotix-2005-04 it was something like rausb0). Select the wlan-stick, type enter
4.you will be asked to fill in information on mode- type "managed", channel, 6 in my case and essid, Fritzbox in my case.and WEP-key.I find this information looking into my DSL-modem/router which is a Fritz!box - should be similar if you use another gadget. The final question where I say yes is whether you want the stick to connect when booting.
5.By now the stick should show a small green light and you can try to check with your browser whether it will connect to the internet
6. Sometimes I have to reboot to get the stick to connect, but try, before you do this, in a konsole "dhclient": if you are using DHCP: the stick should light up and connect.
7. With iwconfig you can check whether everything is configured alright.....

good luck!

vees - 15.10.2006, 18:55 Uhr
Titel: can you reccommend a good USB/PCMCIA wireless adapter/card?
gs,

I very much appreciate you taking the time to write this howto for me - thanks a lot! It turns out that this howto ended up being very useful for me though, alas, in a bad sense: it confirmed to me that my device was broken Traurig

I ordered it of the Amazon "warehouse deals" webiste as "new - refurbished" with a one year guarantee and a 30 days no questions asked return. I soon found out that the USB extension craddlew as shorted (tail -f /var/log/messages showed that immediately), but at least I hope that the adapter itself would work. I tried with Kanotix, of course, but also with a FreeBSD variant called Frenzy and with Damn Small Linux and in all three cases the adapter proved to me fried. So while I will get my money back, I am also back to step one: choosing a USB or PCMCIA wireless adapter/card which would work "out-of-the-box" and "no-questions-asked" in public places (not at home where I do not have any wireless).

Any reccomendations?

Thanks again,

VS

PS: I will be using Kanotix 2005-4 on an old laptop with USB1.1 ports.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007