Author

Topic: [ mining os ] nvoc - page 155. (Read 418546 times)

member
Activity: 117
Merit: 10
November 03, 2017, 09:19:49 AM
!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.

Tied to MAC address, I take it?

Not just like that:
1. Make static entries for each rig in the router: if you reset the router to default setting you probably lose the rig's ip
2. Don't need to make static entries for each rig in the router. As long as you don't spend all available ips in your pool you always will get the same ip
3. If you config /etc/network/interfaces with static ip in router's default range you'll always get on line and known your ip as this does not change

There is a few possibilities about what setup should be used which depends on user expectations.

In my case, my rigs are configure with static ip in computer and in router's default range in case of reset/default settings, no DHCP, ssh ports no standard and all behind routers with DHCP off.  

You are right, but:
1. Depends on the router in use. I didn't reset mine for about 18 months. I use selfmade router (GA-N3150N-D3V + PfSense)
2. Depends on the router in use and it's config (DHCP lease time). Some "not good" ones tend to lease IP, that was not "online" for some time (rig that hanged for example) to other device (for example somebody came to you and you let him connect to you WiFi and one of the rigs have hanged right before he came)
3. see 2



You'r right too  Wink
So I said, disable dhcp in router if suitable and rarely will let you down, but of course a newly installed system usually needs DHCP, so I said:
"There is a few possibilities about what setup should be used which depends on user expectations."

In my opinion the first thing that matters is having ssh access to the remote rig once installed without touching the network configuration.

About routers I would get rid of those "Some "not good"" if it were possible.
Anyway, for tastes colors is not it?
newbie
Activity: 46
Merit: 0
November 03, 2017, 08:56:05 AM
!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.

Tied to MAC address, I take it?

Not just like that:
1. Make static entries for each rig in the router: if you reset the router to default setting you probably lose the rig's ip
2. Don't need to make static entries for each rig in the router. As long as you don't spend all available ips in your pool you always will get the same ip
3. If you config /etc/network/interfaces with static ip in router's default range you'll always get on line and known your ip as this does not change

There is a few possibilities about what setup should be used which depends on user expectations.

In my case, my rigs are configure with static ip in computer and in router's default range in case of reset/default settings, no DHCP, ssh ports no standard and all behind routers with DHCP off.  

You are right, but:
1. Depends on the router in use. I didn't reset mine for about 18 months. I use selfmade router (GA-N3150N-D3V + PfSense)
2. Depends on the router in use and it's config (DHCP lease time). Some "not good" ones tend to lease IP, that was not "online" for some time (rig that hanged for example) to other device (for example somebody came to you and you let him connect to you WiFi and one of the rigs have hanged right before he came)
3. see 2


full member
Activity: 420
Merit: 106
https://steemit.com/@bibi187
November 03, 2017, 08:46:16 AM

From 19-1.4:

Code:
.
.
.
if [ $ZM_or_EWBF == "ZM" ]
then
HCD='/home/m1/zec/zm/5_3/zm_miner'
screen -dmSL miner $HCD --server $ZEC_POOL --user $ZECADDR --pass z --port $ZEC_PORT -- time;
fi
.
.
.


I don't think that is going to work because 0.5.3 is your personal upgrade, PAPAMPI. Did fullzero repackage 19-1.4 with 0.5.3?

It will work dont worry Wink

I will modify path for my system!

I have a tweaked nvOC, thanks for this anyway.
Thanks papampi Wink

That what i need and you provide me this one fast!

In preparation for BTCG like lot of people i assume ...

Anyone have fine setting for EQUIHASH ?

I am on 8x 1070 seems stable running on ETH algo with +100OC +1600MC

I stick to this number and some tweak can be done ?

Once again thanks in advance

EDIT : It seems i have something to add in 1bash to ? To choice between ZM or EBWF

Something like

ZM_or_EWBF == "ZM" right ?

yup

Code:
ZM_or_EWBF="ZM"  # choose  ZM  or  EWBF

Okay mate thanks Wink
member
Activity: 224
Merit: 13
November 03, 2017, 08:18:37 AM

From 19-1.4:

Code:
.
.
.
if [ $ZM_or_EWBF == "ZM" ]
then
HCD='/home/m1/zec/zm/5_3/zm_miner'
screen -dmSL miner $HCD --server $ZEC_POOL --user $ZECADDR --pass z --port $ZEC_PORT -- time;
fi
.
.
.


I don't think that is going to work because 0.5.3 is your personal upgrade, PAPAMPI. Did fullzero repackage 19-1.4 with 0.5.3?
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 03, 2017, 08:03:41 AM
Thanks papampi Wink

That what i need and you provide me this one fast!

In preparation for BTCG like lot of people i assume ...

Anyone have fine setting for EQUIHASH ?

I am on 8x 1070 seems stable running on ETH algo with +100OC +1600MC

I stick to this number and some tweak can be done ?

Once again thanks in advance

EDIT : It seems i have something to add in 1bash to ? To choice between ZM or EBWF

Something like

ZM_or_EWBF == "ZM" right ?

yup

Code:
ZM_or_EWBF="ZM"  # choose  ZM  or  EWBF
full member
Activity: 420
Merit: 106
https://steemit.com/@bibi187
November 03, 2017, 07:41:06 AM
Thanks papampi Wink

That what i need and you provide me this one fast!

In preparation for BTCG like lot of people i assume ...

Anyone have fine setting for EQUIHASH ?

I am on 8x 1070 seems stable running on ETH algo with +100OC +1600MC

I stick to this number and some tweak can be done ?

Once again thanks in advance

EDIT : It seems i have something to add in 1bash to ? To choice between ZM or EBWF

Something like

ZM_or_EWBF == "ZM" right ?
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 03, 2017, 07:34:01 AM
Hey guys, anyone can provide me a simple of zm config on 3main for mining Equihash algo ?

I am on v00019 and only have EBWF, it seems this two miner dont use same option setting.

Ok i am bit lazy i can do it my self but is more simple to ask Cheesy

Thanks in advance

From 19-1.4:

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

if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi

if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi

ZECADDR="$ZEC_ADDRESS.$ZEC_WORKER"

if [ $ZM_or_EWBF == "ZM" ]
then
HCD='/home/m1/zec/zm/5_3/zm_miner'
screen -dmSL miner $HCD --server $ZEC_POOL --user $ZECADDR --pass z --port $ZEC_PORT -- time;
fi

if [ $ZM_or_EWBF == "EWBF" ]
then
screen -dmSL miner $HCD --eexit 3 --fee $EWBF_PERCENT --pec --server $ZEC_POOL --user $ZECADDR --pass z --port $ZEC_PORT;
fi

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

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
full member
Activity: 420
Merit: 106
https://steemit.com/@bibi187
November 03, 2017, 07:18:35 AM
Hey guys, anyone can provide me a simple of zm config on 3main for mining Equihash algo ?

I am on v00019 and only have EBWF, it seems this two miner dont use same option setting.

Ok i am bit lazy i can do it my self but is more simple to ask Cheesy

Thanks in advance
member
Activity: 117
Merit: 10
November 03, 2017, 06:18:37 AM
!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.

Tied to MAC address, I take it?

Not just like that:
1. Make static entries for each rig in the router: if you reset the router to default setting you probably lose the rig's ip
2. Don't need to make static entries for each rig in the router. As long as you don't spend all available ips in your pool you always will get the same ip
3. If you config /etc/network/interfaces with static ip in router's default range you'll always get on line and known your ip as this does not change

There is a few possibilities about what setup should be used which depends on user expectations.

In my case, my rigs are configure with static ip in computer and in router's default range in case of reset/default settings, no DHCP, ssh ports no standard and all behind routers with DHCP off.  
newbie
Activity: 12
Merit: 0
November 03, 2017, 05:58:51 AM
I think first create only local version, it will take a while to create good web gui.

Yes, in some cases i can agree with you, but i think that we can split work between some guys, one part of them will work on CLI / GUI, and another team will focus on WEB interface.
full member
Activity: 686
Merit: 140
Linux FOREVER! Resistance is futile!!!
November 03, 2017, 05:40:02 AM
Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley
I want to participate and create web site with rig control (like on simplemining.net)
I can create website that manages rigs, website can generate full config bash file.
Modifications needed for nvOS is to make on boot to download new config from server and every few minutes make some requests to server to send statistics (hashrate / temreratures / miner console /etc ) and in reply server will return commands if rig must reboot or redownload config (by user request)

So i can make server part easily, who will participate? With whom i can talk about that?
 Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes

Very good idea
Would love to make our web page better.
Let me know if I can help in any ways
newbie
Activity: 3
Merit: 0
November 03, 2017, 05:17:03 AM
I think first create only local version, it will take a while to create good web gui.
newbie
Activity: 12
Merit: 0
November 03, 2017, 03:49:09 AM
Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley
I want to participate and create web site with rig control (like on simplemining.net)
I can create website that manages rigs, website can generate full config bash file.
Modifications needed for nvOS is to make on boot to download new config from server and every few minutes make some requests to server to send statistics (hashrate / temreratures / miner console /etc ) and in reply server will return commands if rig must reboot or redownload config (by user request)

So i can make server part easily, who will participate? With whom i can talk about that?
 Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes

I think that its a really good idea, for non pro users and can be use as alternative for simplemining or ethos, but first of all we (all users of this rigs) should we have server  with some ddos protection or even CDN (can be ovh + cloudflare) if ofcourse it will be in "public" zone, because i can be also avalibe only in your local network...
newbie
Activity: 24
Merit: 0
November 03, 2017, 03:16:11 AM
 Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley
I want to participate and create web site with rig control (like on simplemining.net)
I can create website that manages rigs, website can generate full config bash file.
Modifications needed for nvOS is to make on boot to download new config from server and every few minutes make some requests to server to send statistics (hashrate / temreratures / miner console /etc ) and in reply server will return commands if rig must reboot or redownload config (by user request)

So i can make server part easily, who will participate? With whom i can talk about that?
 Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes Roll Eyes
member
Activity: 83
Merit: 10
November 03, 2017, 01:14:31 AM
!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.

Tied to MAC address, I take it?
newbie
Activity: 46
Merit: 0
November 02, 2017, 08:47:27 PM
Can someone please provide a proper technique for re-IPing an nvOC 19-1.4 box through SSH?

kk003_telegram has code to to send public ip in case of changed (don't know if you need this feature in case your new ip is dynamic)

Useful, but not necessary - I have access to the routers and can see which IP is being picked up from DHCP.


In case you don't want DHCP here is a guide.

A example for local static ip:
sudo nano /etc/network/interfaces

.... [clip]

This looked maddeningly like something I'd tried, but I walked through it with yours as a reference and found my STUPID, STUPID BLUNDER.

Instead of :

Code:
auto enp0s31f6
iface enp0s31f6 inet static

I had

Code:
auto enp0s31f6 iface enp0s31f6 inet static

Not sure if it stemmed from a copy/paste error of my template, or just a stray accidental backspace or deletion, but I didn't spot it until comparing your text to mine, so, thanks! It's something of a relief to know I wasn't entirely on the wrong track.

I'm also amused that we have the same network interface adapter. Note to others following along: you may have a different interface, like enp4s0 instead of enp0s31f6. You can look yours up with the command ifconfig.

Moving on....


then stop network manager:
Code:
sudo systemctl stop network-manager.service

Remove it from system startup:
Code:
sudo systemctl disable network-manager.service

Is that step strictly necessary? I edited the interfaces file and rebooted the box, and it came up on the desired IP. What does killing network manager achieve?


Update: I assume you know how to connect to your rigs using ssh and have a well configured router if you are behind one

Yes, I'm fine on that front - but good to mention for others following along.

Thanks, again!

So many moves and waste of time...!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.
member
Activity: 117
Merit: 10
November 02, 2017, 06:24:32 PM
Can someone please provide a proper technique for re-IPing an nvOC 19-1.4 box through SSH?

kk003_telegram has code to to send public ip in case of changed (don't know if you need this feature in case your new ip is dynamic)

Useful, but not necessary - I have access to the routers and can see which IP is being picked up from DHCP.


In case you don't want DHCP here is a guide.

A example for local static ip:
sudo nano /etc/network/interfaces

.... [clip]

This looked maddeningly like something I'd tried, but I walked through it with yours as a reference and found my STUPID, STUPID BLUNDER.

Instead of :

Code:
auto enp0s31f6
iface enp0s31f6 inet static

I had

Code:
auto enp0s31f6 iface enp0s31f6 inet static

Not sure if it stemmed from a copy/paste error of my template, or just a stray accidental backspace or deletion, but I didn't spot it until comparing your text to mine, so, thanks! It's something of a relief to know I wasn't entirely on the wrong track.

I'm also amused that we have the same network interface adapter. Note to others following along: you may have a different interface, like enp4s0 instead of enp0s31f6. You can look yours up with the command ifconfig.

Moving on....


then stop network manager:
Code:
sudo systemctl stop network-manager.service

Remove it from system startup:
Code:
sudo systemctl disable network-manager.service

Is that step strictly necessary? I edited the interfaces file and rebooted the box, and it came up on the desired IP. What does killing network manager achieve?


Update: I assume you know how to connect to your rigs using ssh and have a well configured router if you are behind one

Yes, I'm fine on that front - but good to mention for others following along.

Thanks, again!

Yeah, silly things happens from time to time with linux's files  Angry.
Others are:
line that does not end with end of line
tabs that should be spaces (and the other way round)
no blank line at end of file (like hosts.allow and hosts.deny)

Network managers usually cause problems when a static ip config is used, such as in CentOS.
If you decide to leave it on, I think you should watch it for a while at least.
Maybe in Ubuntu does not cause problems but I could not say.
I have it disabled myself.

About the interface probably we both have a H110 pro BTC+
member
Activity: 83
Merit: 10
November 02, 2017, 04:18:54 PM
Can someone please provide a proper technique for re-IPing an nvOC 19-1.4 box through SSH?

kk003_telegram has code to to send public ip in case of changed (don't know if you need this feature in case your new ip is dynamic)

Useful, but not necessary - I have access to the routers and can see which IP is being picked up from DHCP.


In case you don't want DHCP here is a guide.

A example for local static ip:
sudo nano /etc/network/interfaces

.... [clip]

This looked maddeningly like something I'd tried, but I walked through it with yours as a reference and found my STUPID, STUPID BLUNDER.

Instead of :

Code:
auto enp0s31f6
iface enp0s31f6 inet static

I had

Code:
auto enp0s31f6 iface enp0s31f6 inet static

Not sure if it stemmed from a copy/paste error of my template, or just a stray accidental backspace or deletion, but I didn't spot it until comparing your text to mine, so, thanks! It's something of a relief to know I wasn't entirely on the wrong track.

I'm also amused that we have the same network interface adapter. Note to others following along: you may have a different interface, like enp4s0 instead of enp0s31f6. You can look yours up with the command ifconfig.

Moving on....


then stop network manager:
Code:
sudo systemctl stop network-manager.service

Remove it from system startup:
Code:
sudo systemctl disable network-manager.service

Is that step strictly necessary? I edited the interfaces file and rebooted the box, and it came up on the desired IP. What does killing network manager achieve?


Update: I assume you know how to connect to your rigs using ssh and have a well configured router if you are behind one

Yes, I'm fine on that front - but good to mention for others following along.

Thanks, again!
member
Activity: 117
Merit: 10
November 02, 2017, 02:13:09 PM
Any one has kworker high cpu usage ?
Any idea how to solve it ?


 
Code:
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 1797 root      20   0       0      0      0 S  44.9  0.0   0:53.41 kworker/3:16
 6504 root      20   0       0      0      0 R  21.0  0.0   0:40.13 kworker/3:2
 6751 m1        20   0  0.170t 1.165g 0.982g S   5.6 15.0   1:27.05 ethminer


My rig with 13 1060 had a very high cpu load. Moved power limit from 75W to 95W and load went down form 6-10 to 1.8-2.5. No perfect but much better.

Good call, Thanks a lot.
Will give it a shot.

Edit
Thanks a lot mate, you saved my day.
So I raised 5 steps at a time, at 85 load average get to 1.5-1.8, went up to 90, 95, 100 and load went up too.
So 85 is the sweet spot for me.

Code:
Load Average: 1.60 1.83 1.83

Happy...
so what was your PL and load average before modification?
Load average was over 4 with power limit of 75 on core i5 6400 cpu

Very rare... my rig has a g3900. I think a i5 should not get that load.

Exactly, That was making me mad.

now :
Code:
load average: 0.68, 1.27, 1.51


Ideal load would be <2? I just checked for my 1060 rig (x10 cards) and it's anywhere from 2.1-3.5 -- Should I bump up my PL (78W now)? Not really too familiar with linux, so what does a high system load lead to (i.e. instability, decreased longevity, etc)?

It depends.. if your cpu has 2 core 2 is high (100%) if it has 4 core 2 is ok (50%). Although this does not mean that there is not an application consuming too many resources.

To check cpu type :
Code:
cat /proc/cpuinfo | grep 'model name' | uniq | cut -d":" -f2

To check number of cores :
Code:
nproc

to check load average:
Code:
cat /proc/loadavg
0.42 0.40 0.36 3/410 588

where:
first number is load average in last minute
second number is load average in last 5 minutes
third number is load average in last 15 minutes
The rest... I don't know  Huh

Or use htop to watch in real time
Let me know if you have doubts about this topic
full member
Activity: 340
Merit: 103
It is easier to break an atom than partialities AE
November 02, 2017, 02:04:34 PM
Tried my best to search for an answer, but no luck so far...

has anyone successfully gotten rid of the login loop issue?

Ive console logged in, did a re-image, tried different versions, and every ubuntu based fix i could find online (clear and .Xauthority fixes)

Board is a HP z400 board

Try this:
press CTRL- ALT- F1 together, terminal window will open. Login as m1, pass miner1

type:
Code:
sudo apt update && sudo apt upgrade && sudo reboot

Please reply with results

After login in ssh, try the others commands given in page 246 (dpkg ...)

and try to réinstall latest nvidia drivers with

Code:
sudo apt install nividia-387

or try to install nvOC V0019-1.4

Unfortunately did not get rid of the login loop
Jump to: