README.OpenWrt 1.3 KB

123456789101112131415161718192021222324252627
  1. Open up /etc/opkg.conf (on your router) in your favourite editor. You will see
  2. a line that looks similar to this at the top (depending on your device):
  3. src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages
  4. Note the platform following the OpenWrt version. In this example, it is ar71xx.
  5. Now add a new line immediately below it, similar to this:
  6. src/gz bfgminer http://luke.dashjr.org/programs/bitcoin/files/bfgminer/latest/openwrt/12.09/ar71xx
  7. Be sure you put the same platform at the end as your OpenWrt repository!
  8. Also note that you can change "latest" to "stable" or "testing" to get better-tested versions.
  9. Next, save the file and exit your editor. Tell opkg to reload its package lists
  10. by running the command:
  11. opkg update
  12. If you get a "404 Not Found" error, then your router may not be supported. If
  13. you open an issue for your router's platform, it may be possible to add
  14. support.
  15. If all went well updating your package list, you can now install BFGMiner and
  16. any drivers and/or bitstreams you might need:
  17. opkg install bfgminer
  18. opkg install kmod-usb-serial-ftdi
  19. opkg install kmod-usb-serial-cp210x
  20. opkg install kmod-usb-serial-pl2303
  21. opkg find bfgminer-bitstream*
  22. opkg install bfgminer-bitstream-ztex-ufm1_15y1
  23. opkg install bfgminer-bitstream-ztex-ufm1_15b1
  24. opkg install bfgminer-bitstream-fpgaminer