Issue with wifi

Expansion modules and attachments
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Issue with wifi

Post by modulok »

In the last week my wifi attachment has been an issue with getting updates.

Thursday around 2am I stopped getting updates on portal and android app (using the newest version). Before work I pulled the wifi cable out and it started working again.

It happened again Friday while I was at work, but within an hour it was working again.

And most recently, Sunday around 1am it stopped updating portal and phone app. Before restarting the wifi, I noticed that the green light was just on, no blinking. I could ping the ip address successfully, but the portal and phone app did not work. Reconnected the wifi and it works again slow blinking green light.

At first I thought it was maybe the new android app, but it is not. Maybe the newest libraries? It was working perfectly for the month I have had it up till this last week.
Image
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

Issue with wifi

Post by dbmet »

What version of firmware are you running on the wifi module?
Image
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

Is this what you are asking for?

On my RA display version:

RA Version 1.0.3
Wifi WDT
Image
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

Issue with wifi

Post by dbmet »

The software on the wifi module runs a different firmware. I would run the wifi module setup like when you first setup the module and click upgrade firmware.
Image
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

No luck upgrading the firmware. It starts the download, but errors out after the WPS download. Tried on both the desktop and laptop.

I am pretty sure I did the firmware update when I first set up my unit (2nd week of December).
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

That's fine. you don't need to update the WPS firmware. It hasn't changed.
WPS is for the push-button technology.
As long as you have 2.38, you should have the most updated one.
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

How do I find my wifi firmware version?

It looks like it happened again, no updates since 11:30am.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

use tera term or putty with the wifi attachment plugged into the usb-ttl cable.
make sure you are connected at 57600 baud. You can find more info in the wifi manual.
Then type $$$ within 1 second.
It will show you the f/w version.
While you are at it, type scan and hit enter and paste the results here.
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

The SSID I am using is hidden, so it's not in the list below.

Code: Select all

<2.38.3> scan
<2.38.3>
SCAN:Found 8
Num            SSID   Ch  RSSI   Sec    MAC Address     Suites
 1      AIN'T IT GREAT! 03 -60 WPA2PSK 4c:60:de:44:ea:80 AESM-AES  WPSPB 1104
 2 AIN'T IT GREAT!-Guest 03 -60 WPA2PSK 4e:60:de:44:ea:81 AESM-AES   1100
 3               Pushit 04 -49 WPA2PSK 00:24:b2:5a:a9:21 AESM-AES   1100
 4                      04 -49 WPA2PSK 02:24:b2:5a:a9:21 AESM-AES   1100
 5  Ahbastu Squbadeech! 07 -53 WPA2PSK 28:cf:da:b2:1b:bf AESM-AES   3104
 6 Ahbastu Squbadeech! Guest 07 -53 WPA2PSK 2a:cf:da:b2:1b:b0 AESM-AES   3104
 7               Pushit 10 -40 WPA2PSK 00:26:f2:fd:9f:24 AESM-AES   1104
 8         BoatsAndHoes 11 -78 WPA2PSK 00:21:91:f6:ff:b3 AES/TKIPM-TKIP  WPS 3104
END:
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Yeap.. you are using 2.38.3 f/w
How far are you from the router?
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

I have an access point within 5 feet of my tank. So that is not the problem.

Like I said, it's been working flawlessly before the library update.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Next time it happens, please try this:
Is the module blinking blue?
Ping the wifi module. Do you get replies?
If you can ping, are you able to connect to RA using internal ip address? You can either use the smart phone app or browser to test this.
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

It is still blinking green and I can ping the internal address. Home profile of the app times out.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Strange...
If you can ping, you should be able to connect. You are the first that I see that can ping but not connect.
Are you able to telnet port 2000 using the internal ip address?
You can use your preferred telnet application. I like putty myself.
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

Next time it stops working I will try. Anything else to test when it happens again?
Image
ishtak
Posts: 41
Joined: Wed Apr 25, 2012 3:50 am
Location: JHB, South Africa

Re: Issue with wifi

Post by ishtak »

Not sure if our issues are the same but I have a problem with my wifi where I can ping it fine but I'm not getting any data. On latest version of both wifi software and libraries. If I try and use the built-in wifi server (ie ip:2000/wifi) I get the bubbles coming up but no data. Using the Android app I always get Error 23: XML Sparser. I can however change the status of the switches like turning off the skimmer for cleaning etc but none of the values are updated to any monitoring device ie portal, web server, android app, reef angel client etc

This is the connection info on the Portal so I know the unit is connecting .. just not updating any information.

Reef Angel wifi address: 41.133.190.180:2000 (update)
My reefangelid:
ishtak
Connection Status:
Ready

Last Update:
Friday, January 25, 2013 1:09:39 PM
Displaying data from:
Reef Angel Controller (live)
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Can you post your "get e" dump?
I wonder if it is related to the size of the tcp packet.
Roberto.
ishtak
Posts: 41
Joined: Wed Apr 25, 2012 3:50 am
Location: JHB, South Africa

Re: Issue with wifi

Post by ishtak »

WiFly Ver 2.38, 12-11-2012 on RN-131
Beacon=100
Probe=5
Reboot=0
OPEN=
CLOSE=
REMOTE=
FlushSize=1524
MatchChar=0
FlushTimer=10
IdleTimer=3
CmdChar=$
IF=UP
DHCP=ON
IP=192.168.0.4: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
DNS=192.168.0.1
Name=www.reefangel.com
Backup=backup2
FTP=198.175.253.161:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=80
FTP_mode=0x0
SSID=****
Chan=0
ExtAnt=0
Join=1
Auth=OPEN
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=0
Passphrase=********
SleepTmr=0
WakeTmr=0
Trigger=0x10
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
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
Sensor=0x0
SensePwr=0x0
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Can you try this changes?

Code: Select all

set wlan linkmon 5
set comm size 1024
Roberto.
ishtak
Posts: 41
Joined: Wed Apr 25, 2012 3:50 am
Location: JHB, South Africa

Re: Issue with wifi

Post by ishtak »

Roberto,

Still not getting any data from the Head Unit using the built-in in http server. Is there anyway to reset/reload the built-in web server? I've also noticed if I've telnet'd into the device rather than using the USB cable I get randomly kicked off, sometimes within a second of connecting. Are there any log files I can check?

Justin

edit: I wiped all the config on the Head Unit .. reloaded preloaded internal memory and base Head Unit code, then reloaded my own code and I'm getting data from the web server again.

I'll monitor it and keep you updated Roberto :)
Image
stolat01
Posts: 18
Joined: Fri Dec 07, 2012 2:26 pm

Re: Issue with wifi

Post by stolat01 »

I'm new here and this is my first post.
I'm having a similar wifi problem.
I need some outside help and this post was most similar to my problem.
The green light on the WIFI module is on, and blinking slowly, but my router shows the module is OFF (i.e. not connected). So, I can't receive any updates from the app or portal.
I do have a static IP and port forwarding set up. The WIFI has worked in the past. When I ran the WIFI wizard yesterday the module worked again, for a few hours.
My controller says version 1.02, my wifi wizard says version 1.04. Tera Term says I have firmware 2.38.3. I use the wizard for my code.


Other devices maintain their wifi connection in the same vicinity, and the module is able to stay connected for a few hours to days.

Anyone have further suggestions?
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

Mine is acting up right now. Has not updated since 7:55pm.

I can ping the wifi and get a reply. But I do not have the android app working, or local address via web browser (http://192.168.1.105:2000/wifi)

Green light is just solid.

Any suggestions on other things to test tonight before I have to reset it?

Code: Select all

telnet: could not resolve 192.168.1.105:2000/telnet: Name or service not known
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

can you post your "get e" dump?
Roberto.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

Damn, I reset the wifi unit (just a quick reconnect of the wifi side of the cable) probably 10mins before your post. It blinked green, a few oranges, then slowly blinking green and all is well. So bizarre.

I will post the dump tomorrow night.
Image
stolat01
Posts: 18
Joined: Fri Dec 07, 2012 2:26 pm

Here's my get e

Post by stolat01 »

CMD

<2.38.3> get e
WiFly Ver 2.38.3, 01-15-2012 on RN-131
Beacon=100
Probe=5
Reboot=0
OPEN=
CLOSE=
REMOTE=
FlushSize=450
MatchChar=0
FlushTimer=10
IdleTimer=3
CmdChar=$
IF=UP
DHCP=ON
IP=192.168.1.84:2000
NM=255.255.255.0
GW=192.168.1.254
HOST=198.171.134.6:80
PROTO=TCP,
MTU=1524
FLAGS=0x6
TCPMODE=0x0
BACKUP=0.0.0.0
DNS=192.168.1.254
Name=www dot reefangel dot com (note: this was edited to remove the url link)
Backup=backup2
FTP=198.175.253.161:21
File=wifly-GSX.img
User=roving
Pass=Pass123
Dir=public
Timeout=80
FTP_mode=0x0
SSID=SRM
Chan=0
ExtAnt=0
Join=1
Auth=WPA2
Mask=0x1fff
Rate=12, 24 Mb
Linkmon=5
Passphrase= (note: this was edited to remove the information)
SleepTmr=0
WakeTmr=0
Trigger=0x10
Autoconn=0
IoFunc=0x0
IoMask=0x20f0
IoValu=0x0
DebugReg=0x0
PrintLvl=0x0
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
Sensor=0x0
SensePwr=0x0
<2.38.3> GET /r99 HTTP/1.1
Host: 192.168.1.84:2000
Connection: Keep-Alive
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issue with wifi

Post by rimai »

Are both of you running the Client software?
Roberto.
stolat01
Posts: 18
Joined: Fri Dec 07, 2012 2:26 pm

Re: Issue with wifi

Post by stolat01 »

I have the client installed on a Windows 8 desktop. I mainly use the portal and the iphone app at this time.

As I write this the wifi is working. I pulled the wifi module to perform the "get e". After I connected it to my laptop, My router recognized the connection as on. I then plugged the module back into my controller and it has continued responding to the iphone app and portal. But then, as before, I expect it is a matter of time before it stops responding.


Attached is the RAException log from the Client Suite. 1/9/2013 is probably when I installed the client suite.
Attachments
RAExceptionLog 2013.01.28.txt
(15.17 KiB) Downloaded 398 times
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

I did not get a chance to get the dump. Maybe tonight.

I have the Client & Gadget installed on my desktop at home, but rarely use it. I do have the Gadget installed on my work computer which is always on. That does seem to poll much more than the Android app (set to 30mins).
Image
dmolton
Posts: 182
Joined: Tue Mar 22, 2011 11:08 am

Re: Issue with wifi

Post by dmolton »

I will say the Windows Gadget can be flaky at times. I've noticed odd behaviors when running both the Client and the Gadget at the same time. I would recommend disabling the gadgets you have running while troubleshooting your wifi issues.
modulok
Posts: 163
Joined: Wed Oct 24, 2012 8:37 am

Re: Issue with wifi

Post by modulok »

ok, I will try that as well. It would be nice to have it update on hover or even a timed update. Literately every time I look at it the updated time is within a minute.
Image
Post Reply