Connecting Raspberry Pi running Rasbian to a WPA2 network using a Netgear WG111v2

I got my Netgear wifi dongle working with my raspberry pi model A.

Raspberry Pi Model A with Netgear WG111v2

Wi-Pi!

Here’s how I did it.

Plug in the Netgear WG111

The RPi should see it right away (verify using lsusb ) and you’ll see something like wlan0 using  ifconfig

Edit the wpa_supplicant.conf file and add the desired SSID and passphrase you want to connect to:

Append to this file the following array:

Save and close the file, then bring the interface up:

Verify that you’re online by pinging an online service