Pages:
Author

Topic: ¤¤¤¤ gekkorun.de - Gekkoscience Fun-Run - compare your share ¤¤¤¤ - page 21. (Read 63663 times)

sr. member
Activity: 280
Merit: 250
all updated Smiley

have fun guys

Thx ammi!

Man, since two days I'm struggling with devices going Zombie  Embarrassed
sr. member
Activity: 462
Merit: 251
all updated Smiley

have fun guys
sr. member
Activity: 280
Merit: 250
Hello,

well I've got it working.

although I seem not to be able to attach to the screen session:

zou@brix:~/gekko$ cgminer-g1
There is no screen to be attached matching cgminer-g1.


but that doesn't matter as I've added a specific AP{I port for each so I can monitor them using Cryptoglance

Code:
alias cgminer-start-g1="cd /home/zou/gekko && sudo screen -dmS cgminer-g1 ./cgminer.gekko --api-port 4001 --api-listen --api-allow W:192.168.1/24 --usb 3:3 --compac-freq 300 -o stratum+tcp://de.ckpool.org:3333 -u 1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko1 -p 1234"

so I have 6 instances now
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko1
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko2
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko3
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko4
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko5
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko6

can you update the stat page ?

thank you !!

Hi zOU!

Very nice!
Ok that's strange, for me your command seems correct  Huh
Maybe some else is seeing wheres the error is.

I've checked your workers, they all are running.

Let's race, France vs. Canada vs. Switzerland 
One language connects all three countries  Smiley
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
Hello,

well I've got it working.

although I seem not to be able to attach to the screen session:

zou@brix:~/gekko$ cgminer-g1
There is no screen to be attached matching cgminer-g1.


but that doesn't matter as I've added a specific AP{I port for each so I can monitor them using Cryptoglance

Code:
alias cgminer-start-g1="cd /home/zou/gekko && sudo screen -dmS cgminer-g1 ./cgminer.gekko --api-port 4001 --api-listen --api-allow W:192.168.1/24 --usb 3:3 --compac-freq 300 -o stratum+tcp://de.ckpool.org:3333 -u 1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko1 -p 1234"

so I have 6 instances now
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko1
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko2
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko3
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko4
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko5
1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko6

can you update the stat page ?

thank you !!
sr. member
Activity: 462
Merit: 251
Quote
Please post in the Thread:
  • Username
  • Country-Code
  • BTC Worker (for example: 1myR1enMf4roWGUyYuhWv5m6sJrLeZ1jX_R1)
Cool!

earlmo
ca
122Pir8FdtwDd8RopKMGvGDMFxUrky88z7.earlmo523
122Pir8FdtwDd8RopKMGvGDMFxUrky88z7.earlmo526

.earl

hi earl,
added you Smiley

thanks for joining gekkorun
jr. member
Activity: 39
Merit: 1
Quote
Please post in the Thread:
  • Username
  • Country-Code
  • BTC Worker (for example: 1myR1enMf4roWGUyYuhWv5m6sJrLeZ1jX_R1)
Cool!

earlmo
ca
122Pir8FdtwDd8RopKMGvGDMFxUrky88z7.earlmo523
122Pir8FdtwDd8RopKMGvGDMFxUrky88z7.earlmo526

.earl
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
minibit: Thank you !!!

I'll give it a go tomorrow !

I'll update my workers with[1-6] at the end Smiley
sr. member
Activity: 462
Merit: 251
Hi guys,

sorry for the silence
had no computer today ;-)

zOU - thanks for joining :-) have fun!!
sr. member
Activity: 331
Merit: 250
I might move a gekko or 2 over here.

If your using a Pi, install screen as above and then just edit the /etc/rc.local file and add before "exit 0" line

cd /home/pi/cgminer-gekko-rev2 (pi will be what ever user name you set up and same for cgminer, it will be what ever version your using)
sleep 6s (just to give pi more time to be fully booted before starting cgminer)
screen -dmS cgminer sudo ./cgminer -o stratum+tcp://POOL:3333 -u ADDRESS.G1 --usb :1 --compac-freq (what ever you want) --widescreen --worktime -o stratum+tcp://BACKUPPOOL:3333 -u ADDRESS.G1
sleep 6s
screen -dmS cgminer sudo ./cgminer -o stratum+tcp://POOL:3333 -u ADDRESS.G2 --usb :1 --compac-freq (what ever you want) --widescreen --worktime -o stratum+tcp://BACKUPPOOL:3333 -u ADDRESS.G2
As many times as you want, I don't know if there is a limit to where it will start messing with the pi or not?

The pi will start to mine as soon as it is booted or reboots from a power outage (as long as you don't have to cycle the power on your hub after a power outage).

Then use putty to connect to the pi and screen to see cgminer/s.
sr. member
Activity: 280
Merit: 250
Ill be here eventually.

just gotta mod one of my 5 compacs with a stupid big heatsink and fire up a separate cgminer-gekko instance for this. its all running on a rPi B and a superbpag 70 watt hub.

my 5 just laze around at 16 ghs each with a 120mm pointed in their general direction. Ill crank one up and point it here.

We would love to see more people joining. Leave a message like in post 1 as soon as your gekko is ready.
sr. member
Activity: 280
Merit: 250
Here we go:

This instructions may are only usable on a Debian system. Raspbian would work just fine. You may know some parts of what I'm describing here already. I dont want to offend you. Just pick the info you need.

I'm not using Minera or other webinterfaces, just cgminer itself. Bfgminer should work too. Maybe there are some different starting parameters... For connecting to the individual cgminer-screens, I'm using a software called 'screen'. You will find info about screen on Google. I set up all cgminer commands I want to use as aliases.


First, install screen:

Quote
sudo apt-get install screen


Second, create all aliases:

Open the file ~/.bashrc, insert your aliases and specify all the start parameters. My file looks like this:

Quote
alias cgminer-start-g1="cd /opt/cgminer-gekko && sudo screen -dmS cgminer-g1 ./cgminer --usb 1:4 --compac-freq 162.5 -o stratum+tcp://de.ckpool.org:3333 -u 1LF2fmvVCbUV3WqXagf8RMzZHmEUvyfPwH_G1 -p 1234"

[...Removed miner 2 to 5 for better clarity...]

alias cgminer-start-g6="cd /opt/cgminer-gekko && sudo screen -dmS cgminer-g6 ./cgminer --usb 1:9 --compac-freq 162.5 -o stratum+tcp://de.ckpool.org:3333 -u 1LF2fmvVCbUV3WqXagf8RMzZHmEUvyfPwH_G6 -p 1234 "

These aliases will start a cgminer instance with the specified USB devices (--usb parameter) and set up a screen session. Change the BTC address to one of your own addresses!  Wink  Here you have a list in post #1 with the possible frequency rates: https://bitcointalksearch.org/topic/gekkoscience-compac-bm1384-stickminer-official-support-thread-1173963

Blue:Alias name
Brown:Path to cgminer binary
Red:Screen name
--usbDevice selection
Green:Worker extension

You can print a list of all devices if you start cgminer (with no --usb parameter selected, so that every connected device is used) an press the key 'U', then 'L'.


Now insert all screen aliases to ~/.bashrc:

Quote
alias cgminer-g1="screen -x cgminer-g1"
alias cgminer-g2="screen -x cgminer-g2"
alias cgminer-g3="screen -x cgminer-g3"
alias cgminer-g4="screen -x cgminer-g4"
alias cgminer-g5="screen -x cgminer-g5"
alias cgminer-g6="screen -x cgminer-g6"

As before, blue is the alias name and red the screen name.


Save the file, exit the text editor and execute the following command to reload all aliases:

Quote
source ~/.bashrc


Third, start it!  Smiley


Starting a specific cgminer instance:
Quote
cgminer-start-g1

Connecting to the screen a specific cgminer instance:
Quote
cgminer-g1


Important notes about screen:
If you are watching a process over screen, don't press CTRL + C to exit or 'screen' will pass the key combination to cgminer and it will stop to mine instead of leaving the screen session. Always detach safely from a screen session with the key cobination CTRL + A and then CTRL + D.
Also, don't connect to a started screen immediately. After you started a cgminer instance just wait 10 to 20 seconds before connecting to the screen session. Cgminer has to be startet and initialized completely, otherwise it may crash or freeze.


Feel free to leave your questions. If someone has a more elegant way to do this, please drop a post!
Please consider that I'm not a Linux expert  Smiley


Edit: Typos
Edit 2: Link to config source: http://pastie.org/10816473
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
Ill be here eventually.

just gotta mod one of my 5 compacs with a stupid big heatsink and fire up a separate cgminer-gekko instance for this. its all running on a rPi B and a superbpag 70 watt hub.

my 5 just laze around at 16 ghs each with a 120mm pointed in their general direction. Ill crank one up and point it here.
sr. member
Activity: 280
Merit: 250
I'm using minera, but if you have a way to do it easily, i'm interested Smiley

I never used minera, but as far as I can see, this is just a webinterface for managing cgminer and no the mining software itself?
I will post my config and how I set up my linux.
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
I'm using minera, but if you have a way to do it easily, i'm interested Smiley
sr. member
Activity: 280
Merit: 250
so maybe that would work:

Put your startup script in a file:

Code:
./cgminer -o pool:port -u username.worker -p password --usb :$1

Save to start_single.sh, then
Code:
chmod u+x start_single.sh

Make the final script:
Code:
NUM_MINERS = 7
cd "$(dirname "$0")"
parallel -j $NUM_MINERS -- ./start_single.sh $(seq 1 $NUM_MINERS)

Save as start_all.sh, then
Code:
 chmod u+x start_all.sh

Run ./start_all.sh to mine.

Source:
http://bitcoin.stackexchange.com/questions/12308/scripting-multiple-cgminer-processes-running-on-a-router

That's one way to do it. On Linux, you could use aliases too.
On Windows, just start multiple command line windows of cgminer.

@zOU could you separate your miners to one device per worker?
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
so maybe that would work:

Put your startup script in a file:

Code:
./cgminer -o pool:port -u username.worker -p password --usb :$1

Save to start_single.sh, then
Code:
chmod u+x start_single.sh

Make the final script:
Code:
NUM_MINERS = 7
cd "$(dirname "$0")"
parallel -j $NUM_MINERS -- ./start_single.sh $(seq 1 $NUM_MINERS)

Save as start_all.sh, then
Code:
 chmod u+x start_all.sh

Run ./start_all.sh to mine.

Source:
http://bitcoin.stackexchange.com/questions/12308/scripting-multiple-cgminer-processes-running-on-a-router
sr. member
Activity: 280
Merit: 250
Well you can have as many sticks as you want they do not share work, they process their own shares.

They're managed independently by the software (cg/bfg miner).

So in the end I don't think it makes any difference Smiley

It would work yes, but you won't have detailed statistics of every worker.


My vote would be to keep it as single sticks, has worked well for antrun and makes comparisons much easier.

Rich

I see it the same way. If it's possible, please use one device per worker address.
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
Well you can have as many sticks as you want they do not share work, they process their own shares.

They're managed independently by the software (cg/bfg miner).

So in the end I don't think it makes any difference Smiley
hero member
Activity: 588
Merit: 500
perhaps we should think about this

we add all sticks to one worker
user has the ability to set the amount of used sticks in the database (like MHz)

would this be ok?


gekkorun is still BETA and any ideas and suggestions are very welcome Smiley

My vote would be to keep it as single sticks, has worked well for antrun and makes comparisons much easier.

Rich
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
Username: zOU
Country-Code: fr
BTC Worker: 1GjdERDYEDQmyoZHnVnshBbVNBckDw4dnj.gekko

6 sticks @ 300Mhs
Pages:
Jump to: