Pages:
Author

Topic: [ mining os ] nvoc - page 85. (Read 418542 times)

newbie
Activity: 46
Merit: 0
January 08, 2018, 02:29:45 AM
Hello,
I built a very crude SRR circuitry for a Raspberry Pi to remotely reset a rig or switch it on/off (The raspberry Pi basically controls an optocoupler connected to the reset and poweron pins of the mobo).
For the moment the Raspberry Pi just detect if port 22 is open on the rig. If not, it assumes that the rig is not reachable by SSH and reset the rig.

I see that there is an SRR scrips on nvOC, that looks much more sophisticated than what I am doing. Unfortunately there is no mention of the watchdog software to run on the Raspberry Pi.
Anyone can give me a pointer to the software to run on the Raspberry Pi.

Cheers


I have some code to share with you but the site is blocking my input.
Trying to contact with an admin about.
Thanks :-) Maybe you can post a link outside this forum

Ok, have a look at this and see if can help:
https://bitcointalksearch.org/topic/m.22615430

I don't use Nvoc's temp control.

Here the latest version of script (removed reset bit and add var to use/not to use telegram alerts. I did not test the telegram bit so be aware):
https://pastebin.com/mcqmt9CF

It is possible to add code to nvoc's temp control (or wdog) and reset/poweroff/on the rig from a raspberry pi.
I just look forward to have a well configured rig and make it work stable instead of using wdog.
I do not trust wdog not because of the coders/scripts but because of so many gpus and drivers (from time to time they change the output of error codes, etc).
Hi kk003,

This is awsome!! I will modify the code according the my setup.
As far as I can see from a quick look at the the code, the script assumes a rig is frozen if it doesn't respond to pings. Is it correct?
In the past I had rigs that were clearly frozen, but were still responding to pings. That is why, instead of pinging I check if the SSH port is open on the rig using netcat:

Code:
nc -z -v -w5 $rigIP 22

(w5 is a timeout of 5 seconds)

Thanks again :-)

Since we are on RPi talks ...
How many rigs can be monitored and reboot/reset/hard reboot with one RPi?
What are the hardwares needed for multiple rig control?

I'm not much of a hardware guy but love to make a rig controller with RPi if its not too hard.
Hi Papampi,
A Raspberry Pi 2B or 3B has up to 26 programmable digital pins (the original Raspberry Pi B has only 17).
You could connect each digital output to an optocoupler or a relay and control the power swithch and/or the reset button of the motherboard.
Suppose that you want to want to control both switch and reset of each mobo, that would make that you could monitor up to 13 mobo (26 if you just want to control the reset switch).

You can also connect digital temperature sensors to the pins (programming them in input mode).
You can find pretty inexpensive ready made relay boards with up to 16 relays.

In practice the hardware needed for for controlling 12 mobos would be:
1) 16 relay module. There are many on Amazon, for example https://www.amazon.com/SainSmart-101-70-103-16-Channel-Relay-Module/dp/B0057OC66U
2) 8 relay module.
3) Usb power supply
4) Optional external HDMI screen, unless you are running the RPi headless through SSH
5) Of course, a raspberry Pi
6) Plenty of cables with female Dupont connectors

The standard OS for the Raspberry Pi is Debian (Raspbian), but if you prefer you can have as well Ubuntu or Windows 10 IoT.
The advantage of Raspbian is that it comes with all the utilities for controlling directly the GPIO pins, either from Bash or a high level language like C++ or Python.


Awesome, Thanks a lot for the info
I have 3 RPi 2B that dont use any more because when 3B came out I replaced them for faster kodi
So I'm going to get a relay module and start playing with it, for sure I'm going to ask for more help on programming and connecting the relay to the board and ...

Thanks a lot mate
Keep calm and carry on mining Wink
No problems ;-)
Just a thing, do not buy the board that I put in the link of my previous message. I justs realised that the inputs are for 5V signals while what you need is a board compatible with 3.3V signals. Look for a board that is specifically designed for the RPi.

I have 2 16-Channel Relay Modules with 5v, they work OK. One of them is 5v powered and another 12v powered, and I had to add 12v power supply for the second relay, so now the Rpi3 is powered by the second relay and doesn't need 3) Usb power supply and the first relay is powered by Rpi3.
newbie
Activity: 1
Merit: 0
January 07, 2018, 10:36:36 PM
I had the WTM switch working well with the new nice hash algo adds. I seen it switch sucessfully a few times between  a few no troubles. I added some other coins seen them switch successfully. Now it seems when I have WTM switch on I'm getting a bash home/m1/2unix terminating error and terminal restarts miner looks like its about to start mining and nothing happens rinse repeat. I have it single coin mining right now but wondering whats wrong. I noticed the changes had some NICE- not NICE_ changes, anything off there? Also noticing its changing my COIN= to "NICE" not "NICE_EQUIHASH" or any other selection I have in the WTM switch choices.
full member
Activity: 350
Merit: 100
January 07, 2018, 09:06:31 PM
please add --submit-stale param for zcoin, without it my 19mh/s rig has only 12mh/s in miningpoolhub.
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 07:50:46 PM
Is there a simple command to update xorg? I think this is the solution to my driver/temp control problems.

this will generate one that enables most features


Code:
sudo nvidia-xconfig --enable-all-gpus --cool-bits=31
for normal gpus


Code:
sudo nvidia-xconfig --enable-all-gpus --cool-bits=12
for P106_100s


My guess is your problem is related to the P106_100s and normal GPUs working best with different coolbits settings.  Hard to know without one of those to test with.



hey just wondering if anyone can help? A puzzle for someone....  
I have 12 x1080's and have always had an issue wth the auto temp/fan speed for the 12th (GPU 11). Anyways, since I updated to the NVOC in dec to nvOC-19-2-update (by_fullzero_unofficial), it has mined anything no issues. and the only thing was as I mentioned..

Suddenly the end of December it constantly crashes on Equihash on both ZM and EWBF. The error was always that GPU 11 was lost. Anyhow, after some digging I found that in the Nvidia X Server Settings for GPU 11 the box was not there to tick for the fan speed.

After some more digging I found that in the etc/X11/xorg.conf file, the GPU 11 was not set correctly. It is in pci slot 18, and in the Section "Device" it only went up to PCI-17.

 I did as in the quote  sudo nvidia-xconfig --enable-all-gpus --cool-bits=31 and that didnt work either (so had to restore original), but it did give me all the correct pci locations of the GPU devices, so I have updated the xorg.conf  with the relevant pci settings.

Now the  auto temp/fan speed errors have gone and the tick box appears in Nvidia X Server Settings for GPU 11 .  

But, it still crashes on Equihash, it says
"Unable to determine the device handel for GPU 0000:1200.0 GPU is lost."
 I  updated NVOC on the 4th JAN to the nvOC v0019-2.0 - community release. Any suggestions anyone?    

 Also, why does my  etc/X11/xorg.conf file say Im using 1050's when I am using 1080's? Does it even matter?

I do not know if you have updated from version 0019-1.4 to version 19-2.0 with papampi scripts.

If so, is it possible for you to try to use the latest papampi image from the links we just posted and apply the latest updates from papampi.

Of course, you will not forget to save your current system with HDDrawCopy or diskdump (dd) for example, in another medium.

I had problems with version 19-1.4 too. not of this type, but I have a month since I installed the 19-2.0 and repared the disk by adding swap. I know it has nothing to do with the problem you are describing
newbie
Activity: 4
Merit: 0
January 07, 2018, 07:29:53 PM
Is there a simple command to update xorg? I think this is the solution to my driver/temp control problems.

this will generate one that enables most features


Code:
sudo nvidia-xconfig --enable-all-gpus --cool-bits=31
for normal gpus


Code:
sudo nvidia-xconfig --enable-all-gpus --cool-bits=12
for P106_100s


My guess is your problem is related to the P106_100s and normal GPUs working best with different coolbits settings.  Hard to know without one of those to test with.



hey just wondering if anyone can help? A puzzle for someone....  
I have 12 x1080's and have always had an issue wth the auto temp/fan speed for the 12th (GPU 11). Anyways, since I updated to the NVOC in dec to nvOC-19-2-update (by_fullzero_unofficial), it has mined anything no issues. and the only thing was as I mentioned..

Suddenly the end of December it constantly crashes on Equihash on both ZM and EWBF. The error was always that GPU 11 was lost. Anyhow, after some digging I found that in the Nvidia X Server Settings for GPU 11 the box was not there to tick for the fan speed.

After some more digging I found that in the etc/X11/xorg.conf file, the GPU 11 was not set correctly. It is in pci slot 18, and in the Section "Device" it only went up to PCI-17.

 I did as in the quote  sudo nvidia-xconfig --enable-all-gpus --cool-bits=31 and that didnt work either (so had to restore original), but it did give me all the correct pci locations of the GPU devices, so I have updated the xorg.conf  with the relevant pci settings.

Now the  auto temp/fan speed errors have gone and the tick box appears in Nvidia X Server Settings for GPU 11 .  

But, it still crashes on Equihash, it says
"Unable to determine the device handel for GPU 0000:1200.0 GPU is lost."
 I  updated NVOC on the 4th JAN to the nvOC v0019-2.0 - community release. Any suggestions anyone?    

 Also, why does my  etc/X11/xorg.conf file say Im using 1050's when I am using 1080's? Does it even matter?
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 07:25:23 PM
Obviously you are able to choose a folder path.
Arguing about not creating a folder ? Seriously ?
I'm not writing this OS , I'm using it

The whole point of the few instructions I wrote is to not overwriting the original distribution file and to not overwrite the compiled version when updating

this will be the end for me about this, you don't like it don't use it. if you are a moderator remove it if you want, or ask someone to do it
Regards

So that's fine, you refuse to understand.

It's not about me but about the ones, all the others, who come to read here and those, the coders, who mainly write the lines of code.
Apparently, it is difficult for you to understand that if you propose something to the community it is because you want it to be taken into account or that you think it has to gain by following your contributions. which I do not dispute in any way contrary to what you seem to think.
BUT,
Since the first automated update script, your update may skip and / or make the code unreadable ... and therefore difficult to debug

Others have proposed code to add cryptocurrencies to be mined in nvOC, like Rumo, they simply took the model of what already existed without adding complication as you propose.

It's not about what I like or I hate, it's about not disperse any people who do not have the same facilities as you handle files and bash code on Linux systems. You seem to forget a bit quickly that a lot of readers here come from Windows and are not necessarily very comfortable on Linux, even on ubuntu.

By the way, you do not answer the fact that the compilation you propose is a windows compilation and that nvOC is a UNIX / LUNIX system!
 as good as it works but without having checked your proposed link on my own machine, I think that without wine, it does not work. Otherwise, Why did you call it ccminer-windows when you know that ubuntu is Linux and KLaust also knows it?

I am not a moderator, and I dare to hope that you are mature and thoughtful and that instead of opposing you as a stubborn person, you will come to understand that it is only simplification in the short, medium and long term .

If you do not want to overwrite old files, simply rename and move the old folder before placing your own. According to your proposals, you know how to do with "mv".

In conclusion: SIMPLIFICATION for AUTOMATION
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
January 07, 2018, 05:51:01 PM
Since apparently the Mega link of papampi poses problems of availability and complications due to the rules of this service to download version 19-2.0 of nvOC, I uploaded on an online file-saving service the file that contains the IMG

Here is the link:
http://dl.free.fr/hAWltP5uD

I did not test or check the download after uploading it.

Tell me if he is good or not.

NB: I live in France and this service is a very famous French provider (FREE), so it's written in French, but you only have to click on
Valider et Telecharger

Thanks mate,
Will add the link to GitHub after first confirmation.

Finally I got it uploaded on my Gdrive :

https://drive.google.com/file/d/1B7NW7fj5MOWQRzIG_X4bO5FE-ZCfVvEK/view?usp=sharing

Checksum information for the zip file :

SHA256: 424124D5FC47F635947A266E151B48BC776BAFDA5C1A03A7708EAE73730AB3D5

Let me know if you guys are unable to download it, hope it works well for everyone Smiley

BTW @papampi its the same file from git's mega link.

Thanks @CryptAtomeTrader44 bruv, your file is also legit except it carries a different sha256 code. I've checked your image, looks absolutely fine, people can download either Smiley

Thanks a lot mate
Added GDrive link to GitHub

Can you please send me CryptAtomeTrader44 upload checksum to add dl.free.fr link to github too?
newbie
Activity: 14
Merit: 0
January 07, 2018, 05:08:50 PM
Obviously you are able to choose a folder path.
Arguing about not creating a folder ? Seriously ?
I'm not writing this OS , I'm using it

The whole point of the few instructions I wrote is to not overwriting the original distribution file and to not overwrite the compiled version when updating

this will be the end for me about this, you don't like it don't use it. if you are a moderator remove it if you want, or ask someone to do it
Regards
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 04:51:47 PM
Finally I got it uploaded on my Gdrive :

https://drive.google.com/file/d/1B7NW7fj5MOWQRzIG_X4bO5FE-ZCfVvEK/view?usp=sharing

Checksum information for the zip file :

SHA256: 424124D5FC47F635947A266E151B48BC776BAFDA5C1A03A7708EAE73730AB3D5

Let me know if you guys are unable to download it, hope it works well for everyone Smiley

BTW @papampi its the same file from git's mega link.

Thanks @CryptAtomeTrader44 bruv, your file is also legit except it carries a different sha256 code. I've checked your image, looks absolutely fine, people can download either Smiley

Quote
it carries a different sha256 code.

I really don't know why because i've not modified anything from the original image.


For information i have the olders images files if someone wants them :

nvOC_v0019
nvOC_v0019-13
nvOC_v0019_1.4
nvOC_v0019-2.0
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 04:44:20 PM
There is no versionning for KTccminer so feel free to place it wherever you want

We do not understand each other or you do it on purpose. I expect not.

I will rewrite what you should have proposed:

Code:
mkdir -p /home/m1/Downloads/miners/KTccminer
cd /home/m1/Downloads/miners/KTccminer
wget https://github.com/KlausT/ccminer/archive/windows.zip
unzip windows.zip
cd ccminer-windows
./build.sh
mv -R ccminer /home/m1/KTccminer

Do you understand that there is no -8.18 behind the name of your KTccminer directory? Just KTccminer and nothing else!
Do it on your machine if you want, but for reasons of simplification of nvOC management, your proposal is malformed.

In addition I wonder with your link that seems to indicate that it is a windows version, while nvOC works with Ubuntu, itself a branch of Debian LINUX
full member
Activity: 378
Merit: 104
nvOC forever
January 07, 2018, 04:34:07 PM
Since apparently the Mega link of papampi poses problems of availability and complications due to the rules of this service to download version 19-2.0 of nvOC, I uploaded on an online file-saving service the file that contains the IMG

Here is the link:
http://dl.free.fr/hAWltP5uD

I did not test or check the download after uploading it.

Tell me if he is good or not.

NB: I live in France and this service is a very famous French provider (FREE), so it's written in French, but you only have to click on
Valider et Telecharger

Thanks mate,
Will add the link to GitHub after first confirmation.

Finally I got it uploaded on my Gdrive :

https://drive.google.com/file/d/1B7NW7fj5MOWQRzIG_X4bO5FE-ZCfVvEK/view?usp=sharing

Checksum information for the zip file :

SHA256: 424124D5FC47F635947A266E151B48BC776BAFDA5C1A03A7708EAE73730AB3D5

Let me know if you guys are unable to download it, hope it works well for everyone Smiley

BTW @papampi its the same file from git's mega link.

Thanks @CryptAtomeTrader44 bruv, your file is also legit except it carries a different sha256 code. I've checked your image, looks absolutely fine, people can download either Smiley
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 04:23:13 PM
btw, I've noticed that the current 1bash does not use the fastest miner for VTC. Literally has 10mhs slower one. I guess ill have to change over to the miner i was using on my custom build by updating 0miner bash. and compiling the new miner too on this.

Which miner do you use ? Vertminer ? Alexs miner ? another one ?

newbie
Activity: 14
Merit: 0
January 07, 2018, 03:47:42 PM
Just saw the new KTccminer version 8.18.
KT ccminer i way faster than SPccminer on neoscrypt at least

You can compile it, it's realy easy
In /home/m1
Code:
mkdir KTccminer-818
cd KTccminer-818
wget https://github.com/KlausT/ccminer/archive/windows.zip
unzip windows.zip
cd ccminer-windows
./build.sh
mv ccminer ../

Then change the path to your new
/home/m1/KTccminer-818/ccminer for neoscrypt coin in 0miner

For all other scripts, you must name folder KTccminer.
Nothing else like 8.17 or 8.18.
I find it very good to suggest things or improvements, but not everyone can bring their method every time without becoming a real long-term mess.
Do what you want on your personal miner, no problem, but adapt your commands to the convention already proposed online please

The last arrivals adapt. We all did it. You will do it too. It's easier for everyone and easier to manage

It's a namming convention that facilitating all readings.
does it bring more hashing this version to the fact?


There is no versionning for KTccminer so feel free to place it wherever you want
newbie
Activity: 35
Merit: 0
January 07, 2018, 03:33:03 PM
Anyone got a link on how to add new coins to the script? I assume just modify the 1bash and add the following conditional statements and varibles to match like the other coins for the appropriate miners installed.

If thats right anyone mind letting me know i guess ill find out the hardway soon enough.

It depends of you nvOC version too

Look at these posts  for nvOC v0019-2.0:

Adding GBX
https://bitcointalksearch.org/topic/m.27539909

Adding XVG :
https://bitcointalksearch.org/topic/m.27353620

btw, I've noticed that the current 1bash does not use the fastest miner for VTC. Literally has 10mhs slower one. I guess ill have to change over to the miner i was using on my custom build by updating 0miner bash. and compiling the new miner too on this.
newbie
Activity: 35
Merit: 0
January 07, 2018, 03:09:18 PM
Anyone got a link on how to add new coins to the script? I assume just modify the 1bash and add the following conditional statements and varibles to match like the other coins for the appropriate miners installed.

If thats right anyone mind letting me know i guess ill find out the hardway soon enough.

It depends of you nvOC version too

Look at these posts  for nvOC v0019-2.0:

Adding GBX
https://bitcointalksearch.org/topic/m.27539909

Adding XVG :
https://bitcointalksearch.org/topic/m.27353620

thanks.
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 03:03:02 PM
Anyone got a link on how to add new coins to the script? I assume just modify the 1bash and add the following conditional statements and varibles to match like the other coins for the appropriate miners installed.

If thats right anyone mind letting me know i guess ill find out the hardway soon enough.

It depends of you nvOC version too

Look at these posts  for nvOC v0019-2.0:

Adding GBX
https://bitcointalksearch.org/topic/m.27539909

Adding XVG :
https://bitcointalksearch.org/topic/m.27353620
newbie
Activity: 35
Merit: 0
January 07, 2018, 02:59:41 PM
Anyone got a link on how to add new coins to the script? I assume just modify the 1bash and add the following conditional statements and varibles to match like the other coins for the appropriate miners installed.

If thats right anyone mind letting me know i guess ill find out the hardway soon enough.
newbie
Activity: 5
Merit: 0
January 07, 2018, 02:35:45 PM
Hello all, I am having trouble booting up NvOC
Attached is the image of error

 https://imgur.com/a/A6iHQ

It stops at (initramfs)
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 01:51:58 PM
Just saw the new KTccminer version 8.18.
KT ccminer i way faster than SPccminer on neoscrypt at least

You can compile it, it's realy easy
In /home/m1
Code:
mkdir KTccminer-818
cd KTccminer-818
wget https://github.com/KlausT/ccminer/archive/windows.zip
unzip windows.zip
cd ccminer-windows
./build.sh
mv ccminer ../

Then change the path to your new
/home/m1/KTccminer-818/ccminer for neoscrypt coin in 0miner

For all other scripts, you must name folder KTccminer.
Nothing else like 8.17 or 8.18.
I find it very good to suggest things or improvements, but not everyone can bring their method every time without becoming a real long-term mess.
Do what you want on your personal miner, no problem, but adapt your commands to the convention already proposed online please

The last arrivals adapt. We all did it. You will do it too. It's easier for everyone and easier to manage

It's a namming convention that facilitating all readings.
does it bring more hashing this version to the fact?
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
January 07, 2018, 01:32:56 PM

OK adding a coin, but how is profitable to mine DSR Huh?

And i want to tell all that unimining.net had some saturation on neoscrypt pools. I tried to mine GBX at this pool and they can't provide me any blocks to mine.

in additions :

1/ I'm not sure that all of us have a folder named KTccminer-817 in /home/m1
2/ I think there is a "typing error" in the command line
Code:
-o stratum+tcp://$DSR_POOL:$DRS_PORT

must be
Code:
-o stratum+tcp://$DSR_POOL:$DSR_PORT


You have to be more precise an readable in your post. You can post a modification understandable and easy to do without being a computer scientist or a computer technician. This system is named "easy to use" for reminder.

Thanks for adding.

You 're right sorry for the typo,
A patch is the easiest way to do the modification, you don't even need to know where to put the lines in the patched file.
just do
patch -p0 < file_with_the_patch
fastest than anything

KTccminer 817 was posted few days ago here by Papampi
I don't know if this coin is profitable, I just want to mine some so made the modification and shared.


Code:
patch -p0 < file_with_the_patch

I just do not understand what it means.

KTccminer 817 was posted few days ago here by Papampi

That's right, but I do not know if you noticed that the main coders are trying to maintain a naming convention with a special method for updating minors.
For example, the latest update proposed by papampi included a script to update the DSTM or ZM software in several steps that I will briefly describe below:
1 / DL in the folder Downloads / miners
2 / creation in the zec / zm folder of a folder 5_8
3 / copy of the latest version in Dwonloads / miners in this folder 5_8
4 / copy to the latest folder of the necessary files in the folder / zec / zm / latest

Similarly, version numbers were not added to the first folder containing the minor for Klaust's software. AInsi, your naming proposal from KTccminer will cause problems for other people who do not have it in this form.
This can create confusion. Better to stay in the starting naming conventions otherwise every update will cause problems.

So I think it's best if the KTccminer8.17 path is written like this /home/m1/KTccminer/ccminer

Pages:
Jump to: