Quantcast
Channel: Mining — Ethereum Community Forum
Viewing all articles
Browse latest Browse all 10806

Need some help to start mining on startup Ubuntu 15.10 [solved]

$
0
0
I apologize in advance but the downtime is kicking my butt when I'm away from home. I'm using Claymore (extracted to the home folder) and Ubuntu 15.10. I have followed a few tutorials and no luck. Any help would be appreciated... here's what I have:

sudo nano mine_ether.service

[Unit]
Description=Mine Ether

[Service]
Environment=GPU_FORCE_64BIT_PTR=0
Environment=GPU_MAX_HEAP_SIZE=100
Environment=GPU_USE_SYNC_OBJECTS=1
Environment=GPU_MAX_ALLOC_PERCENT=100
Environment=GPU_SINGLE_ALLOC_PERCENT=100

ExecStart=/home/user/ethdcrminer64 -epool us2.ethermine.org:4444 -ewal ethaddy.rig1 -espw x -dpool stratum+tcp://yiimp.ccminer.org:4252 -dwal decredaddy -dpsw x -esm 1 -mode 0 -r 0 -etha -1 -ethi 8 -wd 1

Restart=always

[Install]
WantedBy=multi-user.target

^X

sudo ln -s /home/user/mine_ether.service /etc/systemd/system/mine_ether.service

sudo systemctl start mine_ether.service

systemctl status mine_ether.service -l
● mine_ether.service - Mine Ether
Loaded: loaded (/home/user/mine_ether.service; linked; vendor preset: enabled)
Active: active (running) since Tue 2016-06-28 13:36:56 CDT; 2s ago
Main PID: 2316 (ethdcrminer64)
CGroup: /system.slice/mine_ether.service
└─2316 /home/user/ethdcrminer64 -epool us2.ethermine.org:4444 -ewal ethadd.rig1 -espw x -dpool stratum+tcp://yiimp.ccminer.org:4252 -dwal decredadd -dpsw x -esm 1 -mode 0 -r 0 -etha -1 -ethi 8 -wd 1

sudo cp /home/user/mine_ether.service /lib/systemd/system/.

Created symlink from /etc/systemd/system/multi-user.target.wants/mine_ether.service to /lib/systemd/system/mine_ether.service

sudo reboot

[solved]

I don't know what I was doing wrong above but figured it out by making a script with the commands, make it executable then crontab -e and add @reboot /path/to/script

Viewing all articles
Browse latest Browse all 10806

Trending Articles