Browse Source

README.OpenWrt: Import from BFGMiner downloads

Luke Dashjr 13 years ago
parent
commit
854978a2d1
1 changed files with 21 additions and 0 deletions
  1. 21 0
      README.OpenWrt

+ 21 - 0
README.OpenWrt

@@ -0,0 +1,21 @@
+Open up /etc/opkg.conf (on your router) in your favourite editor. You will see
+a line that looks similar to this at the top:
+	src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages
+Note the platform following the OpenWrt version. In this example, it is ar71xx.
+
+Now add a new line immediately below it, similar to this:
+	src/gz bfgminer http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.0.x/openwrt/12.09/ar71xx
+Be sure you put the same platform at the end as your OpenWrt repository!
+
+Next, save the file and exit your editor. Tell opkg to reload its package lists
+by running the command:
+	opkg update
+If you get a "404 Not Found" error, then your router may not be supported. If
+you open an issue for your router's platform, it may be possible to add
+support.
+
+If all went well updating your package list, you can now install BFGMiner and
+the bitstreams you need:
+	opkg install bfgminer
+	opkg find bfgminer-bitstream*
+	opkg install bfgminer-bitstream-ztex-ufm1_15y1  # (for example)