I have been trying to setup up WiFi with my Raspberry Pi Model A (meaning I don't have a internet connection currently), running Raspbian 2013. I have tried several things to setup my WiFi but none of them worked:

The manual approach:


This gave me boot errors, and I never was able to connect to the internet.

The GUI approach:


My network flag is WEP, and it has a pass-phrase but wpa_config never asked for one and I was unable to connect.

I have tried several other different approaches but they all led down to these 2 basic approaches...

I am using a Tenda USB WiFi adapter that is compatible with my Pi, and my network is a WEP network with a password. Any suggestions? Thanks!


Both those approaches you've linked are WPA based. If your network really is WEP, it's a slightly different process. Try editing the /etc/wpa_supplicant/wpa_supplicant.conf file and adding something like this:


If that doesn't work you can try configuring it manually from the command line with the iwconfig utility:

iwconfig wlan0 essid "MyNetwork" key "s:password"

Drop the "s:" if your WEP key is a hexadecimal code rather than a string password. (In the wpa_supplicant example use "" for a password and without for a hexadecimal code.)

  • I had the same issue, however, if you're using a "string" for your key (rather than hex) you can simply change /etc/network/interfaces to the following (you don't need to bother with the wpa_supplicant at all) auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wireless-essid your-SSID wireless-key s:yourpasswordstring Sep 17 '14 at 10:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.