![]() ![]() 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** Fill these out and save them.First verify your mining hardware is detected with this command: This will have lines in it with pool address, worker name and passwords. Now edit the config file you just created.Copy the example configuration file into a new configuration file that contains your pool's details.Install them with sudo apt-get install OR from the synaptic package manager ( sudo synaptic from he terminal) If you got any errors at the end of configuration, check them and see what package(s) are you missing.Open a terminal (CTRL+T) and navigate to your download folder, by default.Download the latest cgminer.tar version from:.If you are having problems, leave a comment and I will get back to you ASAP to find the problem and help you get going. ![]() Individual problems (missing packages and such) may arise during installation, however these are rather easy to solve. The device is "plug and play" under Linux, it doesn't require any drivers to be installed (unlike in Windows) so it is pretty easy to set up. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |