On Thursday 23 October 2008 23:20:45 CDW (Linux) wrote:
It's a Netgear WG511v2 and I've had to install it using ndisgen. I can get the thing to recognise my wireless LAN and if I run ifconfig, it reports :- ndis0: flags=8842<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:1b:2f:d0:69:59 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid ss2_scanning channel 11 bssid 00:0f:3d:34:d6:f6 authmode WPA privacy OFF txpowmax 100 bmiss 7
My /etc/wpa_supplicant.conf file looks like this ctrl_interface=/var/run/wpa_supplicant ctrl+interface_group=wheel
That should probably be ctrl_interface_group. And I guess you're probably right to set it to "wheel", it must be some BSD thing (mine's "root").
network={ ssid="ss2_scanning" proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP psk="c:(vo.............$-" }
As always with configurations, start simple. You probably only need ssid, key_mgmt=WPA-PSK, and psk="...". If it doesn't work with just those, only then try adding more options.
So the question is, does the psk data have to be in quotes and in hex? If so, how do I translate my ascii line into hex?
No, as it's PSK you just type in the password exactly as you set it on your router.
I've read lots and lots of stuff online about all this and to be honest, I'm thoroughly confused.
I know the feeling.
I'd appreciate any help.
The next thing you need to do is tell your network configuration mechanism to use wpa_supplicant when it brings the interface up. I don't how it's configured with DesktopBSD, but in Debian it's /etc/network/interfaces and may look something like this:
iface ndis0 inet dhcp wireless-essid ss2_scanning pre-up wpa_supplicant -B -D wext -i \ ndis0 -c /etc/wpa_supplicant/wpa_supplicant.conf post-down killall -q wpa_supplicant
Cheers, Richard