View previous topic :: View next topic |
Author |
Message |
Urbanus n00b


Joined: 18 Apr 2004 Posts: 52
|
Posted: Mon May 16, 2005 9:30 am Post subject: [solved] D-Link DWL-G122 automatic startup does not work |
|
|
I just bought a D-Link DWL-G122 WLAN-USB-Adapter and made it work with ndiswrapper. I need WPA-PSK with TKIP which works quite fine if I start up everything manually. The automatic startup at boot does not work because of two problems:
- On startup the system hangs and syslog says
Code: | usb 1-1: reset high speed USB device using ehci_hcd and address 9 |
Repluging the stick helps sometimes (not always)
wpa_supplicant does not start up as it should I configured /etc/wpa_supplicant.conf as follows
Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
network={
ssid="MyWLAN"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
#pairwise=TKIP
group=CCMP TKIP WEP104 WEP40
#group=TKIP
psk="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
priority=2
} |
/etc/conf.d/wpa looks like this
Code: | # List of interfaces
INTERFACES="wlan0"
# Common arguments to all wpa_supplicant instances
ARGS="-w -d"
# Interface specific arguments
ARGS_wlan0="-Dndiswrapper" |
Starting up wpa_supplicant on the shell does work fine, automatic startup seems not to work because there is no entry of wpa_supplicant in /var/run
Another problem, although not Linux specific, is that the stick does not find the access point if it is hidden. Perhaps someone has an idea about this issue, too?
Has anyone experiance with this USB WLAN-stick and solved these problems already?
Last edited by Urbanus on Sun May 22, 2005 12:31 am; edited 1 time in total |
|
Back to top |
|
 |
Urbanus n00b


Joined: 18 Apr 2004 Posts: 52
|
Posted: Sun May 22, 2005 12:30 am Post subject: [solved] D-Link DWL-G122 automatic startup does not work |
|
|
After using an USB 1.0 port the stick works without problem. Additionally I added "-c/etc/wpa_supplicant.conf" to /etc/conf.d/wpa_supplicant
Seems to be a problem with the USB drivers for EHCI?! |
|
Back to top |
|
 |
gustafson Guru


Joined: 12 Aug 2004 Posts: 424
|
Posted: Thu Sep 15, 2005 10:43 pm Post subject: Re: [solved] D-Link DWL-G122 automatic startup does not work |
|
|
I just had success with this as well. The drivers were downloaded from:
http://support.dlink.com/products/view.asp?productid=DWL%2DG122%5FrevB#
Find the NetRTUSB.inf file.
Code: | ndiswrapper -i NetRTUSB.inf
ln -s /etc/init.d/net.lo /etc/init.d/net.wlan0
/etc/init.d/net.wlan0 start |
I had a working config file for wireless tools... so I didn't have to reconfigure. |
|
Back to top |
|
 |
redview Guru


Joined: 18 Feb 2004 Posts: 365 Location: Goteborg - Sweden
|
Posted: Thu Dec 29, 2005 10:29 pm Post subject: |
|
|
i cant see any driver for linux!
just windows
 _________________ our enterprise a success as return is no option/our eyes were removed for our own safety/the distance too great for you to hear our cries/nevermind take this lamp we are beyond light [kinetic-arcturus]
you and I, connect and emerge [we ride-syl] |
|
Back to top |
|
 |
Urbanus n00b


Joined: 18 Apr 2004 Posts: 52
|
Posted: Mon Jan 02, 2006 9:59 pm Post subject: |
|
|
That is the trick: you are using the Winblows driver with ndiswrapper. The wrapper "translates" the driver so that it works with Linux. |
|
Back to top |
|
 |
|