Wifi setup fail
Re: Wifi setup fail
OK I got it to work on my Wifi but not on my phones 3g, even the wifi utiity says its forwarding the the ip to port 2000 but still says address unreachable on my portal too.
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 79680 3 WiFly_GSX-2.36
< 22 -1 10 config
< 23 -1 10 user
< 34 83648 3 WiFly_GSX-2.45
< 78 86328 3 wifly-GSX-400
< 79 46632 3 wps_app-GSX-131
< 80 66240 3 eap_app-GSX-101
< 81 74920 3 web_app-GSX-106
< 82 37282 0 web_config.html
< 83 512 0 link.html
< 84 7268 0 logo.png
<
< 127 Free, Boot=78, Backup=2
< <4.00>
> load user
< load user
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> save
< save
< Storing in config
< <4.00>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.00>
> set w l 5
< set w l 5
< AOK
< <4.00>
> set w s hibler
< set w s hibler
< AOK
< <4.00>
> set w p
< set w p
< AOK
< <4.00>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.00>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> reboot
< reboot
> $$$
< CMD
> show n
< show n
< SSid=hibler
< Chan=6
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=FAIL
< Boot=0
< Time=OK
< Links=1
< <4.00>
> get i
< get i
< IF=DOWN
< 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
< <4.00>
> 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 Broadcom Versalink
Port 2000 is now being forwarded to 0.0.0.0
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 79680 3 WiFly_GSX-2.36
< 22 -1 10 config
< 23 -1 10 user
< 34 83648 3 WiFly_GSX-2.45
< 78 86328 3 wifly-GSX-400
< 79 46632 3 wps_app-GSX-131
< 80 66240 3 eap_app-GSX-101
< 81 74920 3 web_app-GSX-106
< 82 37282 0 web_config.html
< 83 512 0 link.html
< 84 7268 0 logo.png
<
< 127 Free, Boot=78, Backup=2
< <4.00>
< DHCP in 18197ms, lease=86400s
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< Listen on 2000
> load user
< load user
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> save
< save
< Storing in config
< <4.00>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.00>
> set w l 5
< set w l 5
< AOK
< <4.00>
> set w s hibler
< set w s hibler
< AOK
< <4.00>
> set w p madison1
< set w p madison1
< AOK
< <4.00>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.00>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> reboot
< reboot
> $$$
< CMD
< DHCP in 4398ms, lease=86400s
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< Listen on 2000
> show n
< show n
< SSid=hibler
< Chan=6
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=OK,renew=64799
< Boot=4556
< Time=FAIL
< Links=1
< <4.00>
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <4.00>
> 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 Broadcom Versalink
Port 2000 is now being forwarded to 192.168.1.33
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 79680 3 WiFly_GSX-2.36
< 22 -1 10 config
< 23 -1 10 user
< 34 83648 3 WiFly_GSX-2.45
< 78 86328 3 wifly-GSX-400
< 79 46632 3 wps_app-GSX-131
< 80 66240 3 eap_app-GSX-101
< 81 74920 3 web_app-GSX-106
< 82 37282 0 web_config.html
< 83 512 0 link.html
< 84 7268 0 logo.png
<
< 127 Free, Boot=78, Backup=2
< <4.00>
> load user
< load user
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> save
< save
< Storing in config
< <4.00>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.00>
> set w l 5
< set w l 5
< AOK
< <4.00>
> set w s hibler
< set w s hibler
< AOK
< <4.00>
> set w p
< set w p
< AOK
< <4.00>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.00>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> reboot
< reboot
> $$$
< CMD
> show n
< show n
< SSid=hibler
< Chan=6
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=FAIL
< Boot=0
< Time=OK
< Links=1
< <4.00>
> get i
< get i
< IF=DOWN
< 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
< <4.00>
> 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 Broadcom Versalink
Port 2000 is now being forwarded to 0.0.0.0
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 79680 3 WiFly_GSX-2.36
< 22 -1 10 config
< 23 -1 10 user
< 34 83648 3 WiFly_GSX-2.45
< 78 86328 3 wifly-GSX-400
< 79 46632 3 wps_app-GSX-131
< 80 66240 3 eap_app-GSX-101
< 81 74920 3 web_app-GSX-106
< 82 37282 0 web_config.html
< 83 512 0 link.html
< 84 7268 0 logo.png
<
< 127 Free, Boot=78, Backup=2
< <4.00>
< DHCP in 18197ms, lease=86400s
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< Listen on 2000
> load user
< load user
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> save
< save
< Storing in config
< <4.00>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.00>
> set w l 5
< set w l 5
< AOK
< <4.00>
> set w s hibler
< set w s hibler
< AOK
< <4.00>
> set w p madison1
< set w p madison1
< AOK
< <4.00>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.00>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.00>
> save
< save
< Storing in config
< <4.00>
> reboot
< reboot
> $$$
< CMD
< DHCP in 4398ms, lease=86400s
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< Listen on 2000
> show n
< show n
< SSid=hibler
< Chan=6
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=OK,renew=64799
< Boot=4556
< Time=FAIL
< Links=1
< <4.00>
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.1.33:2000
< NM=255.255.255.0
< GW=192.168.1.1
< HOST=198.171.134.6:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <4.00>
> 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 Broadcom Versalink
Port 2000 is now being forwarded to 192.168.1.33
Last edited by Hibb304 on Fri May 24, 2013 12:13 pm, edited 1 time in total.
Re: Wifi setup fail
Still can't get readings outside my network with or without app or portal. See anything wrong up there?
Re: Wifi setup fail
What IP are you using when outside your network? You can go to whatsmyip.org to find out your external IP address. There's also a link somewhere in other threads to see if the port is in fact open from outside. Also the port forwardign from the wifi utility isn't 100% so you may need to manually setup the port forward.
Re: Wifi setup fail
I get a connection timeout when I check that port 2000. On the app I just use the one the wifi utility gave me.
Re: Wifi setup fail
You need to find out what external IP you are using. The 192.168.1.whatever is only valid when on your network and will not work on your cellular connection or on another network.
Check out whatsmyip.org get the IP that it gives you and check if the port 2000 is open on that IP.
If not, then you'll need to confirm the port forwarding in your router manually.
Check out whatsmyip.org get the IP that it gives you and check if the port 2000 is open on that IP.
If not, then you'll need to confirm the port forwarding in your router manually.
Re: Wifi setup fail
I got the utility to finally do the port. It says
Success: I can see your service on 184.14.xxx.xxx on port (2000)
Your ISP is not blocking port 2000
So you got to change the IP in the app if your in, or out of your network?
I still get the unreachable address on the reefangel.com and has never updated.
Success: I can see your service on 184.14.xxx.xxx on port (2000)
Your ISP is not blocking port 2000
So you got to change the IP in the app if your in, or out of your network?
I still get the unreachable address on the reefangel.com and has never updated.
Re: Wifi setup fail
Have you checked port 2000 on this site? http://www.canyouseeme.org/
Also you can use a dynamic dns service like http://www.noip.com/ or whatever your router supports so
that you don't have to keep switching your ip address in the app.
Also you can use a dynamic dns service like http://www.noip.com/ or whatever your router supports so
that you don't have to keep switching your ip address in the app.
Re: Wifi setup fail
Oh it did update once at 10:40am, but still says unreachable address and when I click on a relay I get only available with valid wifi. Make sure controller is sending info to web portal. I can type the ip in ie and the angel reef sever comes up.
Re: Wifi setup fail
It shows nothing by the wifi addy.rimai wrote:Does the Portal show that ip address?
And thanks for all the help guys.
I have checked that website about the port and its says its in service and not being blocked.
Last edited by Hibb304 on Fri May 24, 2013 2:29 pm, edited 1 time in total.
Re: Wifi setup fail
Sorry guys I'm coming from a ACjr to this.
This the code? I didn't save the one from the utility.
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit;
ReefAngel.FeedingModePortsE[0] = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port3Bit | Port4Bit | Port6Bit | Port8Bit;
ReefAngel.WaterChangePortsE[0] = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
ReefAngel.LightsOnPortsE[0] = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit;
ReefAngel.OverheatShutoffPortsE[0] = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 830 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port3 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port2,776,780 );
ReefAngel.Relay.DelayedOn( Port4,10 );
ReefAngel.Relay.DelayedOn( Port7,10 );
ReefAngel.Relay.DelayedOn( Port8,10 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "hibb304" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 14, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 14, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// pH Expansion
ReefAngel.LCD.DrawText( COLOR_MEDIUMSEAGREEN,DefaultBGColor,15,54, "PHE:" );
ReefAngel.LCD.DrawSingleMonitor( ReefAngel.Params.PHExp,COLOR_DARKKHAKI,39,54, 100 );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 74, TempRelay );
pingSerial();
// Relay Expansion
TempRelay = ReefAngel.Relay.RelayDataE[0];
TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
ReefAngel.LCD.DrawOutletBox( 12, 97, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
ReefAngel.LCD.DrawGraph( 5, 5 );
}
This the code? I didn't save the one from the utility.
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>
////// Place global variable code below here
////// Place global variable code above here
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit;
ReefAngel.FeedingModePortsE[0] = 0;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port3Bit | Port4Bit | Port6Bit | Port8Bit;
ReefAngel.WaterChangePortsE[0] = 0;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = 0;
ReefAngel.LightsOnPortsE[0] = 0;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit;
ReefAngel.OverheatShutoffPortsE[0] = 0;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 830 );
// Ports that are always on
ReefAngel.Relay.On( Port1 );
ReefAngel.Relay.On( Port3 );
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardHeater( Port2,776,780 );
ReefAngel.Relay.DelayedOn( Port4,10 );
ReefAngel.Relay.DelayedOn( Port7,10 );
ReefAngel.Relay.DelayedOn( Port8,10 );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "hibb304" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 14, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 14, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// pH Expansion
ReefAngel.LCD.DrawText( COLOR_MEDIUMSEAGREEN,DefaultBGColor,15,54, "PHE:" );
ReefAngel.LCD.DrawSingleMonitor( ReefAngel.Params.PHExp,COLOR_DARKKHAKI,39,54, 100 );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 74, TempRelay );
pingSerial();
// Relay Expansion
TempRelay = ReefAngel.Relay.RelayDataE[0];
TempRelay &= ReefAngel.Relay.RelayMaskOffE[0];
TempRelay |= ReefAngel.Relay.RelayMaskOnE[0];
ReefAngel.LCD.DrawOutletBox( 12, 97, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
ReefAngel.LCD.DrawGraph( 5, 5 );
}
Re: Wifi setup fail
Yes, that's code.
Make sure you uploaded it to the controller and that you have the wifi attachment connected to the controller.
Make sure you uploaded it to the controller and that you have the wifi attachment connected to the controller.
Roberto.
Re: Wifi setup fail
I finally got guys. Had to re upload to the controller re hooked up the wifi to it, and boom it works.
Thanks again, y'all been great.
Thanks again, y'all been great.
Re: Wifi setup fail
Ok it still works I did a no IP address, but still cant use the app on my wifi. I got t turn it to 3g to use. Any ideas?
Re: Wifi setup fail
What type of router are you using?
Re: Wifi setup fail
Could it be because your router doesn't implement NAT loopback?
I seem to see this happening now and then.
I have this same problem myself, because my router doesn't do it either.
I seem to see this happening now and then.
I have this same problem myself, because my router doesn't do it either.
Roberto.
Re: Wifi setup fail
Really damn. Anyone recommend a router modem combo. I do have another wireless router. Can that be hooked up to a router/modem too?