28 Dec 2005 01:11 Subscribe

ndiswrapper and wpasupplicant

I got a Netgear WG511v2 pcmcia card and really feared the installation and setup. But it was much easier as I thought. I only had to perform the following steps:

Basic setup or configuring ndiswrapper:

  1. Copy the files WG511v2.INF and WG511v2.sys from the windows installation CDs to your local linux box
  2. Issue the command 'ndiswrapper -i WG511v2.INF' to install the windows driver
  3. execute 'modprobe ndiswrapper'
  4. now iwconfig showed up my wlan card as wlan1 and it was ready for action

Getting wpa encryption with wpasupplicant:

  1. Setup your access point to use wpa encryption
  2. Copy the basic configuration part from the wpasupplicant README to /etc/wpasupplicant.con and adjust it to your personal needs:

#allow frontend (e.g., wpacli) to be used by all users in 'root' group ctrlinterface=/var/run/wpasupplicant ctrlinterfacegroup=root # # home network; allow all valid ciphers network={ ssid="essidfoo" scanssid=1 keymgmt=WPA-PSK psk="keybar" }

  1. Now start wpasupplicant with 'wpasupplicant -d -c /etc/wpasupplicant.conf -i wlan1 -D ndiswrapper' as root
  2. done

Happy hotspotting ;-)!


blog comments powered by Disqus