LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-15-2005, 07:07 AM   #1
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 0
D-Link DWL-G122 (USB) not working with ndiswrapper [SOLVED]


Hi, I have problems with my DWL-G122 USB WLAN adapter. I can't get it working with ndiswrapper. I used the drivers on the CD which I got with the adapter.

iwconfig output:

Code:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Auto Frequency:2.437 GHz Access Point: 00:00:00:00:00:00
Bit Rate:11 Mb/s Tx-Power:20dBm Sensitivity=-115 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:141/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ndiswrapper -l output:
Code:
Installed ndis drivers:
netrtusb driver present, hardware present
dmesg stuff:
Code:
ndiswrapper: driver netrtusb (D-Link,04/01/2004, 1.00.00.0000) loaded
wlan0: ndiswrapper ethernet device 00:11:95:89:66:2d using driver netrtusb, configuration file 2001:3C00.0.conf
Anyone who have experience with DWL-G122 and ndiswrapper, please reply.

Anders

EDIT: the Act and Lnk LED's are not on

Last edited by Anders1; 02-16-2005 at 08:54 AM.
 
Old 02-15-2005, 07:16 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Did you modprobe ndiswrapper? Did you do anything else to connect to your network?
 
Old 02-15-2005, 01:32 PM   #3
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, I did modprobe ndiswrapper. I followed the instructions at http://ndiswrapper.sourceforge.net/p...p/Installation, however when i scanned for AP's, it wouldn't find it.

From ndiswrapper wiki:

Quote:
If this lists your AP, you can continue. Otherwise, you may have one of two problems: Your AP doesn't broadcast SSID (see the FAQ for more information) or the radio of the card is off (again, see the FAQ for details).
The router does broadcast SSID, and I set radio|1 in the configuration file.
 
Old 02-15-2005, 02:06 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I'd try setting your essid with "iwconfig wlan0 essid ***" and then try to ping your router if that works you can continue if not just post again and we'll try to find something else that could be wrong. Which version of ndiswrapper are you using?
 
Old 02-16-2005, 05:18 AM   #5
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Original Poster
Rep: Reputation: 0
Oh, I did try "iwconfig wlan0 essid default". Didn't work though. I use ndiswrapper 1.0.
 
Old 02-16-2005, 05:36 AM   #6
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
You may wish to try
iwlist wlan0 scanning
and see if it finds any APs. Your interface may not support this however. If it is encrypting traffic you need to set the key before you try to associate with the AP.
Regards
Chris
 
Old 02-16-2005, 08:54 AM   #7
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Original Poster
Rep: Reputation: 0
I did that too, anyway I already fixed it. I downloaded the latest version at sf.net, and it works now. Thanks for your assistance.
 
Old 02-25-2005, 03:03 PM   #8
Marcan
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 17

Rep: Reputation: 0
Done everything so far in this thread. What did you do to get it working? The leds on my DWL-G122 don't light up. I get the "driver present, hardware present" but nothing else. When I use "iwlist scan" I get nothing. I've modprobed the ndiswrapper and it's loaded, even says it's being used.
Any suggestions?
 
Old 02-27-2005, 10:57 AM   #9
Anders1
LQ Newbie
 
Registered: Feb 2005
Location: Sweden
Distribution: Arch Linux
Posts: 16

Original Poster
Rep: Reputation: 0
I just downloaded the Release Candidate version of ndiswrapper and installed it. My USB dongle didn't work with the Debian package or 1.0 at ndiswrapper.sf.net. Anyway it was buggy, it crashed all the time and ate like 10% CPU sometimes.. Also it made my system logs huge (400MB+). So I use a cable instead now. It removed lots of lag too... It added like 5ms lag, and I could not saturate our connection 100%, so it was too slow You should get a WLAN card/whatever which there is available native Linux drivers for, imo.
 
  


Reply



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
d link dwl g122 iconn Linux - Wireless Networking 23 03-29-2008 07:26 AM
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 02:27 PM
dwl-g122 Dlink USB , Mandrake 10.1 and Ndiswrapper eljudo Linux - Wireless Networking 1 07-29-2005 02:44 AM
ndiswrapper and D-link DWL G122 problems Adrian Baker Linux - Wireless Networking 1 07-09-2005 09:40 PM
Is it possible to install the D-Link DWL-G122 wireless USB adapter on SuSE 8.2 ? SuSE starter Linux - Hardware 2 03-05-2005 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

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