Networking - USB WiFi config in Easter - DLink DWL-120

JJ - 08.09.2006, 18:27 Uhr
Titel: USB WiFi config in Easter - DLink DWL-120
I recently decided to switch to Linux in an attempt to give new life to my otherwise obsolete PII-300mhz laptop, and settled on Kanotix as the best compromise between low processor overhead and features. This is my first experience with Linux (and I've only been at it for about two days!) so bear with my NOOBiness.

So far everything has gone well, except (surprise) trying to get my USB wireless adapter to work. I'm using a DLink DWL-120a, which I believe is an Atmel chipset. My router is an SMC Barricade. 128 bit WEP is enabled.

Kanotix recognizes the adapter when I plug it in, it shows up as an Atmel in the Network Card Configuration tool, and I've entered my ESSID, channel, WEP password, and broadcasted DHCP, but when I jump over to Firefox or Konqueror and try to surf, I get nothing.

I opened a shell and trying configuring the adapter manually using iwconfig (stepping outside of my noob comfort zone):

iwconfig wlan0 essid [NAME] channel [X] key [26 char key] mode [Managed]


ifconfig wlan0 up

Still no luck in Konqueror or Firefox.

After all this, if I iwconfig, I can see that it's connecting to my (or possibly someone else's?) access point since there is a MAC ID. And if I "iwlist wlan0 scan" I can see all of my neighbors' routers, etc. So I know the adapter is recognized and working...

The final twist: if I continue messing with iwconfig, eventually, I'll enter the WEP or set the mode or the channel, and my system will crash by just repeating whatever character I typed last. I can close the shell window using the mouse, and it'll continue entering the character I last typed in whatever window I'm in (firefox address bar, TED, etc.)

Hmm. So I'm kind of stumped at this point. Thanks in advance for your help!!
slh - 08.09.2006, 18:32 Uhr
Titel: RE: USB WiFi config in Easter - DLink DWL-120
Try it a bit differently:
ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 mode [Managed] essid [NAME] channel [X] key [26 char key]
iwconfig wlan0 key restricted
iwconfig wlan0 commit
pump -i wlan0

You probably don't need each step, but this does work with pcmcia and usb variants of Atmel's at76c503a.
JJ - 09.09.2006, 22:58 Uhr
Titel: RE: USB WiFi config in Easter - DLink DWL-120
That worked perfectly -- thanks!
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007