Page 1 of 1

Wifi issues

Posted: Mon Aug 13, 2012 9:07 am
by a_l_madrid
I have been trying to get this Wifi to connect to the controller and have had some issues. Just to to make sure I understand the light should be steady and no blinking correct?


In the Wifi Utility
I have an IP address and it says that attempting to setup port forwarding. Next statment is the port 2000 is now being forwarded to 192.168.0.11

Can someone help point me in the direction to try and connect this. My Iphone app is connecting to something but does not have any values and the times are off.

I am sure this is something simple that I am not doing.

Re: Wifi issues

Posted: Mon Aug 13, 2012 9:08 am
by a_l_madrid
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

* Please, enter a SSID
Opening Serial Port...
Connected to serial port COM3
> $$$
< 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.35
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.35>
> load user
< load user
< AOK
< <2.35>
> save
< save
< Storing in config
> save
< <2.35>
< save
< Storing in config
< <2.35>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.35>
> set w s myqwest9555
< set w s myqwest9555
< AOK
< <2.35>
> set w p FF5CBA47FFAE6F61D749EE8EAE
< set w p FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set w k FF5CBA47FFAE6F61D749EE8EAE
< set w k FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set ftp address 208.109.14.133
< set ftp address 208.109.14.133
< AOK
< <2.35>
> save
< save
< Storing in config
> reboot
< <2.35>
< reboot
> $$$
< CMD
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.0.11:2000
< NM=255.255.255.0
< GW=192.168.0.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.35>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
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 PK5000

Port 2000 is now being forwarded to 192.168.0.11
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

Opening Serial Port...
Connected to serial port COM3
> $$$
< 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.35
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.35>
> load user
< load user
< AOK
< <2.35>
> save
< save
< Storing in config
> save
< <2.35>
< save
< Storing in config
< <2.35>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.35>
> set w s myqwest9555
< set w s myqwest9555
< AOK
< <2.35>
> set w p FF5CBA47FFAE6F61D749EE8EAE
< set w p FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set w k FF5CBA47FFAE6F61D749EE8EAE
< set w k FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set ftp address 208.109.14.133
< set ftp address 208.109.14.133
< AOK
< <2.35>
> save
< save
< Storing in config
> reboot
< <2.35>
< reboot
> $$$
< CMD
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.0.11:2000
< NM=255.255.255.0
< GW=192.168.0.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.35>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
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 PK5000

Port 2000 is now being forwarded to 192.168.0.11
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> factory RESET
< factory RESET
< Set Factory Defaults
> reboot
< <2.35>
< reboot
Removing connection to COM3
---------------------------------------------------------------------
Factory Settings Restored
---------------------------------------------------------------------

Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
< CMD
> set u b 57600
< set u b 57600
< AOK
< <2.35>
> set s p 0
> save
< <2.35>
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

Opening Serial Port...
Connected to serial port COM3
> $$$
< 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.35
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.35>
> load user
< load user
< AOK
< <2.35>
> save
< save
< Storing in config
> save
< <2.35>
< save
< Storing in config
< <2.35>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.35>
> set w s myqwest9555
< set w s myqwest9555
< AOK
< <2.35>
> set w p FF5CBA47FFAE6F61D749EE8EAE
< set w p FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set w k FF5CBA47FFAE6F61D749EE8EAE
< set w k FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set ftp address 208.109.14.133
< set ftp address 208.109.14.133
< AOK
< <2.35>
> save
< save
< Storing in config
> reboot
< <2.35>
< reboot
> $$$
< CMD
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.0.11:2000
< NM=255.255.255.0
< GW=192.168.0.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.35>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
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 PK5000

Port 2000 is now being forwarded to 192.168.0.11
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ftp u
< ftp u
< <2.35>
< FTP connecting to 208.109.14.133
< 530 Login authentication failed
< FTP ERR
< Disconn from myqwest9555,1:1
< Auto-Assoc myqwest9555 chan=1 mode=WPA2 SCAN OK
< Joining myqwest9555 now..
< Associated!
< DHCP: Start
< DHCP in 13ms, lease=86400s
< IF=UP
< DHCP=ON
< IP=192.168.0.11:2000
< NM=255.255.255.0
< GW=192.168.0.1
Opening Serial Port...
Removing connection to COM3
Connected to serial port COM3
> $$$
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Removing connection to COM3
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Removing connection to COM3
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

Opening Serial Port...
Connected to serial port COM3
> $$$
< 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.35
< 54 11 3 wps_app
< 65 1 10 user
<
< 190 Free, Boot=34, Backup=2
< <2.35>
> load user
< load user
< AOK
< <2.35>
> save
< save
< Storing in config
> save
< <2.35>
< save
< Storing in config
< <2.35>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <2.35>
> set w s myqwest9555
< set w s myqwest9555
< AOK
< <2.35>
> set w p FF5CBA47FFAE6F61D749EE8EAE
< set w p FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set w k FF5CBA47FFAE6F61D749EE8EAE
< set w k FF5CBA47FFAE6F61D749EE8EAE
< AOK
< <2.35>
> set ftp address 208.109.14.133
< set ftp address 208.109.14.133
< AOK
< <2.35>
> save
< save
< Storing in config
< <2.35>
> reboot
< reboot
> $$$
< CMD
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.0.11:2000
< NM=255.255.255.0
< GW=192.168.0.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <2.35>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
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 PK5000

Port 2000 is now being forwarded to 192.168.0.11

Re: Wifi issues

Posted: Mon Aug 13, 2012 9:21 am
by rimai
Everything looks good.
Your wifi attachment should be setup and using ip address 192.168.0.11 with port 2000.
It should be blinking slow green and no blue. That indicates it is configured.
Now, you need to upload something on your controller.
Start with the WifiTestCode.
File->Sketchbook->Example Codes->WifiTestCode
Then on your iphone app, make sure to enter the following on the settings:
ip address: 192.168.0.11
port: 2000
direct connection: on

Re: Wifi issues

Posted: Mon Aug 13, 2012 9:33 am
by a_l_madrid
ok, I will try this again and let you know what happens.

Thanks for qucik response.

Re: Wifi issues

Posted: Mon Aug 13, 2012 5:29 pm
by a_l_madrid
well it works great now and it seems like it took forever yesterday.

Re: Wifi issues

Posted: Mon Aug 13, 2012 8:44 pm
by a_l_madrid
Well now the wifi is not working and I lost the connection. I went back and established the IP and came up with a different one that started with 10. in stead of the 192..... that I was able to connect to. I did a factory reset and made sure my firmware is up to date and then I get a new error.

Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
< CMD
> set u b 57600
< set u b 57600
< AOK
< <2.35>
> set s p 0
> save
< <2.35>
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

* Please, enter a SSID
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ftp u
< ftp u
< <2.35>
< FTP connecting to 208.109.14.133
< FTP timeout=2
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Removing connection to COM3



Now I am not sure of the problem or where to go to next.

Re: Wifi issues

Posted: Mon Aug 13, 2012 9:18 pm
by rimai
looking at the log, it looks like you are trying to update firmware, which you already have.
So, there is no need to try to update it again.
Just click "Setup Wifi Attachment", instead of "Update Firmware"

Re: Wifi issues

Posted: Mon Aug 13, 2012 9:33 pm
by a_l_madrid
So I do that and I get the flashing blue light. My modem does not pick this up. I have to try some port forwarding method and I am not sure how to do that.

The stange thing is that when I got this all running this afternoon I had an IP address of 192.168.0.11 and lost the connection somewhere and now it is giving me a new IP address of 10.1.10.56. So it was working earlier today and I lost it somewhere and it has been a PIA trying to get this thing hooked back up.

I am using a Qwest Actiontec PK5000 Wireless I have added all my iphones and my Nest thermostat with no issues and this has been the most diffcult. I sure I will get there.

Re: Wifi issues

Posted: Tue Aug 14, 2012 9:44 am
by a_l_madrid
Anyone have any suggestions?

Re: Wifi issues

Posted: Tue Aug 14, 2012 4:24 pm
by rimai
Go through the setup again, but don't click "Update Firmware". Use the "Setup Wifi Attachment" button.