Saturday, March 22, 2014

Setup Wifi on Raspberry Pi using Prolink Wireless-N Nano USB Adapter



I have had a lot of problems setting up this particular wifi dongle on Raspberry Pi. It is a Prolink Wireless-N Nano USB Adapter, WN2001. I like it because it is small compact, really fit to the Raspberry Pi.

When I googling I see that I am not alone. I followed all advises in many articles, including install compatible drivers, tried various setting options in /etc/network/interfaces file, etc. After many tempts I finally able to make it work.

I re-setup my rPi with latest Wheezy image from fresh. I found that the solution is very simple. I use the plain standard interfaces file coming from Wheeze, do not use wpa-roam (wpa_supplicant). In this example, I assign static IP for raspberry. Copy the below script, paste to the file and save.

sudo nano /etc/network/interfaces

auto lo

iface lo inet loopback
iface eth0 inet static
address 192.168.1.7
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.8
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

wpa-ssid SSID_NAME
wpa-passphrase WIFI_PASSWORD

Note that SSID_NAME and WIFI_PASSWORD is your Wifi name and password, write these in plain text without quotes. And of course, you have to adjust the IP address to your network credentials. I hope this articles can help you who use same device like mine.

2 comments:

iewan5350 said...

Can u give me tutorial.i have same problem with wn2001

Anonymous said...

doesnt work