Click to See Complete Forum and Search --> : WPA-PSK and ndiswrapper :)


DimGR
05-11-2005, 03:33 PM
I have had ndiswarapper working good with this card for long timeusing WEP 128-bit. I found out that WPA-PSK can work with ndiswrapper so here it is:

my card is a




0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)



first install wpasupplicant and then create this file in /etc/network and save it as wpa_supplicant.conf


ctrl_interface=/var/run/wpa_supplicant
network={
ssid="essid"
psk="pass"
key_mgmt=WPA-PSK
proto=WPA
}


Add this info to /etc/network/interfaces


auto wlan0
iface wlan0 inet dhcp
wireless-essid your-essid
pre-up modprobe ndiswrapper
pre-up wpa_supplicant -wB -i wlan0 -c /etc/network/wpa_supplicant.conf -D ndiswrapper
pre-up sleep 3
down killall wpa_supplicant



then do a pump -i wlan0
or /sbin/dhclient wlan0
or whatever you use to go online:P

retsaw
05-11-2005, 03:44 PM
Which distro does this apply to? /etc/network/interfaces is a distro specific configuration file which I don't have on my system, so it wouldn't work for me.

DimGR
05-11-2005, 03:46 PM
Debian

Hayl
05-11-2005, 03:58 PM
what card do you have?

i have (unfortuantely) a broadcom card and it doesnt work, get a bunch of errors.

i have to use driverloader.

DimGR
05-11-2005, 04:56 PM
i too have a broadcom and i have been using it with ndiswrapper for many monthes.

it is a Dell 1350 b/g card with broadcom chip

Hayl
05-11-2005, 09:58 PM
Originally posted by DimGR
i too have a broadcom and i have been using it with ndiswrapper for many monthes.

it is a Dell 1350 b/g card with broadcom chip

Cool, when I get back from New York, I will mess with the ndiswrapper again. I have been using the driverloader non-free one (it's free to try for 1 month) because it just works with WPA :P

what version of ndiswrapper are you using?

my card is a :

0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

DimGR
05-11-2005, 10:55 PM
version 1.1

and my card is 0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

Hayl
05-17-2005, 09:09 AM
excellent!

got it to work. thanks, you saved me a little cash :P