Category Archives: linux

How to remotely start/stop Antminer S9, Antminer L3+ and probably others

PLEASE NOTE: This is probably not the best way of doing the thing but it is ONE way of doing it, which has been working for me. If you have a better way please let me know 🙂

EDIT: pretty sure braiins OS is a better move at this point so this is probably redundant now.

if you log into your miner via ssh and look in /etc/init.d/ you should see the script file which runs the mining dameon/program.

On the s9 it’s called bmminer.sh and on the L3+ it’s cgminer.sh. I guess it’ll be similar on other miners. If you have a different miner and want to find out what script to look for just do “top” at the ssh console and see what processes are hogging the most resources. On the S9 it’s a process called bmminer, and in the /etc/init.d/ folder there’s bmminer.sh to run the service.

Continue reading How to remotely start/stop Antminer S9, Antminer L3+ and probably others

Crypto-radiator update – the quest for 100% efficiency and beyond

So a few little updates on the crypto-radiator (see previous post HERE) …I’ve had quite a few bits and bobs going on with cryptocurrencies in general recently and partially inspired by Monero’s recent run to over $100 I had some ideas for how to improve the efficiency of the system.

So far it’s been mining on the CPU only, which outputs about ~60Hashes/sec (H/s), clearly not gonna be profitable but the more I’ve thought about this, the more it’s highlighted the importants of the “primary reward” as a factor.

By that I mean – if you’re purely mining crypto to make profit then you have quite a tricky task, and you end up in quite a precarious position since if your system isn’t profitable (which can happen at any moment) you’re shit-outta-luck and potentially thousands of $$ in the hole.

However if your primary reward is *heat*, and you’re only using mining crypto as a way of recouping some of that cost, the situation looks a lot more favourable…since heating is something you’d have to pay for anyway, and if you can get it significantly cheaper then you’re winning, even if it fluctuates a bit.

Continue reading Crypto-radiator update – the quest for 100% efficiency and beyond

Adding a “thermostat” to the the crypto-radiator with the Microdia TEMPer USB temperature sensor

So just a little update re the crypto-radiator – I’ve since got the TEMPer USB thermal probe working on the machine and have set it to log temperatures.

There is however a slight issue in that the usb ports are on the back of the machine and that’s also where the warmed air comes out , so the heat from that does affect the reading from the TEMPer device somewhat, which means the temperature reading can’t really be relied upon to be entirely accurate.

Continue reading Adding a “thermostat” to the the crypto-radiator with the Microdia TEMPer USB temperature sensor

Crypto-Radiator – Saving money on heating by mining cryptocurrency (xmr/monero)

No really!…actually this is perhaps not quite as silly as it might sound.

Continue reading Crypto-Radiator – Saving money on heating by mining cryptocurrency (xmr/monero)

CCTV GUIDE PART 4 – Archiving and cleanup, and setting up the Live monitor

If you’ve followed this far and got it working you’ve probably seen this system is going to produce a LOT of JPEG files. Ours spits out around 17,000 per day.  That amount of files is gonna quickly get unmanageable.

Also linux disks tend to have a limited number of “i-nodes”, which work like name tags for files. When your disk runs out of name tags it’s “full” whether it’s actually full to data capacity or not. Storing gazillions of tiny JPEGs is a surefire way to run out of i-nodes quickly.

Continue reading CCTV GUIDE PART 4 – Archiving and cleanup, and setting up the Live monitor

CCTV guide part 3 – Putting it all together –

Ok so you’ve got the scripts from part 1 and you’ve found your special url from part 2. Now it’s time to bring it all together and actually make it work!

You’ll need some sort of linux pc like a raspberry pi or similar, perhaps even a pi zero, or even just a regular linux pc. I’ve got the live monitoring part running on a Raspberry pi 2 and the logging part running on another random linux pc. It doesn’t really make much difference. The stuff we’re doing here is pretty basic and universal so you should be pretty much good to go regardless of the platform.

Continue reading CCTV guide part 3 – Putting it all together –

CCTV guide part 2 – Getting the image off your IP cam

In this part of the guide we’re going to try and figure out that special url you need in order to pull the images directly off the CCD of your IP cam, which is what you need in order to make the scripts from the previous part of the guide work properly.

I’m going to assume zero prior knowledge so am going to try and explain everything as we go along.

For this exercise this is the camera I’ll be using. It’s just a standard cheapo Wanscam one off ebay. It’s not the IP camera I actually use for our CCTV system but it works the same so will illustrate just how similarly they all work:

Continue reading CCTV guide part 2 – Getting the image off your IP cam

CCTV Guide part 1 – Turning your Raspberry Pi and pretty much any IP cam into a home security system with logging & archiving, for free (CCTV part 1)

This post is the first part of a series which shows how to turn your IP-cam and raspberry pi (or other embedded linux machine. pc etc) into a pretty decent and *reliable* security system which logs images, auto archives old images and cleans up after itself.

It’s free, and all you need is a text editor and a bit of time to figure out the particulars for your system.  I’ve done the hard bit which is working out the process and writing the bash scripts to actually do the hard work.

Continue reading CCTV Guide part 1 – Turning your Raspberry Pi and pretty much any IP cam into a home security system with logging & archiving, for free (CCTV part 1)