connection issue with wifi

New members questions

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Nov 30, 2017 11:47 am
Doesn't make sense.
If everything is working....
Can you post the log for the wifi setup?
Roberto.

Posts: 24
Joined: Mon Mar 02, 2015 3:07 pm
PostPosted: Thu Nov 30, 2017 11:50 am
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 79680 3 WiFly_GSX-2.36
< 22 1052 10 config
< 23 1052 10 user
< 24 88548 3 NO NAME
< 25 88548 3 wifly-GSX-441-r1057
< 34 83648 3 WiFly_GSX-2.45
< 79 46632 3 wps_app-GSX-131
< 80 66240 3 eap_app-GSX-101
> load user
< 81 74920 3 web_app-GSX-106
< 82 37282 0 web_config.html
< 83 512 0 link.html
< 84 7268 0 logo.png
<
< 107 Free, Boot=25, Backup=24
< <4.41>
< load user
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> save
< save
< Storing in config
< <4.41>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.41>
< set w l 5
> set w l 5
< AOK
< <4.41>
> set w s iBall-Baton$1
< set w s iBall-Baton$1
< AOK
< <4.41>
> set w p @9224284117@9004077372@
< set w p @9224284117@9004077372@
< AOK
< <4.41>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.41>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> reboot
< reboot
> $$$
< CMD
< DHCP in 5378ms, lease=604800s
< IF=UP
< DHCP=ON
< IP=192.168.1.100:2000
< NM=255.255.255.0
< GW=192.168.1.1
< Listen on 2000
> show n
< show n
< SSid=iBall-Baton 1
< Chan=9
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=OK,renew=453600
< Boot=5439
< Time=FAIL
< Links=1
< <4.41>
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.1.100: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.41>
> 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 iB-WRB300N

Port 2000 is now being forwarded to 192.168.1.100
Image

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Nov 30, 2017 11:55 am
Yeap. If RA is working and wifi attachment is working, it can only be the cable.
Roberto.

Posts: 24
Joined: Mon Mar 02, 2015 3:07 pm
PostPosted: Fri Dec 01, 2017 9:05 pm
check the attach pic for wiring diagram
still not working
getting error 13: No route to host
Attachments
Screenshot_20171202-093053.png
Screenshot_20171202-093053.png (756.06 KiB) Viewed 612 times
Image

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Dec 02, 2017 11:10 am
Are you sure you didn't change the code?
Roberto.

Posts: 24
Joined: Mon Mar 02, 2015 3:07 pm
PostPosted: Sat Dec 02, 2017 9:29 pm
code was change 1 week before but it was working fine
how to check if controller is sending data to wifi attachment in serial monitor
Image

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Dec 02, 2017 9:31 pm
Open serial monitor at 57600 baud.
Then, manke sure you have Both CR and LF.
Type "GET / HTTP " and click send.
Roberto.

Posts: 24
Joined: Mon Mar 02, 2015 3:07 pm
PostPosted: Sat Dec 02, 2017 9:37 pm
unabe to upload code now

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Simple Menu
Binary sketch size: 28,296 bytes (of a 258,048 byte maximum)
C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\\.\COM3 -b115200 -D -V -Uflash:w:C:\Users\MAYUR\AppData\Local\Temp\build1336863122691777432.tmp\InitialInternalMemory.cpp.hex:i

avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM3
Using Programmer : stk500v2
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.
Image

Posts: 24
Joined: Mon Mar 02, 2015 3:07 pm
PostPosted: Sun Dec 03, 2017 10:40 am
got this in serial monitor

HTTP/1.1 200 OK
Server: ReefAngel
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Connection: close
Content-Type: text/html
Content-Length: 41

<h1>Reef Angel Controller Web Server</h1>
Image

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Dec 03, 2017 10:53 am
That means the controller is sending data to WiFi attachment.
I'm at a loss why it is not working.
All pieces are working correctly.
Roberto.
PreviousNext

Return to For New Members

Who is online

Users browsing this forum: No registered users and 0 guests

cron