Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Based on the document from butterfly labs here:

https://forums.butterflylabs.com/showwiki.php?title=Tutorials:ASIC+Mining+on+Ubuntu+and+other+Linux+distros

I am using my ASIC miner successfully under ubuntu.

However I want to start BFGMiner on startup. This is where the fun starts.

in order to get BGFMiner to recognise the device i need to run

sudo chmod 666 /dev/ttyUSB*

after that I can run BFGMiner as follows:

bfgminer -o miningpool:port -u username.workername -p workerpass

When I try and put these commands in rc.local or in a script which i call via rc.local, BFGMiner starts but it seems like the chmod function isn't working. BFGMiner doesnt detect the device. The process is started by root. If I kill it from my user, and run the exact same script i am calling via rc.local, then it works. I've also removed the password requirement from both root and my user in the sudoers file, so it isnt that.

Please help.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.