WiFi Help

Expansion modules and attachments
Post Reply
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

WiFi Help

Post by fatman »

I've had it running, now it went down and I can't get a connection. I've forwarded port 2000 to the wifi attachment internal IP, set up a DDNS service with no-ip.com and included the user address in my iPhone and the portal. I keep getting a bad address on the portal and the iPhone app won't work.

Used the WiFi utility to set it all up. Worked yesterday, but not today.

At this point I have the first status light slow blinking, the second and third blue ones blinking alternately with first one.

Anyone have a suggestion?

Thanks,
Fat
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Help

Post by rimai »

If you have blue light, it means it is not connected to your router.
Try factory reset and do over again.
Roberto.
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

WiFi Help

Post by fatman »

Will do. Tried that a few times without success, but will try again in a bit. Thanks for the quick response.
Image
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

WiFi Help

Post by fatman »

Ok, reset it to factory settings, updated the firmware, reinstalled the setup program, reset the ddns account and updated the portal. Still can't see the controller. I have port 2000 forwarded to the correct ip. Pinging the ddns name takes me to my ISP ip but I get no response from it. Any suggestions?

Hard part is that it worked yesterday then died on me.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Help

Post by rimai »

Do you still have blue led blinking?

Sent from my SPH-D700 using Tapatalk 2
Roberto.
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

Re: WiFi Help

Post by fatman »

No, the blue light is out.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Help

Post by rimai »

Are you able to browse the controller using the internal ip?
http://myipaddress:2000
Roberto.
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

Re: WiFi Help

Post by fatman »

No. Can't get it through the internal IP.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Help

Post by rimai »

What code did you load in your controller?
Can you load the WifiTestCode?
File->Sketchbook->Example Codes->WifiTestCode
Roberto.
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

Re: WiFi Help

Post by fatman »

Yes.
Image
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

Re: WiFi Help

Post by fatman »

Just tried to reload the WifiTestCode and it gets hung up. Keep getting failed to send command and time out errors.
Image
fatman
Posts: 120
Joined: Wed May 30, 2012 10:44 pm

Re: WiFi Help

Post by fatman »

Here is the setup message I have been getting. This is after a factory restore.

* Please, select a serial port and click the "Connect" button
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM4
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Opening Serial Port...
Verifying speed at 9600 baud
Removing connection to COM4
Connected to serial port COM4
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM4
Connected to serial port COM4
> $$$
< CMD
Wifi is communicating at 57600 baud rate

> reboot
< reboot
Removing connection to COM4
---------------------------------------------------------------------
Wifi Attachment Connected to COM4
---------------------------------------------------------------------

Opening Serial Port...
Connected to serial port COM4
> $$$
< CMD
< ls
<
< FL# SIZ FLAGS
< 2 20 3 WiFly_GSX-2.32
> ls
< 22 11 3 wps_app
< 33 1 10 config
< 34 20 3 WiFly_GSX-2.32
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.32>
< load user
< AOK
> load user
< <2.32>
< save
< Storing in config
> save
< <2.32>
< save
< Storing in config
> save
< <2.32>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.32>
> set w s dd-wrt
< set w s dd-wrt
< AOK
< <2.32>
> set w p
< set w p
< AOK
< <2.32>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <2.32>
< save
< Storing in config
> save
< <2.32>
> reboot
< reboot
> $$$
< CMD
< show n
< SSid=dd-wrt
< Chan=1
> show n
< Assoc=FAIL
< Rate=12, 24Mb
< Auth=FAIL
< Mode=NONE
< DHCP=FAIL
< Boot=0
< Time=OK
< Links=0
< <2.32>
> get i
< get i
< IF=DOWN
< DHCP=ON
< IP=10.1.10.101:2000
< NM=255.255.255.0
< GW=10.1.10.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.32>
> reboot
< reboot
Removing connection to COM4
---------------------------------------------------------------------
Your Reef Angel Wifi Attachment is now configured with the settings provided.
---------------------------------------------------------------------

If the blue LED is still blinking, it means that the Reef Angel Wifi Attachment could not connect to your wifi network.

Found router router

Opening Serial Port...
Connected to serial port COM4
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 20 3 WiFly_GSX-2.32
< 22 11 3 wps_app
< 33 1 10 config
< 34 20 3 WiFly_GSX-2.32
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.32>
< load user
< AOK
< <2.32>
> load user
< save
> save
< Storing in config
< <2.32>
> save
< save
< Storing in config
< <2.32>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.32>
< set w s dd-wrt
> set w s dd-wrt
< AOK
< <2.32>
> set w p
< set w p
< AOK
< <2.32>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <2.32>
< save
< Storing in config
> save
< <2.32>
< reboot
> reboot
> $$$
< CMD
< show n
< SSid=dd-wrt
< Chan=6
> show n
< Assoc=FAIL
< Rate=0, 1 Mb
< Auth=OK
< Mode=WPA2
< DHCP=FAIL
< Boot=0
< Time=OK
< Links=1
< <2.32>
< get i
< IF=DOWN
> get i
< DHCP=ON
< IP=0.0.0.0:2000
< NM=0.0.0.0
< GW=0.0.0.0
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.32>
> reboot
< reboot
Removing connection to COM4
---------------------------------------------------------------------
Your Reef Angel Wifi Attachment is now configured with the settings provided.
---------------------------------------------------------------------

If the blue LED is still blinking, it means that the Reef Angel Wifi Attachment could not connect to your wifi network.

Found router router

Port 2000 is now being forwarded to 0.0.0.0
Last edited by fatman on Sun Jun 10, 2012 9:20 pm, edited 1 time in total.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Help

Post by rimai »

< Assoc=FAIL
< Rate=0, 1 Mb
< Auth=OK
< Mode=WPA2
< DHCP=FAIL
That means it is not associating and not getting an ip from the router.
The SSID and passphase are case sensitive. Make sure that you type it just like it is setup in the router.
Roberto.
Post Reply