Bitcoin Forum
November 13, 2024, 12:00:49 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 [67] 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 »
  Print  
Author Topic: GekkoScience NewPac / Terminus R606 (BM1387) Official Support Thread  (Read 61894 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (1 post by 1+ user deleted.)
Searing
Copper Member
Legendary
*
Offline Offline

Activity: 2898
Merit: 1465


Clueless!


View Profile
December 05, 2019, 05:02:22 AM
Last edit: December 05, 2019, 08:30:04 PM by Searing
 #1321

I'm finally going to get around to putting this up. I got the beginning of this in around March? sheesh. (had remodeling house projects...don't throw stuff at me in Bitcointalk!)

Anyway, the directions from in the box say that this is the install I should use on this thread.

https://bitcointalk.org/index.php?topic=5053833.msg50506833#msg50506833

but that link is only like 1/2 way through the thread from back in 4/8/19. So I suspect there is a better link than this one by this time? I mean my box has one older than this!

So the question is: "Is there a more current post on this thread I should use instead?"

As for what I'm gonna try to run this on/thru it is a Compaq Evo N800v Laptop running the the latest version of Lubuntu. (Unbuntu Light Version, whatever the latest version is of Lunbuntu, that is). I have 'little' experience, from like 2014 or so, so use 'small words'.

by the by, don't care about the Laptop above power use, I just use it to watch 24/7 anyway, as I did for the KNC Titan's back in the day.

thanks

Brad

(I really, really, need to start a procrastinator club, big time, I'd be a God!)

edit: running the R606 (have not even unpacked it yet) Smiley

Old Style Legacy Plug & Play BBS System. Get it from www.synchro.net. Updated 1/1/2021. It also works with Windows 10 and likely 11 and allows 16 bit DOS game doors on the same Win 10 Machine in Multi-Node! Five Minute Install! Look it over it uninstalls just as fast, if you simply want to look it over. Freeware! Full BBS System! It is a frigging hoot!:)
MoparMiningLLC
aka Stryfe
Legendary
*
Offline Offline

Activity: 2254
Merit: 2419


EIN: 82-3893490


View Profile WWW
December 05, 2019, 05:25:11 AM
Last edit: December 05, 2019, 10:26:31 AM by frodocooper
 #1322

which one are you running? the newpac? or the terminus?

here is one of the scripts for my terminus, I have a few, each for different pools

Code:
cgminer.exe -o stratum+tcp://solo.ckpool.org:3333 -u <btc address> -p x --api-listen --api-allow W:0/0 --gekko-r606-freq 750

Mine BTC @ kano.is
Offering escrow services https://bitcointalk.org/index.php?topic=5154480
All Bitcoin 3D printing needs at CryptoCloaks
zsmith
Member
**
Offline Offline

Activity: 142
Merit: 60


View Profile
December 05, 2019, 05:51:30 PM
Last edit: December 07, 2019, 03:42:34 AM by frodocooper
Merited by frodocooper (3)
 #1323

I've tried sudo crontab -e then entered before exit 0:

Code:
0 */12 * * * /home/pi/git/vthoang/cgminer/x1R606b.sh

This is for a continual 12hr reboot but doesn't work. Am I missing more code?

Try this to see if it reboots.  It might be your script or a file permission issue.

Code:
0 */12 * * * reboot now

If you just want to restart the miner and not the whole system, you can use this script here:

https://bitcointalk.org/index.php?topic=5053833.msg48475209#msg48475209
Searing
Copper Member
Legendary
*
Offline Offline

Activity: 2898
Merit: 1465


Clueless!


View Profile
December 05, 2019, 08:31:54 PM
Last edit: December 07, 2019, 03:43:14 AM by frodocooper
 #1324

which one are you running? the newpac? or the terminus?

edit: running the R606 (have not even unpacked it yet)

So I need the complete instructions from downloading the cgminer to whatever if that is needed. I assume I can get that part from the front page of this thread at least?

Old Style Legacy Plug & Play BBS System. Get it from www.synchro.net. Updated 1/1/2021. It also works with Windows 10 and likely 11 and allows 16 bit DOS game doors on the same Win 10 Machine in Multi-Node! Five Minute Install! Look it over it uninstalls just as fast, if you simply want to look it over. Freeware! Full BBS System! It is a frigging hoot!:)
MoparMiningLLC
aka Stryfe
Legendary
*
Offline Offline

Activity: 2254
Merit: 2419


EIN: 82-3893490


View Profile WWW
December 06, 2019, 02:15:44 AM
Last edit: December 07, 2019, 03:43:27 AM by frodocooper
 #1325

yes - the first post will have the instructions you need - I have not done a linux install but I would assume everything you need is there.

Mine BTC @ kano.is
Offering escrow services https://bitcointalk.org/index.php?topic=5154480
All Bitcoin 3D printing needs at CryptoCloaks
Searing
Copper Member
Legendary
*
Offline Offline

Activity: 2898
Merit: 1465


Clueless!


View Profile
December 06, 2019, 09:08:26 PM
Last edit: December 07, 2019, 03:43:57 AM by frodocooper
 #1326

Ok thanks, probably should have just contacted the OP but saw a mess of stuff as updated in the thread and have been caught in the loop of using 1st page on installs before and then having to do a complete do-over.

I am going to do Linux due to the fact of the many free NEVER to be upgradeable past Windows XP laptops I have..but on that note everything, including cgminer better be sudo apt install for newbies..in that I MAYBE can follow monkey see monkey do type in as on the page anything breaks beyond that I'm screwed..that is my level of unbuntu knowledge Sad

thanks

Brad

Old Style Legacy Plug & Play BBS System. Get it from www.synchro.net. Updated 1/1/2021. It also works with Windows 10 and likely 11 and allows 16 bit DOS game doors on the same Win 10 Machine in Multi-Node! Five Minute Install! Look it over it uninstalls just as fast, if you simply want to look it over. Freeware! Full BBS System! It is a frigging hoot!:)
MoparMiningLLC
aka Stryfe
Legendary
*
Offline Offline

Activity: 2254
Merit: 2419


EIN: 82-3893490


View Profile WWW
December 07, 2019, 12:46:12 AM
Last edit: December 07, 2019, 03:44:15 AM by frodocooper
 #1327

there are quite a few here who have done linux installs - I plan to get a pi eventually but I only have one terminus and it seems silly to buy a pi just for that one. maybe if i get more of them.

Mine BTC @ kano.is
Offering escrow services https://bitcointalk.org/index.php?topic=5154480
All Bitcoin 3D printing needs at CryptoCloaks
sidehack
Legendary
*
Offline Offline

Activity: 3402
Merit: 1864

Curmudgeonly hardware guy


View Profile
December 07, 2019, 03:06:43 AM
 #1328

Running on Linux is pretty easy. I've set up enough testing stations that, except for the dependency list, I have just about every other step memorized.
The only trick to it is making sure you don't put a zero where a capital O should be in the one line.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
Cohenpol
Newbie
*
Offline Offline

Activity: 27
Merit: 30


View Profile
December 07, 2019, 05:27:26 PM
Last edit: December 09, 2019, 03:45:24 AM by frodocooper
 #1329

Save this code as mine.sh, edit the line starting with lxterminal with the full path to your cgminer folder and then put in the commands you usually use for your pool, mark as an executing program and run. It goes in a loop so to exit, just use control C...

Code:
#!/bin/sh
echo "Restarting cgminer every 6 hours"
while true
do
 lxterminal -e "/home/USERNAME/cgminer/cgminer -o POOL_URL -u USER -p PW --suggest-diff 128"
 sleep 21600
 pkill -f cgminer
 echo "Restarting cgminer..."
 sleep 4
done

Hi zsmith and all

When you say "save this code as mine.sh" , do you mean opening a text file then saving it as mine.sh in my cgminer folder? e.g. /home/pi/git/vtoang/cgminer/mine.sh?

Can I run a similar file for more instances such as mine2.sh and mine3.sh?  I run more than one instance for different R606' and Newpac's.

What would be the script to reboot the Pi4 weekly (e.g. 0100hrs every Monday) then to reboot each cgminer .sh file every 24hrs?

Does running the auto-reboot script commence from executing the .sh file and how would that conflict with the Pi4 reboot timing per week?

Would sleep 86400 = 24hrs?

Whats the sleep 4 at the end for?

Thank you in advance from a novice although I've loved this project build.  I can see the end in sight and all I need is to programme the Pi4's and miners to refresh on command Smiley
gt_addict
Hero Member
*****
Offline Offline

Activity: 2534
Merit: 623


View Profile
December 07, 2019, 05:31:14 PM
 #1330

Just out of curiosity, why do you need them to reset at specific intervals?

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
Cohenpol
Newbie
*
Offline Offline

Activity: 27
Merit: 30


View Profile
December 07, 2019, 09:11:48 PM
Last edit: December 09, 2019, 03:45:49 AM by frodocooper
 #1331

Hi GT, I may have caused slight confusion.  I would like to programme a weekly reboot of the Pis and a daily/36hr reboot of cgminer.  My set-up is away from home and I can't SSH into it with my USB broadband dongle.  Therefore, refreshing the devices at those intervals was my plan of running stable  Grin I've tried /etc/rc.local and crontab -e scripts but it seems I have permission/path issues that I haven't bottomed out yet as nothing happens after a sudo reboot.
zsmith
Member
**
Offline Offline

Activity: 142
Merit: 60


View Profile
December 08, 2019, 04:54:18 PM
Last edit: December 09, 2019, 03:47:25 AM by frodocooper
Merited by frodocooper (4)
 #1332

When you say "save this code as mine.sh" , do you mean opening a text file then saving it as mine.sh in my cgminer folder? e.g. /home/pi/git/vtoang/cgminer/mine.sh?

Yes open your text editor and save it as mine.sh.  You can put it in any folder, just home folder is easiest.  You also have to mark it as an executing file.  You can do it through the GUI by right clicking on file, select properties, then the permissions tab and check the box for executing.

Can I run a similar file for more instances such as mine2.sh and mine3.sh?  I run more than one instance for different R606' and Newpac's.

I would just add an additional line for each instance to your script and just run the one script.

What would be the script to reboot the Pi4 weekly (e.g. 0100hrs every Monday) then to reboot each cgminer .sh file every 24hrs?

I would use crontab for the weekly reboot, this is what it is made for.

Code:
sudo crontab -e

Then add this as last line

Code:
0 1 * * 1 reboot

Does running the auto-reboot script commence from executing the .sh file and how would that conflict with the Pi4 reboot timing per week?

It won't conflict.  The script just waits for a certain amount of seconds to have gone by.

Would sleep 86400 = 24hrs?

Yes, it is in seconds.

Whats the sleep 4 at the end for?

Just to give it some time to shutdown the first instance, so there is no conflict.
Cohenpol
Newbie
*
Offline Offline

Activity: 27
Merit: 30


View Profile
December 10, 2019, 09:59:43 PM
Merited by frodocooper (3)
 #1333

Hi zsmith and all  Grin

I wonder if you can help again before I headbutt my keyboard  Shocked I must be doing something wrong or have a script/permission issue.  My saved mine.sh text file reads as this:

Code:
#!/bin/sh
echo "Restarting cgminer every 24 hours"
while true
do
 lxterminal -e "/home/pi/git/vthoang/cgminer -o stratum+tcp://de.ckpool.org:3333 -u myusername -p mypassword  --gekko-r606-freq 750 --widescreen"
 sleep 86400
 pkill -f cgminer
 echo "Restarting cgminer..."
 sleep 4
done

I changed the file permission as 'only owner' and played around with all sorts of commands from page 7 and 66.  No lines of code seem to work in either:

Code:
sudo nano /etc/rc.local

or

Code:
sudo crontab -e

These commands don't work in crontab -e:

Code:
@reboot ( /bin/sleep 30; /bin/bash /home/pi/git/vthoang/cgminer/x1R606b.sh >> /home/pi/cronjoblog 2>&1

or

Code:
01/12 * * * /bin/bash /home/pi/git/vthoang/cgminer/x1R606b.sh >> /home/pi/cronjoblog 2>&1

Once I save/exit out of crontab, it does say a new crontab instruction has been saved but nothing auto-starts from the GUI desktop after a test reboot.  I've read up and watched online videos that make it seem so easy and makes me wonder if there's a root, path, permission or script problem?  I'm using noobs/raspbian and recent to this phase of the project, I carried out a:

Code:
sudo apt-get update && sudo apt-get -y full-upgrade

Would this 'full-upgrade' instead of just the normal 'upgrade' have caused an effect and is there a way to revert versions if this is part of the issue?  I'm happy enough running 24/7 with no issues but really want to nail this last phase in-case of power, network and zombie problems when afk.  Thanks in advance  Wink
zsmith
Member
**
Offline Offline

Activity: 142
Merit: 60


View Profile
December 11, 2019, 01:09:46 AM
Merited by frodocooper (3)
 #1334

These commands don't work in crontab -e:

Code:
@reboot ( /bin/sleep 30; /bin/bash /home/pi/git/vthoang/cgminer/x1R606b.sh >> /home/pi/cronjoblog 2>&1

or

Code:
01/12 * * * /bin/bash /home/pi/git/vthoang/cgminer/x1R606b.sh >> /home/pi/cronjoblog 2>&1

Once I save/exit out of crontab, it does say a new crontab instruction has been saved but nothing auto-starts from the GUI desktop after a test reboot.  I've read up and watched online videos that make it seem so easy and makes me wonder if there's a root, path, permission or script problem?

First check to see if cgminer is actually running in the background.
Code:
ps -ef | grep cgminer

If not, check to see if crond is even running.
Code:
ps -ef | grep cron

If cgminer isn't running and crond is, make sure you have a blank line at the end of your crontab, hit return after your last line of code.   If it's still not working, check what the log at /home/pi/cronjoblog says?
Cohenpol
Newbie
*
Offline Offline

Activity: 27
Merit: 30


View Profile
December 11, 2019, 08:39:22 PM
Last edit: December 12, 2019, 10:52:30 AM by frodocooper
 #1335

I have these results:

Code:
pi@raspberrypi:~ $ ps -ef | grep cgminer
pi        1279   640  0 Dec10 ?        00:05:42 x-terminal-emulator -e /home/pi/git/vthoang/cgminer/x1R606b.sh
pi        1285  1279  0 Dec10 pts/1    00:00:00 /bin/sh /home/pi/git/vthoang/cgminer/x1R606b.sh
pi        1286  1285 22 Dec10 pts/1    05:09:33 ./cgminer -o stratum+tcp://de.ckpool.org:3333 -u myusername -p mypassword --gekko-r606-freq 750 --widescreen
pi        9652  9575  0 20:26 pts/0    00:00:00 grep --color=auto cgminer

pi@raspberrypi:~ $ ps -ef | grep cron
root       349     1  0 Dec10 ?        00:00:00 /usr/sbin/cron -f
pi        9753  9575  0 20:26 pts/0    00:00:00 grep --color=auto cron

/home/pi/cronjoblog = bash: Desktop: command not found

Does this help?
zsmith
Member
**
Offline Offline

Activity: 142
Merit: 60


View Profile
December 12, 2019, 01:13:35 AM
 #1336

Yes, it helps.   Your Cron is running and so is the script and the cgminer in the background.   Watch your pool, you should be submitting shares.

It should be working but if not post the results from "cat /home/pi/cronjoblog".
frieD195
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 13, 2019, 03:25:07 AM
Last edit: December 13, 2019, 11:56:06 AM by frodocooper
 #1337

I have an interesting problem. Up until this past Sunday, I was getting almost 1.1TH/s with eight Newpacs on a Sipolar 20-port, 200W, 40Amp, USB 3.0 hub. I know all of my Newpacs are getting the power they need. I even have 4 fans blowing on them at all times when operating. Specifically, I have three 140mm fans and one desktop USB speed-adjustable fan. Two of the 140's are blowing down from above and the third is 'exhausting' warm air to the side. The desktop USB fan is pointed directly at the front of my setup at max speed.

As of now, as shown by the pic below, even setting it at 100MHz still results in "missing nonces from chip[0]" errors and automatic ASIC Plateau adjustments to well below what I set the frequency at. Oddly enough, I seem to only encounter this behavior with my Newpacs on Slushpool stratums and no where else. I've switched to a few different Slushpool stratums and nothing helps. This is especially wierd since I have a used Antminer S9 hashing away with no issues on the US-East Slushpool stratum, even with the "Hashrate+2.0THs" option enabled. Temps hover between 69C on the hottest board and 67C on the coolest one.

https://imgur.com/a/FI85oC8

https://imgur.com/a/zqiWO4M

And below is the current operational behavior on that Bitcoin.com pool (normal behavior for my Newpacs, might bump them back up to 600 or even 650 later):

https://imgur.com/a/FVOTeUZ

I'd ultimately like to go back to Slushpool, but if its going to treat my precious babies like crap, then no more Slushpool for me! Any recommendations for auto-profit switching SHA256 pools would also be appreciated.
MoparMiningLLC
aka Stryfe
Legendary
*
Offline Offline

Activity: 2254
Merit: 2419


EIN: 82-3893490


View Profile WWW
December 13, 2019, 04:18:30 AM
Last edit: December 13, 2019, 11:56:29 AM by frodocooper
 #1338

try poolin.com.

Mine BTC @ kano.is
Offering escrow services https://bitcointalk.org/index.php?topic=5154480
All Bitcoin 3D printing needs at CryptoCloaks
WilcoWi
Member
**
Offline Offline

Activity: 88
Merit: 85


View Profile
December 16, 2019, 07:08:09 PM
Last edit: December 17, 2019, 01:16:04 AM by frodocooper
 #1339

[...]

i am using https://www.mining-dutch.nl, tried many pools. but best results i get here with newpacs.
gt_addict
Hero Member
*****
Offline Offline

Activity: 2534
Merit: 623


View Profile
December 17, 2019, 07:11:48 AM
Last edit: December 17, 2019, 11:29:43 AM by frodocooper
 #1340

Whats your profits like? How many newpacs have you got running on the pool and do you use cgminer or there software?

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
Pages: « 1 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 [67] 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!