Occidentals2 and WiFi Module (ID 814)

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/
Locked
User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

I have the occidentails2 and are using the Miniature WiFi (802.11b/g/n) Module from Adafruit.
I am unable to get the wireless communications working.
Using Nano I have setup the network with my SSID and password for my wireless unit.
(I have 2 laptops set with the same settings
Following other threads I have the output from my ifconfig

Here is the output from my sudo ifconfig -a

eth0 Link encap:Ethernet HWaddr b8:27:eb:be:2e:9f
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)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:e0:4c:10:46:f3
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)


I also tried the sudo ifconfig wlan0 up without any effect.
I have tried with and without a powered external hubs
I have tried e different hubs.

The Pi is powered by a 5.25 volt 1a power supply (from Adafruit)
Hub power supplies 1.0 amps, 2.5 amps, .5 amps
None of them worked with the wi-fi adapter.

What am I doing wrong or did i get a bad Wi-fi module?

Pete Hedlund

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by pburgess »

Hi Pete,

Is this a 'hidden' network, or is the SSID broadcast? What mode of authentication (WPA2, etc.) is used by the network?

User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Re: Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

My connection is open SSID and I am using WEP encryption with network security key.

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by tldr »

try lsmod. you should see something like this...

Code: Select all

pi@raspberrypi ~ $ lsmod
Module                  Size  Used by
i2c_dev                 5587  0 
snd_bcm2835            12808  0 
snd_pcm                74834  1 snd_bcm2835
snd_seq                52536  0 
snd_timer              19698  2 snd_seq,snd_pcm
snd_seq_device          6300  1 snd_seq
snd                    52489  5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835
snd_page_alloc          4951  1 snd_pcm
spidev                  5136  0 
8192cu                485042  0 
spi_bcm2708             4401  0 
i2c_bcm2708             3681  0
this morning i wasn't seeing 8192cu which is the driver for the realtek chip used in the wifi adapter. i plugged in an ethernet cable and ran

sudo apt-get update

and

sudo apt-get upgrade

this took a while, (especially from the repository for raspberry pi documentation), but when it was finally over i rebooted with

sudo shutdown -r 0

and when it came back up the driver was loaded and the adapter was up and connected.

User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Re: Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

After almost an hour i did the update / upgrade
It was successfull
After re-booting the wi-fi still does not respond.

ping google.com
ping: unknown host google.com

ifconfig shows the same as before.
lsmod shows

Module Size Used by
8192cu 485042 0

Is the wi-fi module broken?
and if so I need a RMA number.

Pete

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by adafruit_support_rick »

Not sure you actually want to do the upgrade - that seems to overwrite some of the adafruit hardware extensions in occidentalis.

Do you have the WiFi module connected directly to the Pi? We don't recommend this, as the Pi typically does not supply enough power to run the WiFi module reliably. Try the module through a powered hub.

User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Re: Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

As I have stated above, I have tried this with 3 different hubs.
Before and after the update
the Wi-fi module is not responding
the pi does work when connected to ethernet

Is there a way to use a crossover cable and use the wifi on the laptop ?

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by tldr »

what does "iwlist wlan0 scan" show?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by adafruit_support_rick »

Alright, sounds like a funky adapter. Please contact [email protected] for a replacement. Reference this thread and include your original order number.

User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Re: Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

I have run lsmod, ifconfig and iwlsit with the following results.
I used a hub with a 1amp supply and the wifi adapter was the only item on the hub.

pi@raspberrypi ~ $ lsmod
Module Size Used by
i2c_dev 5587 0
snd_bcm2835 12808 0
snd_pcm 74834 1 snd_bcm2835
snd_seq 52536 0
snd_timer 19698 2 snd_seq,snd_pcm
snd_seq_device 6300 1 snd_seq
snd 52489 5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835
snd_page_alloc 4951 1 snd_pcm
8192cu 485042 0
evdev 8682 3
spidev 5136 0
spi_bcm2708 4401 0
i2c_bcm2708 3681 0

pi@raspberrypi ~ $ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 0C:D5:02:61:F2:82
ESSID:"10FX12184429"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:on
Bit Rates:54 Mb/s
Quality=96/100 Signal level=94/100
Cell 02 - Address: 00:24:B2:1B:85:C0
ESSID:"wireless"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:54 Mb/s
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Quality=55/100 Signal level=3/100
Cell 03 - Address: 74:44:01:A1:46:1A
ESSID:"Nacho Internet"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.447 GHz (Channel 8)
Encryption key:off
Bit Rates:54 Mb/s
IE: Unknown: DD0E0050F204104A0001101044000102
Quality=0/100 Signal level=7/100

pi@raspberrypi ~ $ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:be:2e:9f
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)

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:e0:4c:10:46:f3
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)

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by adafruit_support_rick »

What do you see on the console during boot? Do you see any DHCP requests? Any DHCP failures, like no DHCPOFFERS?

User avatar
phedlund
 
Posts: 14
Joined: Fri Jan 18, 2013 3:06 pm

Re: Occidentals2 and WiFi Module (ID 814)

Post by phedlund »

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7

intermals change

results
no DCHPOFFERS found

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Occidentals2 and WiFi Module (ID 814)

Post by adafruit_support_rick »

Ah. Well, based on that, and your results from sudo iwlist wlan0 scan, I'm inlined to think that there's nothing wrong with your WiFi module after all.

You're certain that SSID broadcast is enabled on your access point?

Verify that you have /etc/network/interfaces configured correctly. The example in the Adafruit Learning System assumes that you are using WPA encryption. If you are using WEP, you need a slightly different configuration. I found the following WEP setup here

Code: Select all

# The loopback network interface
auto lo
iface lo inet loopback

# The primary (wired) network interface
iface eth0 inet dhcp

# The wifi (wireless) network interface
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
        wireless-essid YOUR_SSID
        wireless-key YOUR_WEP_KEY

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”