WIFI issues, im a newby help please!
WIFI issues, im a newby help please!
So I got the RA+ a few days ago, its been a nightmare to try to figure out. ive tried all three methods of installation, the wifi utility, adruino, and daves method.
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 34,110 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\Matt\AppData\Local\Temp\build8309712497244752600.tmp\WifiTestCode.cpp.hex:i
avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean,
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.
I get the error attached. what am I doing wrong? im so stumped, this is frustrating.
Thanks,
Matt
The following features were automatically added:
Watchdog Timer
Version Menu
The following features were detected:
Wifi Attachment
Simple Menu
Binary sketch size: 34,110 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\Matt\AppData\Local\Temp\build8309712497244752600.tmp\WifiTestCode.cpp.hex:i
avrdude: Version 6.0, compiled on Apr 6 2012 at 19:29:19
Copyright (c) 2000-2005 Brian Dean,
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.
I get the error attached. what am I doing wrong? im so stumped, this is frustrating.
Thanks,
Matt
- Attachments
-
- RA.png (82.06 KiB) Viewed 6545 times
Re: WIFI issues, im a newby help please!
That code is uploaded in your controller and not the wifi attachment.
What does the wifi utility say when you try to set it up?
It's the easiest.
What does the wifi utility say when you try to set it up?
It's the easiest.
Roberto.
Re: WIFI issues, im a newby help please!
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 86328 3 wifly-GSX-400
< 4 74920 3 web_app-GSX-106
< 7 46632 3 wps_app-GSX-131
< 9 66240 3 eap_app-GSX-101
< 11 37282 0 web_config.html
< 21 512 0 link.html
< 22 7268 0 logo.png
< 24 1052 10 config
< 25 944 10 user
< 26 88548 3 wifly-GSX-441-r1057
<
< 145 Free, Boot=26, Backup=2
< <4.41>
> load user
< load user
< AOK
< <4.41>
> save
< save
< Storing in config
< *BAD CONFIG*
< <4.41>
> save
< save
< Storing in config
< *BAD 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 TrojanVirus
< set w s TrojanVirus
< AOK
< <4.41>
> set w p
< set w p
< 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
< *BAD CONFIG*
< <4.41>
> reboot
< reboot
> $$$
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.
Removing connection to COM3
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 86328 3 wifly-GSX-400
< 4 74920 3 web_app-GSX-106
< 7 46632 3 wps_app-GSX-131
< 9 66240 3 eap_app-GSX-101
< 11 37282 0 web_config.html
< 21 512 0 link.html
< 22 7268 0 logo.png
< 24 1052 10 config
< 25 944 10 user
< 26 88548 3 wifly-GSX-441-r1057
<
< 145 Free, Boot=26, Backup=2
< <4.41>
> load user
< load user
< AOK
< <4.41>
> save
< save
< Storing in config
< *BAD CONFIG*
< <4.41>
> save
< save
< Storing in config
< *BAD 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 TrojanVirus
< set w s TrojanVirus
< AOK
< <4.41>
> set w p
< set w p
< 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
< *BAD CONFIG*
< <4.41>
> reboot
< reboot
> $$$
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.
Removing connection to COM3
Re: WIFI issues, im a newby help please!
I loaded the wifisetup on the RA itself went through the motion instead of displaying the ip it says status:8103 at the bottom it says down. I cant do anything else
Re: WIFI issues, im a newby help please!
The problem lies with the firmware update you did.
http://forum.reefangel.com/viewtopic.php?f=3&t=4348
You need to follow the instructions in the other thread to make it work again.
http://forum.reefangel.com/viewtopic.php?f=3&t=4348
You need to follow the instructions in the other thread to make it work again.
Roberto.
Re: WIFI issues, im a newby help please!
Hey Roberto, thanks for the help bro. a few more questions though, are you talking about this?
Ok, I was able to replicate the issue and it was definitely due to the firmware upgrade.
Let's try this:
You need to decompress the zip file.
Open the .ttl file in notepad or any other text editor.
Change the SSID and passphrase.
Save the file.
Use Tera Term and go to menu Control->Macro
Browse to the .ttl file you just edited.
It should configure the module at the end of the process.
If you don't get anything in the screen, you will need to change the baud rate before you open the .ttl file.
Go to menu Setup->Serial port and choose 57600 baud and then go to menu Control->Macro to open the .ttl file.
If that does not work for some reason, copy and paste what you get on the screen.
I open the file you attached in tera term and its just the notepad. idk what to do next, idk where you mean my menu setup and the steps after that. im sorry for my newbness but this stuff is way over my head. I appreciate your help Roberto
Ok, I was able to replicate the issue and it was definitely due to the firmware upgrade.
Let's try this:
You need to decompress the zip file.
Open the .ttl file in notepad or any other text editor.
Change the SSID and passphrase.
Save the file.
Use Tera Term and go to menu Control->Macro
Browse to the .ttl file you just edited.
It should configure the module at the end of the process.
If you don't get anything in the screen, you will need to change the baud rate before you open the .ttl file.
Go to menu Setup->Serial port and choose 57600 baud and then go to menu Control->Macro to open the .ttl file.
If that does not work for some reason, copy and paste what you get on the screen.
I open the file you attached in tera term and its just the notepad. idk what to do next, idk where you mean my menu setup and the steps after that. im sorry for my newbness but this stuff is way over my head. I appreciate your help Roberto
- Attachments
-
- Teraterm.png (70.8 KiB) Viewed 6532 times
Re: WIFI issues, im a newby help please!
Yes, you need to open in notepad not in tera term first.
Open the .ttl file in notepad or any other text editor.
Then you change the SSID and passphrase:
Change the SSID and passphrase.
Then you save the file:
Save the file.
Then you open the Tera Term program and go to menu Control->Macro
Use Tera Term and go to menu Control->Macro
Then, you look for the file you saved two steps above.
Browse to the .ttl file you just edited.
Open the .ttl file in notepad or any other text editor.
Then you change the SSID and passphrase:
Change the SSID and passphrase.
Then you save the file:
Save the file.
Then you open the Tera Term program and go to menu Control->Macro
Use Tera Term and go to menu Control->Macro
Then, you look for the file you saved two steps above.
Browse to the .ttl file you just edited.
Roberto.
Re: WIFI issues, im a newby help please!
The attached photo is from you installing Tera Term. Were you having problems installing?? Is that why you posted?
Roberto.
Re: WIFI issues, im a newby help please!
I installed it and run it, open the file which I modified with my passphrase and ssid. I just don't see the menu control macro part. I installed ttermp23, ive just never used this stuff before maybe im missing something easy. I just posted the screen shot to confirm its the right program theres a bunch of the tera temps idk if I used the right one http://hp.vector.co.jp/authors/VA002416/teraterm.html
Re: WIFI issues, im a newby help please!
I just went ahead and installed the same version you posted and I do see the menu mentioned above.
I think you are not following the steps correctly:
You need to open the file in notepad, edit and save it.
Then, run tera term and go to menu control->macro. This menu is not going to be in notepad. It's going to be in tera term.
I think you are not following the steps correctly:
You need to open the file in notepad, edit and save it.
Then, run tera term and go to menu control->macro. This menu is not going to be in notepad. It's going to be in tera term.
Roberto.
Re: WIFI issues, im a newby help please!
Sweet got the wifi working! I love you Roberto lol. I can access it when I put the ip it gave me in wifi utility setup. Now I think I need to set up the port forwarding so I can access outside of my network. Any ideas Roberto? I have a cisco ea4500 router. I know my ip for the wifi but Idk how to port forward.
Re: WIFI issues, im a newby help please!
Correct, you need port forwarding.
Most routers are very similar. Log into your router and look for port forwarding page.
You will be asked to enter the ip address and port. You mentioned you already got the ip. Type 2000 for port and that should do it.
To test go here: http://www.yougetsignal.com/tools/open-ports/
Change the port to 2000, but don't change the remote address.
Most routers are very similar. Log into your router and look for port forwarding page.
You will be asked to enter the ip address and port. You mentioned you already got the ip. Type 2000 for port and that should do it.
To test go here: http://www.yougetsignal.com/tools/open-ports/
Change the port to 2000, but don't change the remote address.
Roberto.
Re: WIFI issues, im a newby help please!
I need help setting up port forwarding. I have entered the port number and have not had any luck. The attached image is a screen shot of the port forwarding in my router.
- Attachments
-
- screen shot.PNG (31.41 KiB) Viewed 4089 times
Re: WIFI issues, im a newby help please!
You want to use TCP port 2000 to 2000 and leave map to host port blank and application type blank.
But you should have another page where you setup the actual port forwarding and you will be able to select the application you just entered in application name.
But you should have another page where you setup the actual port forwarding and you will be able to select the application you just entered in application name.
Roberto.