ubq-control.sh README.txt WARNING - ubqminer only works on ethOS 1.3.3 or later. This script will refuse to install ubqminer on earlier versions of ethOS. This script provides a way to simply manage the new ubqminer on ethOS. When placed in your ethOS users home directory, it can be used to download, install ubqminer, swap from ubqminer to ethminer and back again and allow you to check the current status (which of ethminer or ubqminer is currently running). It also has an option to restore ethminer and remove ubqminer completely. After the script makes any changes to the miners, it will restart the miner for you. ##################### Important Limitations ##################### Do not the ethOS command "update-miners" or "update-miner ethminer" while ubqminer is running. First you must use "./ubq-control.sh ethash" to put ethminer back in place. Once you have updated ethminer you may then run "./ubq-control.sh ubiq" to use ubqminer again. Failure to follow this instruction could lead to wasted time. It won't break anything, but ubqminer would need to be reinstalled and ethminer updated again. If you wish to change coins, from eth to ubiq or from ubiq to eth, change the proxypool and mining address in local or remote conf before running the script. The script will run "putconf && minestop" for you. If in doubt about anything, contact me @headrush on the Ubiq or Maxhash discord. Safest option is to run "./ubq-control.sh ethash" before any ethOS update commands. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To install the script on your ethOS rig: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Log in to ethOS over ssh or use the terminal on your rig if you have a monitor attached. type (or copy and paste into the terminal) wget http://www.headru.sh/files/ubq-control.tar.gz When the file has downloaded (it's tiny so only takes a second or 2) paste the following command to unpack it tar -zxf ubq-control.tar.gz To check the file hasn't been tampered with paste the following command sha256sum --check checksum.txt The result should be ubq-control.sh: OK Now make the script executable chmod +x ubq-control.sh ~~~~~~~~~~~~~~~~~~ Running the script ~~~~~~~~~~~~~~~~~~ You should be in the same directory as the script to run it. Type ls and enter to make sure it's there. ./ubq-control.sh will show the available options || install || ubiq || ethash || remove || status || ./ubq-control.sh install will check to see if ubqminer is already on the system. If not, it will then check your ethOS version, download ubqminer from the Ubiq github, verify its checksum, move the files into position and exit ./ubq-control.sh ubiq will check to see if ubqminer is already running, if not then it will start ubqminer ./ubq-control.sh ethash will check to see if ethminer is already running, if not it will start ethminer ./ubq-control.sh remove will check to see which miner is running, take action accordingly and remove ubqminer and all related files from the system. It will not remove the script. It will leave ethminer running. ./ubq-control.sh status will show whether ethminer or ubqminer is currently running and show the ubqminer version. ~~~~~~~~~~~~~~~~~~~ ethOS modifications ~~~~~~~~~~~~~~~~~~~ Once the script is installed and running ubqminer you have to edit your local conf and add the following settings globalminer ethminer stratumproxy miner ethminer=flags --work-timeout 880 -U -P stratum1+tcp://your_address_here.your_worker_name@pool_url:port You can run whichever pool you want as long as you put the flags in ethminer=flags section. Comment out any other proxypool1 and proxywallet lines. I've tested on terrahash.cc and Maxhash, but it should work for any pool. Change the pool appropriate to your needs and remember to run putconf && minestop after making any changes to local.conf The usual ethminer flags apply, so -U is for nvidia gpus and -G for AMD gpus. ~~~~~~~~ Security ~~~~~~~~ There is nothing in this script which monitors, changes or steals any kind of information. It is simply there to allow you to swap from ethminer to ubqminer and back on ethOS 1.3.3 ~~~~~ Notes ~~~~~ Please check out all the latest info at the Ubiq Discord https://discord.gg/HtsAfFH Updated node and wallet versions are available at the Ubiq github https://github.com/ubiq Countdown to the hard fork at https://ubiqsmart.com/uip1/#/ The script has been tested on ethOS 1.3.2 and 1.3.3 with the expected results. If you modify this script in any way, or manually modify your ethOS filesystem after using this script, unexpected results may occur. If you try the script and don't like it, use the remove option to reset your ethOS system to normal and delete the script files from your ethos users home directory. If you do like the script, please consider donating either to me or to the Ubiq network development fund. 0xAc75f398Fd953Ce9c0914937D00A95d04D17b2DC headrush donation