I thought I would post an update to my solution for remote rebooting a
Squeezebox Touch:

My SBT is connected to my LAN via DHCP, so the IP address changes
periodically, but of course the SBT MAC address is fixed, never changes.
So how do we reboot the SBT remotely without knowing the IP address a
priori? I now use a little shell script (which I named reboot-sbt) to do
this. The SBT MAC addr can be gotten from the LMS player information
display...


Code:
--------------------
    #!/bin/sh
  plink root@"`ip neighbor | grep -i XX:XX:XX:XX:XX:XX | cut -d' ' -f 1`"  -pw 
1234  "reboot"
  
--------------------


Where XX:...:XX is the MAC address. For reasons I still do not
understand, I have to reboot my SBT every couple of weeks when it starts
cutting out, especially if I am streaming Hi-Res (>44.1KHz/16bit,) maybe
there is a memory leak going on in the device.

Note: I do not believe the SBT runs mDNS, so it is not possible to use
plink or ssh with the address: SqueezeboxTouch.local, unfortunately.



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B&W 804 speakers
*Laptop:* System76 Galago + Ubuntu 18.04 + Squeezelite +
Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
*Bedroom:* RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink
Revolve
*Phone:* Pixel 3a + Termux/Squeezelite + Material APK > Senn IE80
earbuds
*Server:* System76 Meerkat + Pop!_OS 21.10 + LMS 8.3
------------------------------------------------------------------------
Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=113696

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

Reply via email to