Wifi Shield not working

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
DavidOConnor
 
Posts: 10
Joined: Sat Mar 22, 2014 11:16 am

Wifi Shield not working

Post by DavidOConnor »

I recently bought the Adafruit Wifi shield and am having some trouble getting it working. The buildtest sketch loops forever at the checkDHCP loop. If I use a static IP address (which is what I ultimately need to do) it loops forever at the getHostByName loop. Any assistance would be appreciated. Thanks.

Here is the output of the buildtest sketch:

Code: Select all

Hello, CC3000!

RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1225

Initialising the CC3000 ...
Firmware V. : 1.24
MAC Address : 0x08 0x00 0x28 0x59 0x23 0x80
Started AP/SSID scan


Networks found: 11
================================================
SSID Name    : LudaOConnor
RSSI         : 71
Security Mode: 1

SSID Name    : HXWL5
RSSI         : 36
Security Mode: 1

SSID Name    : 26ZM2
RSSI         : 36
Security Mode: 3

SSID Name    : NETGEAR42
RSSI         : 38
Security Mode: 3

SSID Name    : NETGEAR64
RSSI         : 31
Security Mode: 3

SSID Name    : BANNED
RSSI         : 38
Security Mode: 3

SSID Name    : 9FZBK
RSSI         : 45
Security Mode: 3

SSID Name    : Artiste
RSSI         : 35
Security Mode: 3

SSID Name    : LLXL7
RSSI         : 34
Security Mode: 1

SSID Name    : WRSM6
RSSI         : 39
Security Mode: 1

SSID Name    : COG02
RSSI         : 36
Security Mode: 1

================================================

Deleting old connection profiles

Attempting to connect to LudaOConnor
Started AP/SSID scan


Connected!
Request DHCP

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

Re: Wifi Shield not working

Post by adafruit_support_rick »

Check your router settings - you may have MAC address filtering turned on.

DavidOConnor
 
Posts: 10
Joined: Sat Mar 22, 2014 11:16 am

Re: Wifi Shield not working

Post by DavidOConnor »

Thanks for the suggestion, but MAC filtering is disabled.

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

Re: Wifi Shield not working

Post by adafruit_support_rick »

Well, it's something to do with your router setup. The CC3000 is obviously working, and you've got the correct SSID and password set. At this point, the ball is in the router's court.

DavidOConnor
 
Posts: 10
Joined: Sat Mar 22, 2014 11:16 am

Re: Wifi Shield not working

Post by DavidOConnor »

Thanks Rick. The router works fine with my Mac Book, iPad, iPhone and Windows PC. Can you give me some guidance on how to configure the router to be compatible with the shield? Is there any way to see what the shield does not like about the router?

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

Re: Wifi Shield not working

Post by adafruit_support_rick »

WireShark might give you some clues. I don't know if there's any debug output from the CC3000 library itself.

Some routers will allow a device to "associate", but not "connect". That would be in the router setup someplace.

What kind of router is it? What address range are you using?

DavidOConnor
 
Posts: 10
Joined: Sat Mar 22, 2014 11:16 am

Re: Wifi Shield not working

Post by DavidOConnor »

I've never used Wireshark on a wireless connection. Can you explain how that works? The router is an Actiontec M1424-WR. The address range is 192.168.1.2 - 192.168.1.254

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

Re: Wifi Shield not working

Post by adafruit_support_rick »

I have the very same router. You've got FiOS?
It's been a long time since I did anything with wireshark. But, if I recall correctly, you attach it to a wireless port on your computer, and set it for promiscuous mode. You should be able to see the DHCP negotiations.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”