View previous topic :: View next topic |
Author |
Message |
ktorn n00b
Joined: 25 Apr 2004 Posts: 26 Location: UK
|
Posted: Sun May 08, 2005 6:29 pm Post subject: WG511 with wpa_supplicant and ndiswrapper (need help!) |
|
|
Fellow Gentoo users,
I've had my pcmcia Netgear WG511 wifi card working fine with WEP, but getting WPA to work is giving me problems.
This is the story so far:
I have 2.6.11-gentoo-r6 kernel with built-in ISL3890 Prism support.
I have emerged net-wireless/prism54-firmware and configured WEP using iwconfig.
The card is detected as eth0 and works fine with WEP.
I'm now using WPA on the AP (for added security) so these are the steps I've taken to get WPA working:
1) emerged wpa_supplicant and configured /etc/wpa_supplicant.conf accordingly
Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
ssid="myssidishere"
proto=WPA
key_mgmt=WPA-PSK
psk="mypskishere"
priority=5
}
|
2) as the kernel's driver doesn't support WPA, I've had to emerge ndiswrapper
3) installed the card's Win drivers using ndiswrapper. It's installed properly:
Code: | # ndiswrapper -l
Installed ndis drivers:
netwg511 driver present, hardware present
|
and ran "modprobe ndiswrapper" and "modules-update"
4) my /etc/conf.d/net starts with this:
Code: | modules=( "!iwconfig" "wpa_supplicant" )
wpa_supplicant_eth0="-Dprism54"
|
Yet, I'm not sure how the whole thing is supposed to work together.
When I manually type: wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -Dprism54
I get:
Code: | wpa_driver_prism54_set_wpa - not yet implemented
wpa_driver_prism54_set_key - not yet implemented
wpa_driver_prism54_set_key - not yet implemented
wpa_driver_prism54_set_key - not yet implemented
wpa_driver_prism54_set_key - not yet implemented
wpa_driver_prism54_set_countermeasures - not yet implemented
wpa_driver_prism54_set_drop_unencrypted - not yet implemented
|
which seems to indicate that eth0 is still using the kernel's driver (it's exactly the same output as before I installed the new driver). How do I force eth0 to use ndiswrapper's driver?
I've also tried running ndiswrapper -m which supposedly adds an wlan0 alias, yet it doesn't show in /etc/modprobe.conf. There isn't any /etc/init.d/net.wlan0 either, the card is still eth0.
I'm not sure what else to do. Anyone has any ideas? |
|
Back to top |
|
|
ktorn n00b
Joined: 25 Apr 2004 Posts: 26 Location: UK
|
Posted: Fri May 20, 2005 8:20 pm Post subject: |
|
|
Anyone? |
|
Back to top |
|
|
gsurbey Apprentice
Joined: 24 Mar 2003 Posts: 212 Location: Nashua, NH
|
Posted: Mon May 23, 2005 9:22 pm Post subject: |
|
|
The unfortunate answer is that right now there is no native linux driver wpa support, see this thread: https://forums.gentoo.org/viewtopic-t-153925.html _________________ -Greg Surbey
Last edited by gsurbey on Mon Jun 20, 2005 8:34 pm; edited 1 time in total |
|
Back to top |
|
|
debianuser n00b
Joined: 12 Jun 2005 Posts: 1
|
Posted: Sun Jun 12, 2005 1:27 am Post subject: |
|
|
if you use ndiswrapper, you should pass "wpa_supplicant -Dndiswrapper" not prism64
this card (ISL3890) works fine with wpa-psk on my laptop using ndiswrapper.
- Vlad |
|
Back to top |
|
|
ktorn n00b
Joined: 25 Apr 2004 Posts: 26 Location: UK
|
Posted: Thu Jun 16, 2005 6:18 am Post subject: |
|
|
debianuser wrote: | if you use ndiswrapper, you should pass "wpa_supplicant -Dndiswrapper" not prism64
this card (ISL3890) works fine with wpa-psk on my laptop using ndiswrapper.
|
Thanks Vlad, I made the change to -Dndiswrapper and it did improve things (no longer the error with prism64). Now it actually seems to engange in some kind of dialog with my AP (I can see the AP's MAC address appearing on screen), but still no luck actually connecting (I double-checked the ssid and psk and they're ok).
Care to share your /etc/wpa_supplicant.conf and /etc/conf.d/net config files? |
|
Back to top |
|
|
wylbur n00b
Joined: 22 Mar 2003 Posts: 47 Location: 32C, an aisle seat near the back
|
Posted: Sat Jun 18, 2005 12:42 am Post subject: ndiswrapper worked |
|
|
with ndiswrapper, I'm able to use WPA with my prism wi-fi; this is a HUGE win, IMHO. I followed the ndiswrapper docs and it was actually pretty easy. Thanks to the ndiswrapper guys and to the folks on this forum for tips.
http://ndiswrapper.sourceforge.net/phpwiki/index.php
My specs:
sharp actius mm20 with Intersil ISL3890 PrismGT (pciid 1260:3890)
2.6.10 gentoo-sources
ndiswrapper-1.1-r1
wpa_supplicant-0.3.8 # I'd seen complaints about 0.4.x on the forums
win-driver from
http://www.smc-europe.com/english/support/driver_manual/wirel/2802W_V2.html
/etc/conf.d/net
Code: | modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
spa_timeout_wlan0=60
|
/etc/wpa_supplicant.conf
Code: | network={
ssid="myssid"
psk="my_password"
key_mgmt=WPA-PSK
priority=5
} |
|
|
Back to top |
|
|
|