Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 12-13-2006, 01:19 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Success using WEP with DWL-G122 on Debian and Ubuntu

With no encryption (WEP disabled on Dlink DI-524 wireless router) I was able to use the WiFi Adapter Dlink DWL-G122 running Debian 3.1 by installing ndiswrapper and wireless-tools and using 'ndiswrapper -i' to install the driver supplied with the Adapter, PRISMA02.inf. The DWL-G122 is H/W Ver. A2. However with WEP encryption enabled on the wireless router, I was no longer able to set the essid using iwconfig.
The default configuration for 'authentication' is 'open system'. After I changed the 'authentication' to 'shared key' I was able to specify a WEP encryption key and connect using DWL-G122 adapter with the following:

modprobe ndiswrapper
iwconfig wlan0 essid xxxxx key xxxxxxxxxx
dhclient wlan0

I also was able to use the DWL-G122 using a similar procedure when running Ubuntu 6.06.

Last edited by joespam; 12-13-2006 at 01:22 PM.
Old 12-13-2006, 03:04 PM   #2
Adrian Baker
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30

Hi there

Thanks for posting this. I have a D-link G122 WiFi adapter too and having just installed Suse 10.2 on my desktop, I couldn't get the wireless connection to work. I just changed the authentification from 'open' to 'shared key' as you suggest below and I connected straight away after that!!

many thanks


debian, dwlg122, wep

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install DWL-G122 adapter on Ubuntu 6.06 and I cannot get it to run dyara Linux - Newbie 13 02-07-2007 04:26 PM
Dwl G122 Rev C linuxn00ber Linux - Wireless Networking 23 12-03-2006 04:55 PM
How can I get the D-Link AirPlus G DWL-G122 Wireless USB Adapter working under Debian No_Good_With_Linux Debian 3 09-14-2006 12:58 PM
D-Link DWL-G122 A1 on Ubuntu karjaneth Linux - Newbie 1 03-02-2006 03:07 PM
Dwl-g122 ruddyss4 Linux - Wireless Networking 1 01-12-2006 08:36 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration