-
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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70

IBM POWER9 3.4GHz 8-Core Server CPU Processor Module 02CY577 01DE682 Pull
$24.99

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00