davidVT
Member
First install screen
Sudo apt-get install screen
Crontab last line: (thanks Jim for sharing that @reboot and screen)
@reboot screen -dmS ttd-screen ./TTD.sh
TTD.sh. In the pi directory:
#!/bin/sh
cd /home/pi/dist
python TwoToneDetect60Pi.pyc
Then follow the link above to automatically login to pi. (Post at 2:59 am)
Seems to work great so far.
I am slowly learning the screen commands. I am typing this on my iPad while an SSH app has the pi connected so I could read the scripts for you.
Once connected, if not familiar with screen, this is helpful:
Linux Screen Tutorial and How To - rackAID
After login use the top command to see if python comes up. 'I' (letter eye) to remove idle stuff
You can use 'q' to leave that.
Top cmd reference:
http://linux.about.com/od/commands/l/blcmdl1_top.htm
If screen is working,
screen -list. Should list out a line with ttd-screen that is the name I gave that in the scripts above.
screen -x ttd-screen Should connect you to the TTD output screen where noise should generate the familiar two columns. You can leave that with. CTRL-a,d for detach
YMMV. Hopefully the iPad has not mangled or autocorrected too much here.. Good luck
Sudo apt-get install screen
Crontab last line: (thanks Jim for sharing that @reboot and screen)
@reboot screen -dmS ttd-screen ./TTD.sh
TTD.sh. In the pi directory:
#!/bin/sh
cd /home/pi/dist
python TwoToneDetect60Pi.pyc
Then follow the link above to automatically login to pi. (Post at 2:59 am)
Seems to work great so far.
I am slowly learning the screen commands. I am typing this on my iPad while an SSH app has the pi connected so I could read the scripts for you.
Once connected, if not familiar with screen, this is helpful:
Linux Screen Tutorial and How To - rackAID
After login use the top command to see if python comes up. 'I' (letter eye) to remove idle stuff
You can use 'q' to leave that.
Top cmd reference:
http://linux.about.com/od/commands/l/blcmdl1_top.htm
If screen is working,
screen -list. Should list out a line with ttd-screen that is the name I gave that in the scripts above.
screen -x ttd-screen Should connect you to the TTD output screen where noise should generate the familiar two columns. You can leave that with. CTRL-a,d for detach
YMMV. Hopefully the iPad has not mangled or autocorrected too much here.. Good luck
Last edited: