wifi stops working every once in a while

Expansion modules and attachments
Post Reply
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

wifi stops working every once in a while

Post by neuro »

I have trouble viewing my tank info (portal or on my android) every so often. The wifi blinks green fine, but I get timeout errors on my android telling me it can't connect. I have to reconnect it in order for it to work.

This all started when I resetted my router. It wouldn't connect until I used the wifi setup utility. Even then, it took a few tries for it to work since it kept saying I needed to reconnect the usb/ttl cable because it couldn't find it after it tried to set it up after clicking "Setup Wifi Attachment".

Did I do something wrong? Do I need to upgrade the firmware? Are there instructions?

Any help would be great. I'm going on vacation in a few months and it would be great to have this working in a stable manner.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wifi stops working every once in a while

Post by rimai »

What happens when you try accessing it straight into the local ip address?
Roberto.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

Are you saying to access the local ip when it's not connecting/working?

I wanted to also say, that when i tried to connect to it with the terraterm @ 9600 baud, all I got was garble and ascii chars.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: wifi stops working every once in a while

Post by lnevo »

If you got garbage then your speed is wrong try 57600
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

thanks lnevo,

i did try 56700, and i got correct wording/ungarbled messages, but i couldn't perform any commands.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wifi stops working every once in a while

Post by rimai »

Did you type $$$ to enter command mode?
Roberto.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

Yup! I did. I tried "$$$" then tried the next step in comnmands to stop getting those broadcast messages, but it still kept coming.

maybe i didn't type it in correctly. I will try again when I can to see if I messed up.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

roberto, my wifi just disconnected, and getting to the web address times out (xxx.xxx ... :2000)
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

i just went through the manual setup in the docs, and reconnected it. so far it responds just fine.

will update if it disconnects again.

if you're wondering, here is what the last info bit said:

CMD
get i
IF=UP
DHCP=ON
IP=192.168.1.132: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
<2.32> GET /r99 HTTP/1.1
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wifi stops working every once in a while

Post by rimai »

Yes, you are using a quite outdated firmware...
2.32 is very old.
The log shows IF=UP, which means it is connected to your router.
Try using these commands to update:

Code: Select all

set f a 198.175.253.161
ftp u
save
reboot
The ftp u takes a few seconds to finish, so don't rush to type save.
Then after it reboots, connect again and use this:

Code: Select all

set w j 1
save
reboot
To make sure you are on the latest firmware, you can connect and use "get i" command, like you did above and it should show <4.00> at the end, which is the firmware version.
Roberto.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

thanks robert, i got it updated.

however, even before this update, i'm getting a lot of:

"Error 23: XML SAX Parser"

it does connect every once in a while, but I still get this error.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wifi stops working every once in a while

Post by rimai »

Can you post the "get e" dump?
Roberto.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

sure it's:


CMD
get e
wifly-GSX Ver 4.00.1, Apr 19 2013 11:48:31 on RN-131
Beacon=100
Reboot=0
IF=UP
DHCP=ON
IP=192.168.1.132: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
OPEN=
CLOSE=
REMOTE=
FlushSize=450
MatchChar=0
FlushTimer=10
IdleTimer=3
CmdChar=$
DNS=192.168.1.1
Name=www.reefangel.com
Backup=backup2
Lease=300
FTP=198.175.253.161:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=80
FTP_mode=0x0
SSID=matrix
Chan=0
ExtAnt=0
Join=1
Auth=OPEN
Mask=0x1fff
Rate=12, 24 Mb
Linkmon-Infra=5
Linkmon-AP=0
EAP_Id=
EAP_User=
SleepTmr=0
WakeTmr=0
Trigger=0x10
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
LaunchStr=
TimeEna=0
TIMEADR=129.6.15.28:123
Zone=7
Baudrate=57600
Flow=0x0
Mode=0x2
Cmd_GPIO=0
JoinTmr=1000
Replace=0x24
DeviceId=ReefAngelWifi
Password=
Format=0x0
Signal=0
Average=5
BCAST=255.255.255.255:55555
Interval=0x7
Backup=0.0.0.0:0
Sensor=0x0
SensePwr=0x0
<4.00>


... i've omitted my pwd
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: wifi stops working every once in a while

Post by rimai »

Ah, we need to increase the flush size

Code: Select all

set c s 1420
save
reboot
Roberto.
neuro
Posts: 50
Joined: Mon Nov 19, 2012 9:22 pm

Re: wifi stops working every once in a while

Post by neuro »

so far so good!! thanks roberto. i'll check in again if it goes nuts
Post Reply