3

Today, after having my Raspberry Pi sitting in a drawer for close to a month, I decided to finally set it up.

Unfortunately, the screen which I bought for it arrived broken, so I am having to do everything through my laptop and Mobaxterm.

When I set up the initial internet connection using an Ethernet cable (I was going to borrow someones, but then I found a humongous purple one from a long time ago), it set up fine.

Unfortunately, it's setting up the Wi-Fi setup which gives me the issue. For what it's worth, my Wi-Fi adapter is an Edimax EW-7811Un.

I tried several methods of setting it up, but none of them have helped.

First, I followed this guide, How-To: Add WiFi to the Raspberry Pi, to set up up using text editing, I triple checked my SSID and password, but to no avail.

Then, I decided to try the Wi-Fi setup offered by Raspberry Pi (because I didn't think of it right away), but it didn't prove useful. Left clicking, it told me that no wireless interfaces were found, and it did not show me my router, right clicking it and clicking Settings did not seem to help either, as SSID did not show my router.

Finally, I finally decided to try this method, Raspberry Pi - Installing the Edimax EW-7811Un USB WiFi Adapter (WiFiPi), but that didn't make any improvements over what I had already.

So as it stands now, this is what I get when I check the wlan0 setup. As you can tell, it does not have an IP address, but a mixture of letters and numbers.

current setup

At this point I'm not really sure what to try next. Suggestions?

Greenonline
  • 2,969
  • 5
  • 27
  • 38
Frog6666
  • 31
  • 1
  • 4

4 Answers4

1

This is what I do.

Create a wpa_supplicant file:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Add the following to the bottom of the file:

network={
   ssid="your_wifi_ssid"
   psk="Your_wifi_password"
}

Save, and then make sure the file is readable only by you

sudo chmod go-rwx /etc/wpa_supplicant/wpa_supplicant.conf

Then try and bring your wlan interface down, and back up:

sudo ifdown wlan0

sudo ifup wlan0

Then check if it obtained a wifi address.

Edit: I'm not sure if you'll also need to remove the stuff you put in your interfaces file so it doesn't conflict. If you do, just restore it to its original contents.

jrel
  • 225
  • 1
  • 2
  • 8
1

By following an obsolete tutorial you have broken networking. (Most of this is OK, but DON'T fiddle with /etc/network/interfaces).

See How do I set up networking/WiFi/Static IP for how to fix it.

Milliways
  • 62,573
  • 32
  • 113
  • 225
1

After reading your clean and very illustrative question. Also I read all the previous answers and I found that none worked for. All the answers are reasonable though. I decided to search about the supported Wi-Fi dongles for RPI. I didn't find yours in the Working USB Wi-Fi section.

This link provides you with all possible working USB Wi-Fi adapters. It's actually a good resource to search for info at. Besides, this link shows some dongles tests, you can also check it.

So my main suspect is the dongle itself :D. Try using another one from your friends first before buying a new one if this answer helps.

Btw your dongle should be supported as it's listed, but it's listed in the Problem USB Wi-Fi Adapter section.

Hope I helped.

Tes3awy
  • 323
  • 1
  • 2
  • 14
0

Just going into Menu>Setting>WiFi Configuration and setting it up worked for me, I did nothing else.