From mboxrd@z Thu Jan 1 00:00:00 1970 From: jon@fourwinds.com (Jon Steinhart) Date: Wed, 20 Sep 2017 10:09:25 -0700 Subject: [TUHS] UNIX of choice these days? In-Reply-To: <20170920165830.e6lp4acvfpq63n25@matica.foolinux.mooo.com> References: <201709201542.v8KFgN9T012655@darkstar.fourwinds.com> <20170920165830.e6lp4acvfpq63n25@matica.foolinux.mooo.com> Message-ID: <201709201709.v8KH9PT7030498@darkstar.fourwinds.com> Ian Zimmerman writes: > On 2017-09-20 08:42, Jon Steinhart wrote: > > > The fourth machine lives up at my ski cabin and has 20TiB of disk; I have a > > remote control system make from a Raspberry PI that I can use to control the > > power on that machine so that I can rsync to it. It's my main offsite backup > > machine. > > This is intriguing; how do you remote-control to the ski cabin? > Satellite or something? Built a small daughter board with a few solid-state relays that plugs in to a Raspberry Pi. It does a few things for me... I don't like to keep the ski cabin machine powered up when not in use. Especially you Californians will be pissed at this but the cost of electricity at the ski cabin is something like 8x what I pay at home. Of course, that's probably on par with what you pay; at home I'm on a public utility district that buys directly from BPA. Also, I'm just one of those weird environmental types who turns off the lights when I leave a room so I don't want to be burning a power 24x7 for no reason. Also, while that machine is on a UPS, power up there is pretty flakey when the storms rage. So I couldn't count on the machine staying on. The Pi pings a dynamic DNS server so that I can find the machine. It also lets me know when the internet connection up their dies so that I can call CenturyLink. Unsurprisingly, their customer service number is identical to that of Dell and Verizon: the Oregon Department of Justice. One of the solid-state relays on the Pi is connected to the power switch on the bigger computer so that I can power it up from remote. Another is on the rest switch in case things go really weird and I can't power things down. That has never happened but it's just in case. The last relay is connected to the thermostat. That way, if I decide to go skiing on short notice I can turn the heat on while I'm driving up and it'll be warm when I get there. Oh, don't need satellite. The ski cabin has DSL so I get 10x the service that I get at home for .1x the price. Jon