Excuse me for kicking this old topic, but i have the same question:
How can i get this working on a stock Ubuntu 14.04 (x64) system? I tried the steps mentioned, but it doesn't work.
It keeps saying:
Code: Select all
otgw@ubuntu:~$ otmonitor
bash: /usr/bin/otmonitor: No such file or directory
I also tried the x64 version, but that one seems to need a lot of additional stuff:
Code: Select all
otgw@ubuntu:~$ ./otmonitor-x64
no display name and no $DISPLAY environment variable
while executing
"load /home/otgw/otmonitor-x64/lib/tk8.6/libtk8.6.so Tk"
("package ifneeded Tk 8.6.4" script)
invoked from within
"package require Tk"
(file "/home/otgw/otmonitor-x64/gui.tcl" line 2)
invoked from within
"source /home/otgw/otmonitor-x64/gui.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join /home/otgw/otmonitor-x64 $file]]"
(procedure "include" line 2)
invoked from within
"include gui.tcl"
(file "/home/otgw/otmonitor-x64/otmonitor.tcl" line 1620)
invoked from within
"source /home/otgw/otmonitor-x64/otmonitor.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join /home/otgw/otmonitor-x64 $file]]"
(procedure "include" line 2)
invoked from within
"include otmonitor.tcl"
(file "/home/otgw/otmonitor-x64/main.tcl" line 13)
otgw@ubuntu:~$
Can someone point me how to get it working? I am running Ubuntu Server 14.04 LTS (x64) in a virtual machine, no GUI only commandline SSH.
Edit:
I have found it already, you can just start the binary in daemon mode:
Code: Select all
./otmonitor-x64 --daemon --w 8080 /dev/ttyUSB0
or in my case (OTGW over LAN, with USR-TCP232):
Code: Select all
./otmonitor-x64 --daemon --w 8080 192.168.4.30:23

I let
supervisor autostart the 'otmonitor-x64' on boot, and let it also watch it, so when it should crash, it is automatically started again.