Author

Topic: [ mining os ] nvoc - page 292. (Read 418549 times)

sr. member
Activity: 490
Merit: 250
July 17, 2017, 04:44:20 PM
Gparted would be cool. Because I tried to install few things it didn't work for me. Not enough space. I couldn't install Gparted... Would be nice for the next image. Also if you could add solo mining options would be great. That you could connect to one instance server what ever. Maybe for few coins not all at the time. Think it's a lot of work.

Cheers
member
Activity: 66
Merit: 10
July 17, 2017, 04:38:06 PM
Hey Full,

Is there any way you could make the image a tiny bit smaller? I (and I'm sure others) have 16G USB sticks that are already USB 3.0. Unfortunately your image is just a few hundred MB too large to fit onto a 16G stick.

I see there is free space at the end of the image. Any chance you could trim off just 500MB? -If you are able to do that then we can truly use our 16G USB Sticks without hassle.

Also running into an issue with RDP. It won't let me connect. I have tried searching the forum; I know you said it's fully indexed by google... but HOW does one search just this thread in google for something like RDP as an example? If you have an example of that type of search string it would be great.



newbie
Activity: 18
Merit: 0
July 17, 2017, 03:51:06 PM
So if I want my rigs to be completely headless is there a way to access Teamviewer and enable all those check marks for auto running, and log in through ssh? or is there a better alternative? as it is now, I have a fully closed rig, and I have to rip it apart everytime, I want to update to a new version or if there is an issue with my TV or USB. Thanks!
full member
Activity: 169
Merit: 100
July 17, 2017, 02:22:40 PM
Fullzero, IAmNotAJeep or Maxximus007,

Have a question on the watchdog script. I noticed it has triggered twice in the last 24 hours but not sure why as it seems there is not much information within the logs to try to troubleshoot.

The one I am getting is: utilization is too low; reviving did not work so restarting system in 10 seconds. With the restart knocks the miner out for about 20 minutes. I am trying to figure out what is going on and only started having this happen when I went to VER18. I changed the utilization under the script to 80 instead of 90 today to see if that helps.

I appreciate any help or insight into the possible problem, as with the restarts wipes out the other logs.

I have noticed a problem when using both PROFIT_SWITCHING and or WATCHDOG together; I will make changes to the next 1bash to fix it.

It is also possible that the timeouts between checks in the WATCHDOG should be relaxed when mining Ethash COINs.  Or relaxed in general.


If the timing is right; PROFIT_SWITCHING will switch close to the WATCHDOG check and a low utilization will be detected.  

I will make a flag for both IN-SWITCHING and DAG-BUILDING to prevent this in the next 1bash.



What COIN selection are you using or are you using SALFTER_NICEHASH_PROFIT_SWITCHING?



I am not currently using SALFTER_NICEHASH_PROFIT_SWITCHING since Ethash is so close with the profit switching right now.

Not sure what it is but I am rolling back to VER17 on this rig, as it just restarted again and then hard locked up after initial start-up showing a black screen then the flash drive was corrupted and refused to boot.

Just found out it may have been the flash drive the last 48 hours as it just died. LOL write errors all over it. I am testing now with a new flash drive.

What program are you using to image you USB key?

If your using a Windows build computer; I would use hddrawcopy for v0018.

Let me know if this is working with your new USB key.

I am using hddrawcopy on windows 10. It seems to be the flash drive, been over 20 hours now no issues with a new flash drive.

Love new flash drive dies within a week, time to contact newegg!
I am using hddrawcopy  on windows 10, it was the flash drive.
sr. member
Activity: 301
Merit: 251
July 17, 2017, 01:38:14 PM
I am getting errors on V.18
I am SSH ONLY. No monitor. No Guake. No Gnome.

First error is after 1bash tries to stop TeamViewer -


Mon Jul 17 14:26:28 EDT 2017
Action: Removing ...
systemctl stop teamviewerd.service
Failed to stop teamviewerd.service: Unit teamviewerd.service not loaded.
fail

kill '/opt/teamviewer/tv_bin/script/teamviewer' - root (/home/m1/.local/share/teamviewer12 / /home/m1/.local/share/teamviewer12)



Failed to execute operation: No such file or directory
try again, full path...
Failed to execute operation: Invalid argument

Second error is when Maxximus007_AUTO_TEMPERATURE_CONTROL launches -

LAUNCHING:  Maxximus007_AUTO_TEMPERATURE_CONTROL

process in Guake Tab

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help`
       for usage information.

I have to assume Temp Control has failed and is not working.
Can you consider launching temp control and watchdog NOT in Guake if "REMOTE" is chosen but in screens instead? I will try to change bash myself to make this happen.

Thanks
sr. member
Activity: 301
Merit: 251
July 17, 2017, 01:29:18 PM
I know somewhere buried in 98 pages is the explanation of what Watchdog is but darn if I can find it.

I think there was a link on the OP but don't see it there either.

Can someone please post the link or page number of the info?

What is watchdog watching? How does it work? What the heck is it Smiley



See the v0018 demo video:

https://drive.google.com/file/d/0B3ra23kLdr5lSlIxZkJqSm1oWFk/view

Then let me know if I explained it well enough; or if you have more questions.



Yes the video explained it well.
Thanks
newbie
Activity: 14
Merit: 0
July 17, 2017, 01:13:40 PM
I tried to Change TPccminer to ASccminer for Skein Algo Mining DGB, nothing happend, Mining will not start.

With TPccminer is working well... but AS is faster 20-30%...

Any idea why istn working?

cheers

The linux branch of AS is very far behind the Windows branch; I'm not sure if the linux branch even supports DGB. 



I will look into the link kw1k sent me:

https://github.com/alexis78/ccminer/tree/master

and see if this is different from the version I complied for nvOC.




I compiled the alexis78 git under ubuntu 16.04 VM, this version does support c11. Not sure about DGB algos as I have not tested.
fk1
full member
Activity: 216
Merit: 100
July 17, 2017, 11:36:45 AM
@fullzero: I'll mine some time ZEC for you since I dont have wallets yet but interested in what my small rig is capable of in terms of sol/h. mining into the placed config now as worker 'fk1bitcointalk'. cheers!
sr. member
Activity: 490
Merit: 250
July 17, 2017, 09:23:47 AM
I tried to Change TPccminer to ASccminer for Skein Algo Mining DGB, nothing happend, Mining will not start.

With TPccminer is working well... but AS is faster 20-30%...

Any idea why istn working?

cheers
sr. member
Activity: 301
Merit: 251
July 17, 2017, 08:38:00 AM
I know somewhere buried in 98 pages is the explanation of what Watchdog is but darn if I can find it.

I think there was a link on the OP but don't see it there either.

Can someone please post the link or page number of the info?

What is watchdog watching? How does it work? What the heck is it Smiley

newbie
Activity: 13
Merit: 0
July 17, 2017, 04:58:33 AM
All once again good afternoon!

I added:
1. email alarms (sendemail),
2. webUI for monitoring (apache2 + go + gotty),  
# All needed apts will install in first boot if $GOTTY="YES" || $EMAIL="YES". in settings.sh
3. auto update pasteBin and restart miner if something changes.
# you need to run crontab -e and add "*/5 * * * * ~/update_wallets.sh" . To check update every 5 minutes.


Completed / redone:
1. Option to set all Target temps and PowerLimits in two strings while using autoFANS
2. add specific PL and CLOCK for some coins
3. output nvidia-smi to screen every 30 sec when check fans, even if the fans are in manual mode. (to see temps, RPMs, memory in gotty, or via SSH, or via local quake)
4. Manual setting WORKER_NAME to use with pools. In settings.sh . If don't set using nvXXX (last digs of ip)
5. WORKER_NAME is hostname of rig, for more useful network search.

I divided the code into several files (start, miner, overclock, e-mail, fans). Settings rendered in 3 separate files:
settings.sh - constant machine settings
gpus_settings.sh - constant settings of video cards
wallets - settings of wallets, miners, machine settings variables.
Unfortunately, I have not yet had a chance to check how it works on the v18, but on v17 all is good. I think I can check in the next couple of days.

All the files are added to the folders as in the archive. Your need to change autostart from "gnome-terminal" to "~/start" (sudo nano ~/.config/autostart/webmob.desktop )
Settings are given in three files in the mnt sub folder. settings, gpus_settings, wallets

I would be happy if someone at least a small part of my work is useful.

fullzero and other developers: I ask for applications for deleted comments and descriptions, maybe even in some places copyright. While working on the code - some parts were in the way.

Of course, I could forget or confuse something, but I seem to remember everything and wrote.

Please do not make alternate releases.

As I have already told you:

https://bitcointalksearch.org/topic/mining-os-nvoc-1854250

You can make modules to do distinct operations: like overclocking, miner selection, watchdog, monero mining, etc to make easier to tune/restart some parts.  And I will integrate them with switches to be readinto / not used in oneBash.  In addition they could also be used independently, such as a OC bash could be run while already mining.  A benchmarking bash / py could be made to find and log the opt stable settings ect.  The goal is to provide members with as many options as possible while maintaining ease of use.

Once most of the requested features have been implemented; I will make a github and target oneBash optimization.


It makes no sense to have members downloading multiple versions of the OS when only a few files are changed.  

Also; in such cases: I cannot confirm that the system has not been altered or malware added ( I am not saying you have done this, but that it is always a possibility especially when done by new members).  


If you post the code for each additional file (or send me a pm with it); I will integrate your contributions into 1bash (or selectively in 2unix depending on how different they are) with a single or multiple switches: and add acknowledgement and your BTC donation address to the top of 1bash.

I was not going to make an alternative release.
I posted the code I redesigned so that you could see and add the options you liked to your release.
I can not put it in separate pieces of code, because this is your code divided into different files, plus my code, plus the code of other developers, a little finished. If interested, download the archive and watch. If you want I can lay out the text files without an archive. https://drive.google.com/drive/folders/0B8OLYcDXEG6rVTdIYmtFMndPdXc?usp=sharing If not interesting, do not use and do not add to the release.
fk1
full member
Activity: 216
Merit: 100
July 17, 2017, 02:50:46 AM
Anybody has a hint for me why connecting to $MUSIC pool results in invalid login? I tried several ways like adding workername with . or / but alway invalid login for me

MUSIC_WORKER="Alpha"
MUSIC_ADDRESS="0xc359d9a6d1e63f2b1cc0619f21583e7830a14026"
MUSIC_POOL="stratum+tcp://music.spdns.eu:8008"
MUSIC_EXTENTION_ARGUMENTS=""    # add any additional claymore arguments desired here

OverEasy looked into MUSIC; and I didn't add the changes to the v0018 1bash:


if you scroll to line 2305 in 1bash and find the MUSIC block:

Code:
if [ $COIN == "MUSIC" ]
then

if [ $GENOILorCLAYMORE == "GENOIL-CURRENTLY-NOT-SUPPORTED" ]
then
HCD='/home/m1/eth/Genoil-U/ethminer'

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -S $MUSIC_POOL -O $MUSICADDR:x -U

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi

#if [ $GENOILorCLAYMORE == "CLAYMORE" ]
#then
if [ $CLAYMORE_VERSION == "9_7" ]
then
HCD='/home/m1/eth/9_7/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_5" ]
then
HCD='/home/m1/eth/9_5/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_4" ]
then
HCD='/home/m1/eth/9_4/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "8_0" ]
then
HCD='/home/m1/eth/8_0/ethdcrminer64'
fi

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -epool $MUSIC_POOL -ewal $MUSICADDR -epsw x -mode 1 -allpools 1 -dbg -1 $MUSIC_EXTENTION_ARGUMENTS

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
#fi



and replace it with:




Code:
if [ $COIN == "MUSIC" ]
then
 
if [ $GENOILorCLAYMORE == "GENOIL" ]
then
HCD='/home/m1/eth/Genoil/ethminer'
 
MUSICADDR="$MUSIC_ADDRESS"
MADDR="$MUSIC_ADDRESS.$MUSIC_WORKER"

screen -dmS miner $HCD -S $MUSIC_POOL -O $MUSICADDR:x -U

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi

if [ $GENOILorCLAYMORE == "CLAYMORE" ]
then
if [ $CLAYMORE_VERSION == "9_7" ]
then
HCD='/home/m1/eth/9_7/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_5" ]
then
HCD='/home/m1/eth/9_5/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "9_4" ]
then
HCD='/home/m1/eth/9_4/ethdcrminer64'
fi

if [ $CLAYMORE_VERSION == "8_0" ]
then
HCD='/home/m1/eth/8_0/ethdcrminer64'
fi

MUSICADDR="$MUSIC_ADDRESS/$MUSIC_WORKER"

screen -dmS miner $HCD -epool $MUSIC_POOL -ewal $MUSICADDR -epsw x -mode 1 -allpools 1 -dbg -1 $MUSIC_EXTENTION_ARGUMENTS

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
fi

It might work; could also be a problem with your pool configuration.


Hi fullzero! thanks for support. I saw your hint in your op about music but I'm sorry I have to say I did not understood until you further explained.

Now in my case it wasnt even the fix to replace the slash with the dot but completely remove the worker part.

I want to say thx by mining a day for you, do you prefer any coin/wallet?
newbie
Activity: 2
Merit: 0
July 16, 2017, 08:24:41 PM
Hi fullzero,

thank you for keeping this project alive and the constant updates.
I've been running 017 version on z270-hd3p gigabyte motherboard + 3 x 1080TI and a 1070 for almost 2 weeks now with no issues.

meanwhile does anyone have the issue with 018 version not working at all? ewbf does not even start. Most settings have been the same as from the onebash file in 017. Turned off most of the new additional features like watchdog and auto temp.
I've tried booting from an ssd as well as a 32gb sandisk ultra flair thumbdrive; I keep getting the error [Screen is terminating] at the end.

I understand the issue is most likely a configuration somewhere gone wrong, therefore it terminated before even trying to load ewbf miner, but was there such a drastic change from 017 to 018 that I missed out?

Would really like to find out if anyone faced a similar issue, so I iron it out and run ver 018.
Thanks!

I have received many pm's with similar questions.

I think 2 things may be the case when members have such an experience:



1

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="REMOTE"

When this is the case; the miner launches in a screen which is a background process and is not automatically attached to a local terminal. 

The purpose of this is to save time when SSHing in (mining process will not need to be restarted; it can just be attached).

If you are using a monitor always ensure:

Code:
LOCALorREMOTE="LOCAL"

or else you will have to manually enter:
Code:
screen -r miner

to attach the mining process to a terminal.


2

SALFTER_NICEHASH_PROFIT_SWITCHING has been set to:
Code:
SALFTER_NICEHASH_PROFIT_SWITCHING="YES"

When this is the case; the mining process launches in the guake terminal (press f12 to open) 

when:

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="LOCAL"

If:

LOCALorREMOTE has been set to:

Code:
LOCALorREMOTE="REMOTE"

When this is the case; the miner launches in a screen which is a background process and is not automatically attached to a local terminal. 



Let me know if '1' is the case; if it not: please post your settings for:

Code:
COIN="ZEC"

SALFTER_NICEHASH_PROFIT_SWITCHING="NO"

Maxximus007_AUTO_TEMPERATURE_CONTROL="YES"

IAmNotAJeep_and_Maxximus007_WATCHDOG="YES"

LOCALorREMOTE="LOCAL"


I had a retard moment (must be the flu) and typed zec instead of zcash for the flypool server address. Everything is up and running fine off an Ssd. Glad it worked.

Thank you for your quick reply and great work.
sr. member
Activity: 1414
Merit: 487
YouTube.com/VoskCoin
July 16, 2017, 03:25:29 PM
How exactly do I utilize

The new watchdog function?

Auto reboot?

And can I remote in?

First I recommend watching the v0018 DEMO linked on the OP: I give an overview of how the WATCHDOG works.

To use the WATCHDOG; you only need to set:

Code:
IAmNotAJeep_and_Maxximus007_WATCHDOG="YES"


AUTO_REBOOT will stop all mining and reboot when its timeout expires.  You use it by setting:

Code:
AUTO_REBOOT="YES"

and then setting the timeout in minutes
Code:
REBOOT_TIMEOUT_IN_MINUTES=1440

is once a day

If you are planning on using a headless / SSH setup ensure:

Code:
LOCALorREMOTE="REMOTE"

then after SSHing into the rig:

enter

Code:
screen -r miner


SALFTER_NICEHASH_PROFIT_SWITCHING

and

IAmNotAJeep_and_Maxximus007_WATCHDOG

will intermittently kill your screen in their normal operation.


When using PROFIT_SWITCHING and or WATCHDOG if your screen was killed you can connect to the regenerated one with the same cmd:

Code:
screen -r miner


Also I have noticed a problem when using both PROFIT_SWITCHING and or WATCHDOG together; I will make changes to the next 1bash to fix it.


Why would I reboot the rig daily if it has consistent performance? Your software has given me 100% uptime
fk1
full member
Activity: 216
Merit: 100
July 16, 2017, 02:58:24 PM
Anybody has a hint for me why connecting to $MUSIC pool results in invalid login? I tried several ways like adding workername with . or / but alway invalid login for me

MUSIC_WORKER="Alpha"
MUSIC_ADDRESS="0xc359d9a6d1e63f2b1cc0619f21583e7830a14026"
MUSIC_POOL="stratum+tcp://music.spdns.eu:8008"
MUSIC_EXTENTION_ARGUMENTS=""    # add any additional claymore arguments desired here
newbie
Activity: 29
Merit: 0
July 16, 2017, 02:15:42 PM
Hello again fullzero,

Haven't checked the thread since page 84 so i'm sure i have plenty to catch up to, i see you and some of the posters went ahead and made a monitoring script, kinda sorry i've been out of the loop since i too made a monitoring script because of my recurring soft/hard crashes.


i'm not sure if your script covers the same thing mine does, or if they can be merged so i'll let you be the judge, basically what it does is monitor the system load average and if it goes over a specified amount (in my case over 2.0 means i had a soft crash and soon the load average will climb until not even SSH works) it reboots the machine and sends me an email after the rig is back up, the script also checks the external IP of the rig and sends an email if the IP changed (i have a dynamic IP).

Code:
#!/bin/bash
#this script will check avg load and reboot & email you when needed.
#this script will check when the external IP changes and email you.

systemavg=$(uptime | awk -F'load average:' '{print $2}'| cut -d',' -f1)
myip="$(dig +short myip.opendns.com @resolver1.opendns.com)"
oldip="$(cat /root/jobs/myIP.txt)"
emailaddress=$"(YOUR_EMAIL)"
shouldsendmail="$(cat /root/jobs/shouldsendmail.txt)"
if [ -n "$myip" ]
then    
   echo "$(date)  Current system load in the last 5 min is : $systemavg - My public IP address: ${myip}" >> /root/jobs/log.txt
   if [ "$myip" != "$oldip" ]
    then
      echo "${myip}" > /root/jobs/myIP.txt
      echo "The new IP address is: $myip" | mail -s "System IP Change!" $emailaddress
    fi

   if [ "$shouldsendmail" == "YES" ]
    then
       echo "System was Rebooted due to exessive load - $(date)" | mail -s "System
rebooted!" $emailaddress
       echo "NO" > /root/jobs/shouldsendmail.txt
    fi
else
   echo "$(date)  Current system load in the last 5 min is : $systemavg - My public IP address: ${oldip} - no connection!" >> /root/jobs/log.txt
fi

F1=$(echo $systemavg*100 | bc)
Flag=$(printf "%.0f\n" $F1)
if [ $Flag -gt 200 ]
then
   sudo service lightdm stop
   echo "YES" > /root/jobs/shouldsendmail.txt
   echo "Rebooting system because of load - $(date)" >> /root/jobs/log.txt
   sleep 1
   sudo systemctl reboot
fi

this script is initiated from crontab every 1 minute, needs to be located in root/jobs.

please tell me if this is redundant considering the additions to v18.
newbie
Activity: 14
Merit: 0
July 16, 2017, 01:19:22 PM
So when editing the coin sections I found out that you also have the alexis cc miner, I am curious, how do I go about calling the files for Alexis CCminer?

Currently I have it on the TPCCminer:
HCD='/home/m1/TPccminer/ccminer'

change:

Code:
HCD='/home/m1/TPccminer/ccminer'

to:

Code:
HCD='/home/m1/ASccminer/ccminer'



The version in nvoc does not seem to be the same version as github alexis78, as it does not support c11 algo.
sr. member
Activity: 490
Merit: 250
July 16, 2017, 11:45:27 AM
Hi,

im trying to set up my miners for solo mining DeepOnion Coin.
On NVOC OS Ubuntu.

Is it possible to set up my Notebook Win10 for Solomining without Mining over my Notenbook, but as an instance?


Config?

rpcuser=user   
rpcpassword=x
rpcallowip=127.0.0.1
rpcallowip=192.168.0.25
rpcallowip=10.0.0.45
rpcallowip=208.253.161.x
rpcallowip=173.77.148.x
rpcallowip=ANYOTHERMINERS
rpcport=3633
server=1
daemon=1
listen=1

miner.bat:
Code:
ccminer.exe --algo=x13 -o localhost:3633 -u user -p x


And on ubuntu each miner?

HCD='/home/m1/TPccminer/ccminer'

screen -dmS miner $HCD -a x13 -o $MYWIN10Notebook_IP -u User -p x


Cheers
newbie
Activity: 2
Merit: 0
July 16, 2017, 11:24:56 AM
Hi fullzero,

thank you for keeping this project alive and the constant updates.
I've been running 017 version on z270-hd3p gigabyte motherboard + 3 x 1080TI and a 1070 for almost 2 weeks now with no issues.

meanwhile does anyone have the issue with 018 version not working at all? ewbf does not even start. Most settings have been the same as from the onebash file in 017. Turned off most of the new additional features like watchdog and auto temp.
I've tried booting from an ssd as well as a 32gb sandisk ultra flair thumbdrive; I keep getting the error [Screen is terminating] at the end.

I understand the issue is most likely a configuration somewhere gone wrong, therefore it terminated before even trying to load ewbf miner, but was there such a drastic change from 017 to 018 that I missed out?

Would really like to find out if anyone faced a similar issue, so I iron it out and run ver 018.
Thanks!
newbie
Activity: 18
Merit: 0
July 16, 2017, 10:56:43 AM
So when editing the coin sections I found out that you also have the alexis cc miner, I am curious, how do I go about calling the files for Alexis CCminer?

Currently I have it on the TPCCminer:
HCD='/home/m1/TPccminer/ccminer'


Jump to: