Guest User

antminer setup...

a guest
Jan 22nd, 2014
1,460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1.  
  2.  
  3. How to setup the antmine S1 v1
  4.  
  5.  
  6.  
  7. Configure laptop or PC for same subnet as whats specified on the sticker of a miner
  8. Go to ur browser, type in that ip(IE must use HTTP://ip)
  9. access is: u: root p: root (change as desired)
  10.  
  11. For network setup:
  12. Go to network, select "EDIT" for the WAN interface
  13. Set your own static ip or select DHCP client from dropdown box and then select "switch protocol"
  14. Hit save & apply
  15. Document the new ip addres and then restart the miner(via webgui or power off/on - either is fine)
  16. (if static, would probably reprint a new sticker for it)
  17. Then, log back into the miner...
  18. In System tab under general settings, make sure to set the proper timezone & sync w/ browser
  19. Enable NTP client
  20. Specify a unique hostname for each miner(mine are set antminer1 & 2 etc...)
  21. network setup is done
  22.  
  23. Mining setup:
  24. Go to the Miner Configuration page
  25. Enter pool 1 & 2 ( at least 2 pools, the 2nd one is for backup)
  26.  
  27. Hit save & apply
  28. After 30secs or so, it will start mining. U can tell its mining by the rapid flashing of green LED's on each blade.
  29. Verify its mining by looking at Miner Status page
  30. *if you run into odd stability issues at first... just power cycle it, usually works fine after a power cycle.
  31. *after 5minutes of mining, look at the temps under Miner Status... hopefully they will be less than 50c =)
  32. *also, the processor of the little router will be @ 100% when mining..so the webgui will get noticeably less responsive for ya when it starts mining... this is normal.
  33.  
  34. Flashing latest firmware:
  35. Download the entire archive(Download ZIP on right side of page) of - https://github.com/AntMiner/AntGen1
  36. Extract all files
  37. In the webgui of the antminer go to System -> Backup/Flash firmware
  38. Make sure "keep settings" is checked
  39. click "choose file" and browse to the folder in the extracted zip, under firmware labeled "antMiner_openwrt20131226.bin"
  40. It will take about a minute or so to flash
  41. May need to manually refresh browser page if not already refreshed after 2mins
  42. After browser page is properly refreshed, and you can log in... power cycle the miner.
  43. Verify its properly booted & hashing(if already configured pools etc...) via the fast blinking lights.
  44. ***END BASIC CONFIG***
  45.  
  46.  
  47. **START ADVANCED CONFIG***
  48.  
  49. Log into the webgui, go to system - software
  50. select "update lists"
  51. then click the "available packages" tab
  52. then filter field ... type nano
  53. select "find package"
  54. Nano should be listed, then click "install"
  55. (if nano not listed, select the N category...should be there, if not then try update lists again)
  56.  
  57. Next .. SSH into the miner...
  58. Open up putty(if on windows)
  59. type in the ip addy of the antminer, hit connect / ok .. whatever
  60. It will take a bit if its mining, it will then present the standard SHA security token, hit ok
  61. login to SSH is same as it is for the webgui
  62. Most used commands will be: /etc/rc.d/S99cgminer start ; /etc/rc.d/S99cgminer stop ; nano /etc/config/asic-freq ; nano /etc/config/cgminer
  63.  
  64. To allow api access to the antminer type nano /etc/config/cgminer and edit the appropriate api line(it will have 127.0.0.1 in it already)
  65. Save the file by doing CTRL+O then ENTER
  66.  
  67. To overclock type nano /etc/config/asic-freq
  68. I would recommend adding the 375mhz setting(will not be listed in the file)
  69. So, manually type a new set of 3 options line...
  70. Set to the following:
  71. option 'freq_value' '4e81' #375M
  72. option 'chip_freq' '375'
  73. option 'timeout' '37'
  74.  
  75. Make sure to comment out the original 350M lines
  76. CTRL+O then ENTER
  77.  
  78. to apply the above settings:
  79. /etc/rc.d/S99cgminer stop (wait 10-15seconds for proc to exit)
  80.  
  81. then
  82.  
  83. /etc/rc.d/S99cgminer start (you should see the correct starting arguments(updated clocks, api listen)
  84.  
  85. If the above is the case, ur good to go =)
  86. If not then double check everything, make sure syntax is correct in those 2 edited files.
  87. And retry the ... stop, start
  88.  
  89. (dont use restart for the service...it doesnt correctly reexecute)
  90.  
  91. If you wish to set more arguments for cgminer they must be done by editing the
  92. /etc/rc.d/S99cgminer service file, you will see in there the PARAMS line.... add whatever parameters you want to that, like --failover-only...etc...
  93.  
  94. **END ADVANCED CONFIG**
Advertisement
Add Comment
Please, Sign In to add comment