-
Senior Member
registered user
D-link DWL-G122 USB wireless -- it works!
Dear friends, I am going to touch on the 2 taboo areas in this forum: usb and wireless. But don't worry, I am here to report good news: the Dlink DWL-G122 version B1 usb wireless adapter can be made to work at 802.11g with full 128 bit WEP encryption. Harry asked us to report results of success, so here's the steps I took to make it work.
Some background. The D-link G122 Ver B1 uses the Ralink RT2570 chipset. Source for the Linux drivers are available from the Ralink website. But, even better, there is a whole Linux project devoted to developing and updating drivers for the RT2x00 series of chipsets (rt2x00.serialmonkey.com). This linux project has frequent updates of their sources and the source I needed is also available as a deb at Debian packages as RT2570-source. There's also a nifty website listing wireless devices, what chipsets they use, and what linux drivers are available here: http://linux-wless.passys.nl/
What does NOT work. Knoppix comes with a module RT2500usb.ko. This is what it tries to load when the G122 is inserted, but this module is faulty. If you boot with the wireless device attached, you get the endless spinning green autoconfig bar and the boot hangs. If you insert the G122 device after boot up, any action to access the device eg with lsusb or ifconfig up etc will hang. At other times you may see a modprobe process consuming 95% of the CPU.
How I made it work
First, with the device unattached:
1) Get kernel source. Vanilla kernel sources downloaded from kernel.org do not work - leads to a compiled module with invalid format. Fortunately my 5.0.1 DVD arrived, and it contains kernel sources!
2) Get and install module-assistant. This is already on the DVD but not on the CD.
3) Get and install rt2570-source from Debian packages. I chose to use the source from the Linux rt2x00 project rather than the ones from the manufacturer Ralink because they were more up to date.
4) Used module-assistant to prepare, build and then install rt2570-source.
5) Checked to see that there was rt2570.ko in /lib/modules/2.6.17/kernel/drivers/net/wireless. Also modules.dep and modules.alias had been updated.
6) modprobe rt2570. lsmod to check it had been loaded.
Now,
7) insert device
8.) ifconfig -a shows it is detected, in my case, as eth2
9) ifconfig eth2 up, to bring the device up
10) Use Knoppix Wavelan configuration to insert wifi paramenters like SSID and encryption key.
11) Use Knoppix Network card configuration, select eth2 and get a DHCP IP from my access point.
12) That was it! I am writing to you now through the wireless device.
The module and settings can be made persistent later -- but that shouldn't be too difficult. Ok, now I am going to disconnect because I don't normally use wireless.
Moral of the story: some of the modules/drivers supplied with Knoppix for devices may not work, but the beauty of Linux is that somewhere someone may be working on a better driver.
Ah, life is good. If it could be done, I would send you guys a drink on the internet.
Similar Threads
-
By Jokonda in forum Networking
Replies: 0
Last Post: 09-15-2008, 06:03 PM
-
By shot_calla in forum Networking
Replies: 1
Last Post: 08-10-2008, 01:22 PM
-
By Mark Walter in forum Networking
Replies: 3
Last Post: 07-31-2004, 01:15 PM
-
By g3guy in forum Networking
Replies: 0
Last Post: 02-24-2004, 03:46 PM
-
By Tad in forum Hardware & Booting
Replies: 7
Last Post: 05-29-2003, 02:48 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD
$27.99

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*
$32.99

AMD - Ryzen 7 5800X3D 8-Core - 16-Thread 3.4 GHz (4.5 GHz Max Boost) w/ Ice Pad
$355.99

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00