Forwarder debug: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Purpose== | |||
If you run into problems it might useful to run the forwarder in debug mode. It will output verbosely if connections are sucessful and date from the EmontX received as normal. | If you run into problems it might useful to run the forwarder in debug mode. It will output verbosely if connections are sucessful and date from the EmontX received as normal. | ||
==Steps== | |||
1/ Connect to the EmonWRT with SSH. | 1/ Connect to the EmonWRT with SSH. | ||
Use [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Putty] program if you are on windows. | Use [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Putty] program if you are on windows. | ||
Line 6: | Line 8: | ||
User is root and default password is admin. | User is root and default password is admin. | ||
Stop the forwarder service like so | 2/ Stop the forwarder service like so | ||
$ /etc/init.d/emonwrt stop | $ /etc/init.d/emonwrt stop | ||
You can now run the process manually like so: | 3/ You can now run the process manually like so: | ||
$ /usr/bin/emonwrt_forwarder.sh -d | $ /usr/bin/emonwrt_forwarder.sh -d | ||
The forwarder will run and output debuging information in the terminal. You can stop it anytime using the Ctrl^C. | The forwarder will run and output debuging information in the terminal. You can stop it anytime using the Ctrl^C. | ||
You can then start the forwarder for normal operation again like so | 4/ You can then start the forwarder for normal operation again like so | ||
$ /etc/init.d/emonwrt stop | $ /etc/init.d/emonwrt stop |
Revision as of 20:56, 22 May 2014
Purpose
If you run into problems it might useful to run the forwarder in debug mode. It will output verbosely if connections are sucessful and date from the EmontX received as normal.
Steps
1/ Connect to the EmonWRT with SSH. Use Putty program if you are on windows. If using Linux just open a terminal. User is root and default password is admin.
2/ Stop the forwarder service like so
$ /etc/init.d/emonwrt stop
3/ You can now run the process manually like so:
$ /usr/bin/emonwrt_forwarder.sh -d
The forwarder will run and output debuging information in the terminal. You can stop it anytime using the Ctrl^C.
4/ You can then start the forwarder for normal operation again like so
$ /etc/init.d/emonwrt stop