![]() ![]() PKG_SOURCE_URL:=git: ///pooler/cpuminer.git PKG_SOURCE:=$ (PKG_NAME )-$ (PKG_VERSION )-$ (PKG_REV ).tar.gz # Copyright (C) 2013 # This is free software, licensed under the GNU General Public License v2. ![]() This is a possible Makefile for cpuminer, but still needs a lot of debug. a bcm6368 calculates 0'11 kH/s with both cores enabled mining litecoins), but we must take in mind the low power comsumption of these devices. This is not a good alternative due to the low performance of the CPUs found in the routers (i.e. Then when you are finished hit Ctrl+a d to suspend the screen again.Īlso Bfgminer can be used to mining litecoins with OpenWrt, but only with the CPU in this moment. However because it uses the screen command you can view the BFG Miner interface to see the output by using the command screen -rS bfgminer. Note that it uses the screen command, which you will also have to install #!/bin/sh /etc/rc.common # Start and stop bfg miner START= 94 STOP= 15 You can also use an init script, which is explained here initscripts. This is the command I use, note that while my device is not an icarus device, the icarus command line options work fine.īfgminer -o stratum+(stratum address) -u (username) -p (password) -S all -icarus-options 115200:1:1 -icarus-timing 3.0=100 The easiest way to do this is add a command to the local startup script, available at System→Startup (scroll down). Next you'll probably want to set your router to run bfgminer at startup. Note you don't have to do this from the command line, it can be done from luci at System→Sofware→Configuration Next we will need to install BFG Miner, luckily for us it provides an openwrt repository for most hardware. Consult the BFG Miner readme for more info on this. If not you may need to load the drivers manually using the insmod command. We also have to verify that USB device is available, issue the following and your USB device should appear hereĬrw-rw-rw- 1 root root 188, 0 Sep 6 21:40 /dev/ttyUSB0 If the driver now equals something other then (none) it is loaded successfully. S: Product=CP2102 USB to UART Bridge Controller Since my particular controller uses a CP2102 we will need to install the package: kmod-usb-serial-cp210x Note: it will also install its prereq kmod-usb-serial Alternatively a common list of drivers provided by BFG Miner is as follows. The section Product= will tell you which driver we will need. The Driver=(none) indicates that you do not have the proper kernel module installed for this device so we will need to install it. S: **Product=CP2102 USB to UART Bridge Controller** First verify your mining hardware is detected with this command: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |