[Rack] Building some new electronics to open the gate?

miloh froggytoad at gmail.com
Sun Nov 13 21:13:35 UTC 2011


The hardware isn't broken.


Your software is broken.  I just tested it at noisebridge.  Did you read
the thread on it?
https://www.noisebridge.net/pipermail/rack/2011-November/001095.html

using the sshpass utility with -fnq doesn't work, perhaps the utility
doesn't work the same way it did after the system upgrades.


pony% diff /usr/local/bin/opengate /usr/local/bin/bacngate | grep sshpass
< sshpass -p 'live' ssh -fnq -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null user at 172.30.0.31 "bash -c 'open-door'" >
/dev/null
< USELOGIN="sshpass -p 'live'"
> sshpass -p 'live' ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null user at 172.30.0.31 "bash -c 'open-door'" >
/dev/null &
> sshpass -p 'live' ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null user at 172.30.0.31 "bash -c 'if [ ! -f
/usr/bin/beep ]; then sudo apt-get -y install beep ; fi ; beep -f 665.4064
-l 200 -n -f 550 -l 200 -n -f 666 -l 100 -f 200 -l 50 -n -f 1093.00 -l 100
-n -f 2186.01 -l 50 -n -f 65.4064 -l 100 -n -f 130.813 -l 100 -n -f 461.626
-l 100 -n -f 423.251 -l 100 -n -f 446.50 -l 50 -n -f 873.00 -l 100 -n -f
1686.01 -l 300 -n -f 261.626 -l 200'" > /dev/null&
> # sshpass -p 'live' ssh -fnq -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null user at 172.30.0.31 "bash -c 'aplay test.wav'"
pony%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.noisebridge.net/pipermail/rack/attachments/20111113/f52bc9ae/attachment.html>


More information about the Rack mailing list