[Rack] Building some new electronics to open the gate?
Ben Kochie
ben at nerp.net
Sun Nov 13 22:37:58 UTC 2011
I think we should keep your board in there, I just want to remove a
netbooting linux box from the dependancies for the board. Using a
network'd arudino is going to be a much more isolated and stable
system than NFSroot netbooting machines. We still need the relay and
everything in there to make it work.
-ben
On Sun, 13 Nov 2011, miloh wrote:
>
>
> 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%
>
>
>
>
More information about the Rack
mailing list