WiFi not working with Raspberry Pi / Occidentalis

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

I have purchased two of your WiFi adapters (PID: 814, one is a Monoprice, the other is an OurLink) and I cannot get either one to work with my Raspberry Pi. I have tried with the default "Raspberrian Wheezy/sid" OS updated using the script referenced on your product page, and also with your Occidentalis version 0.2. I also tried both adapters with my Beaglebone A5, also purchased from Adafruit. I followed your tutorial on the Beaglebone pages to no avail.

I tested both adapters to make sure that they work by plugging them into an old Windows XP laptop. I was able to connect the PC to my home WiFi router with WPA2 and hidden SSID just fine! They work, just not with either of my boards.

What should I try next?

Is there any additional information that you can point me to?

If you need more info, just let me know....

Thank you in advance!

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

how are you powering the pi?

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

I am powering it via a power supply I bought from Adafruit (PID:501).
The Pi is inside the Pi Box, also from Adafruit.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

PyroAVR wrote:I am powering it via a power supply I bought from Adafruit (PID:501).
The Pi is inside the Pi Box, also from Adafruit.
that's odd, could be a bad download - we've not heard any reports of it not working - only confirmation that it works (and it's all working here on multiple pi's etc).

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

Alrighty, well, I could try a redownload. Out of curiosity, what driver are you using?
I noticed that the chipset on both adapters is rtl8188cus....
But the driver is rtl8192cu. Also, I've tried this on beaglebone, using rtl8192cu versus the propriatery '8192cu' driver, also without any luck. Is there any more information I can give you that would help? I can give you logs of dmesg, the output when running wpa_supplicant, and other things.
To solve the problem, I'll redownload Occidentalis tomorrow and test it out again, recording all the outputs.
Also, when running wpa_supplicant, I get this weird error:

Code: Select all

ioctl[SIOCSIWENCODEEXT]: Operation not permitted
even when running as root....
Again, tomorrow I'll post all the logs.
Thanks!

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

Okay, so upon doing more research, I have found the following:

Code: Select all

ioctl[whatever] : someoutput
Is correlated with a driver issue. This means that for whatever reason, wpa_supplicant cannot find/utilize the drivers specified. I ran this code:

Code: Select all

pi@raspberrypi /etc/wpa_supplicant/$ sudo wpa_supplicant -B -Dwext -iwlan0 -c wpa_supplicant.conf
and get the cryptic error messages from wpa_supplicant as I mentioned above.

Do you think it is an issue with drivers? Could they be missing?

On a side note, I did check the md5 sum of my download, it was fine.

What do you recommend?

The logs contain no information on the chip or on the wifi, oddly enough, I'll have to run through my setup process again so that I can get more info.

Thanks again.
Attachments
dmesg.txt
dmesg output
(13.33 KiB) Downloaded 193 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

huh, that's very puzzling - we're running wifi without any issues - so far no additional reports of this either, only confirmations that's all working. we'll look in to this!

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

Awesome! If you need anything I herby offer my services (probably not much use, but......)
I really hate to be the first one to report a problem, it's not the most positive...
But thanks for your correspondence!


Also, I have tried this on beaglebone with Angstrom 2-14-12 and 6-28-12 without any luck. I tried using connman and wpa_supplicant, and neither of those worked.

I can also supply my WiFi setup, if that would help you troubleshoot on either system.
Thanks!

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

OK - remove all other USB devices plugged in, including the keyboard and hub. connect to ethernet, then ssh into raspberrypi.local and run dmesg and send us that :)

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

Alrigthy! Sorry it took so long to get back to you, I've been busy.....
Anyway, here is the log file you requested, I hope this helps!
Good luck!
Attachments
dmesg.txt
(120.42 KiB) Downloaded 210 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

whats the output of ifconfig -a?

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

It looks something like this:

Code: Select all

pi@raspberrypi ~ $ ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:03:dc:ae  
          inet addr:192.168.2.3  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18278 (17.8 KiB)  TX bytes:15978 (15.6 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:e0:4c:0d:71:76  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

did you edit /etc/network/interfaces?

PyroAVR
 
Posts: 27
Joined: Sun Sep 02, 2012 6:11 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by PyroAVR »

Yes, yes I did.
Now that I think about it, I had to create it.... '/etc/network' was there.... But no interfaces file....

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: WiFi not working with Raspberry Pi / Occidentalis

Post by adafruit »

not sure what to say - your wifi module is working fine, but something is wrong with the way you need to connect to the network from the Pi

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”