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!

  • 2
    This is what I used: ronnutter.com/raspberry-pi-adding-wifi-wpawpa2-using-wpa_cli . PS it would be helpful if you posted the contents /etc/network/interfaces you used in the manual approach
    – Gerben
    Jun 8, 2013 at 20:11
  • 1
    @Gerben Thank you for your suggestion, I figured my issue, thanks though!
    – user151324
    Jun 8, 2013 at 20:33
  • possible duplicate of How to automatically reconnect WiFi?
    – Piotr Kula
    Oct 25, 2013 at 15:39
  • 3
    @coding_corgi could you please post your solution as an answer if you figured out your problem?
    – ramblinjan
    Oct 25, 2013 at 16:21
  • @coding_corgi Could you please post your solution as an answer? We are trying to get this site up to par and that will help! Jan 11, 2014 at 13:31

1 Answer 1


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, 2014 at 10:07

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