Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

WG511 with wpa_supplicant and ndiswrapper (need help!)

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
ktorn
n00b
n00b
User avatar
Posts: 26
Joined: Sun Apr 25, 2004 11:46 pm
Location: UK

WG511 with wpa_supplicant and ndiswrapper (need help!)

  • Quote

Post by ktorn » Sun May 08, 2005 6:29 pm

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: Select all

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: Select all

# 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: Select all

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: Select all

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?
Top
ktorn
n00b
n00b
User avatar
Posts: 26
Joined: Sun Apr 25, 2004 11:46 pm
Location: UK

  • Quote

Post by ktorn » Fri May 20, 2005 8:20 pm

Anyone? :(
Top
gsurbey
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Mar 24, 2003 10:52 am
Location: Nashua, NH
Contact:
Contact gsurbey
Website

  • Quote

Post by gsurbey » Mon May 23, 2005 9:22 pm

The unfortunate answer is that right now there is no native linux driver wpa support, see this thread: http://forums.gentoo.org/viewtopic-t-153925.html
Last edited by gsurbey on Mon Jun 20, 2005 8:34 pm, edited 1 time in total.
-Greg Surbey
Top
debianuser
n00b
n00b
Posts: 1
Joined: Sun Jun 12, 2005 12:23 am

  • Quote

Post by debianuser » Sun Jun 12, 2005 1:27 am

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
Top
ktorn
n00b
n00b
User avatar
Posts: 26
Joined: Sun Apr 25, 2004 11:46 pm
Location: UK

  • Quote

Post by ktorn » Thu Jun 16, 2005 6:18 am

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?
Top
wylbur
n00b
n00b
Posts: 47
Joined: Sat Mar 22, 2003 2:52 pm
Location: 32C, an aisle seat near the back

ndiswrapper worked

  • Quote

Post by wylbur » Sat Jun 18, 2005 12:42 am

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/suppo ... 2W_V2.html

/etc/conf.d/net

Code: Select all

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"
spa_timeout_wlan0=60
/etc/wpa_supplicant.conf

Code: Select all

network={
   ssid="myssid"
   psk="my_password"
   key_mgmt=WPA-PSK
   priority=5
}
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic