dettofatto wrote: 
> You must install expect on your raspberry with 
> sudo apt-get install expect
> 
> After you must create that file
> mkdir ./bin 
> cd ./bin 
> 
> Create the script using the nano text editor
> 
> sudo nano reboot1
> 
> In the nano editor, type the script:
> 
> Paste my code
> Modify with yours touch's ip
> 
> Ctrl+o
> Ctrl+x
> 
> sudo chmod 755 reboot1
> 
> Insert in your cronjob, that must execute your new file
> 0 3 * * *  sudo /home/pi/bin/reboot1
> 
> And yes I reboot my touch via ssh and I must install except because we
> must send some inputs, only when we except some words or symbol.
> Also my knowledge of Linux (like my fake english) is very poor, but
> Google helps me!

Now for some news on openssh, we must connect to our squeezebox with  "
spawn ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc
root@iptouch "


------------------------------------------------------------------------
dettofatto's Profile: http://forums.slimdevices.com/member.php?userid=54805
View this thread: http://forums.slimdevices.com/showthread.php?t=104028

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to