Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WG511 with wpa_supplicant and ndiswrapper (need help!)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ktorn
n00b
n00b


Joined: 25 Apr 2004
Posts: 26
Location: UK

PostPosted: Sun May 08, 2005 6:29 pm    Post subject: WG511 with wpa_supplicant and ndiswrapper (need help!) Reply with quote

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
View user's profile Send private message
ktorn
n00b
n00b


Joined: 25 Apr 2004
Posts: 26
Location: UK

PostPosted: Fri May 20, 2005 8:20 pm    Post subject: Reply with quote

Anyone? :(
Back to top
View user's profile Send private message
gsurbey
Apprentice
Apprentice


Joined: 24 Mar 2003
Posts: 212
Location: Nashua, NH

PostPosted: Mon May 23, 2005 9:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
debianuser
n00b
n00b


Joined: 12 Jun 2005
Posts: 1

PostPosted: Sun Jun 12, 2005 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
ktorn
n00b
n00b


Joined: 25 Apr 2004
Posts: 26
Location: UK

PostPosted: Thu Jun 16, 2005 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
wylbur
n00b
n00b


Joined: 22 Mar 2003
Posts: 47
Location: 32C, an aisle seat near the back

PostPosted: Sat Jun 18, 2005 12:42 am    Post subject: ndiswrapper worked Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum