Has the program you copy (cp bfgminer /opt/minepeon/bin/bfgminer) executable rights ?
Sorry, I'm a retard - how do I check that? FWIW I can get 4.7 to work, but not 5.1 or any other version, installing the exact same way. Each time it says "bfgminer.service not found". Trouble is that 4.7 won't run the Monarch.
Besides using
find to search for these permissions bits,
ls displays the permissions when the
-l flag is used.
so, try
ls -l in that directory and look for
X or
x flag besides bfgminer file.
If a program is set uid, the "x" in the user area is displayed as a "s" A sticky file or directory is indicated with the last "x" displayed as a "t." If the corresponding execute bit is not set, the letter is capitalized. The capitalization of the letter is a flag that an unusual combination was chosen.
"bfgminer.service not found" means that bfgminer is not running ..
>> try this >>
http://blog.verticodelabs.com/raspberry-pi-bfgminer-service/