Bitcoin Forum
February 05, 2025, 07:26:47 PM *
News: Community Awards voting is open
 
   Home   Help Search Login Register More  
Pages: « 1 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 [213] 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 352 »
  Print  
Author Topic: [ mining os ] nvoc  (Read 418558 times)
bdog1234
Full Member
***
Offline Offline

Activity: 132
Merit: 100


View Profile
November 14, 2017, 05:16:33 AM
 #4241


I don't want any scripts to run which is why I want to remove it.

Then why do you want it?

NVOC essentially is the scripts which are controlled by 1bash. Without them it is just Ubuntu Linux and doesn't mine anything. If that is what you want get Ubuntu.

What you are asking is kind of like saying I want to buy Microsoft office but I don't want it to have word, excel, powerpoint, outlook, or one note. The stuff you are saying you don't want is the core of it.
bdog1234
Full Member
***
Offline Offline

Activity: 132
Merit: 100


View Profile
November 14, 2017, 05:17:54 AM
 #4242

I want to use this OS but not 1bash. Can I delete the config file and configure everything my own way without problem?
No.
Care to elaborate?
It's the main setting for all the scripts running in nvOC, you can't remove it and expect them to run
You don't like it, you should use Ubuntu with no modifications
I don't want any scripts to run which is why I want to remove it.

Thats why I suggest to use standard Ubuntu or any other linux distro
You cant say I dont like windows control panel, can I remove it and make my own control panel?
nvOC is written to run those scripts, it will make so many problems without 1bash
Then how to make 1bash do the minimum it needs to do and nothing more?

It isn't a large file or overly complex. Download it it is free.
1bash is just a text file. read it and set the things you don't want it to do to NO
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
November 14, 2017, 05:26:37 AM
 #4243


I don't want any scripts to run which is why I want to remove it.

Then why do you want it?

NVOC essentially is the scripts which are controlled by 1bash. Without them it is just Ubuntu Linux and doesn't mine anything. If that is what you want get Ubuntu.

What you are asking is kind of like saying I want to buy Microsoft office but I don't want it to have word, excel, powerpoint, outlook, or one note. The stuff you are saying you don't want is the core of it.

Installing Ubuntu is a PITA. I want an OS with the driver preinstalled to plug into headless rigs. I wrote my own ansible-playbook for configuration and running miners using systemd.
Malbo
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
November 14, 2017, 05:40:32 AM
 #4244

Hi, someone know how to recover an USB Key or HDD where nvOC was installed ? i can't format it, windows give me and error when i try to format...

thanks!
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 06:07:10 AM
 #4245


I don't want any scripts to run which is why I want to remove it.

Then why do you want it?

NVOC essentially is the scripts which are controlled by 1bash. Without them it is just Ubuntu Linux and doesn't mine anything. If that is what you want get Ubuntu.

What you are asking is kind of like saying I want to buy Microsoft office but I don't want it to have word, excel, powerpoint, outlook, or one note. The stuff you are saying you don't want is the core of it.

Installing Ubuntu is a PITA. I want an OS with the driver preinstalled to plug into headless rigs. I wrote my own ansible-playbook for configuration and running miners using systemd.

Disable integrated gpu, plug monitor with hdmi to your gpu, install ubuntu, then install nvidia drivers
Should not be any problems

papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 06:35:32 AM
 #4246

Hi, someone know how to recover an USB Key or HDD where nvOC was installed ? i can't format it, windows give me and error when i try to format...

thanks!

There are many programs for windows to read ext4 linux drives

ext2fsd
DiskInternals Linux Reader
Ext2explore

To fully format from windows you may need to do it from disk management

Phan_Trong_Hieu
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 14, 2017, 06:51:28 AM
 #4247

Please add Bitcoin Gold (BTG) to nvOC. Thank you !
Godm0de
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
November 14, 2017, 07:28:05 AM
 #4248

Guys can you help me please
My rig has been crashed and couldn't reboot itself
this was last message
Code:
     
GPU_COUNT:  13

GPU UTILIZATION:  Unable to determine the device handle for GPU 0000:0B:00.0: GPU is lost. Reboot the system to recover this GPU
Sun Nov 12 12:24:15 EST 2017 - Lost GPU so restarting system. Found GPU's:
Unable to determine the device handle for GPU 0000:0B:00.0: GPU is lost.  Reboot the system to recover this GPU


Sun Nov 12 12:24:15 EST 2017 - reboot in 10 seconds

It has happen few times, since I was away from my rigs
it cost me massive down time
Eventually it was power cycled and manually rebooted


Is it because OC (gtx1080 pl150 cc0 mc600)?
or something else
 Huh

I have the exact same problem with my rig, but it picks a card at random to "lose".  I've replaced all the risers and usb cables and still get the same problem.  I thought it might be power related, but I am only at 550w each on my 2 x 750w power supplies.  I still haven't been able to figure it out.

I have the same problem. In my opinion, the problem is, when a GPU falls of the bus, the watchdog is unable to call nvidia-smi and I have to manually reset my rig.
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 08:15:46 AM
 #4249

Please add Bitcoin Gold (BTG) to nvOC. Thank you !


Easy add :


That's my BTG settings:
in 1bash add:

Code:
COIN="BTG"
PAPAMPI_WTM_AUTO_SWITCH="NO"

BTG_WORKER="$WORKERNAME"
BTG_ADDRESS="$SUPRNOVA_NAME"
BTG_POOL="btg.suprnova.cc"
BTG_PORT="8816"
and in 3main add:
Code:
if [ $COIN == "BTG" ]
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

BTGADDR="$BTG_ADDRESS.$BTG_WORKER"

if [ $ZM_or_EWBF == "ZM" ]
then
HCD='/home/m1/zec/zm/5_2/zm_miner'
screen -dmSL miner $HCD --server $BTG_POOL --user $BTGADDR --pass z --port $BTG_PORT;
fi

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

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

BITCOIN="theGROUND"

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


BTG is not on whattomine. So the switcher will not run.

fredeq in wtm thread said he is working on it to add it to wtm soon.

Mining pools are opening for Bitcoin Gold...
Any plans in near future to add it to wtm calculator?

Yes, will research this coin soon.

Rumo
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
November 14, 2017, 08:53:34 AM
 #4250

Please add Bitcoin Gold (BTG) to nvOC. Thank you !


Easy add :


That's my BTG settings:
in 1bash add:

Code:
COIN="BTG"
PAPAMPI_WTM_AUTO_SWITCH="NO"

BTG_WORKER="$WORKERNAME"
BTG_ADDRESS="$SUPRNOVA_NAME"
BTG_POOL="btg.suprnova.cc"
BTG_PORT="8816"

BTG is not on whattomine. So the switcher will not run.

fredeq in wtm thread said he is working on it to add it to wtm soon.

Mining pools are opening for Bitcoin Gold...
Any plans in near future to add it to wtm calculator?

Yes, will research this coin soon.


WOW i was quoted by a legend ;-)
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 09:22:26 AM
 #4251

Please add Bitcoin Gold (BTG) to nvOC. Thank you !


Easy add :


That's my BTG settings:
in 1bash add:

Code:
COIN="BTG"
PAPAMPI_WTM_AUTO_SWITCH="NO"

BTG_WORKER="$WORKERNAME"
BTG_ADDRESS="$SUPRNOVA_NAME"
BTG_POOL="btg.suprnova.cc"
BTG_PORT="8816"

BTG is not on whattomine. So the switcher will not run.

fredeq in wtm thread said he is working on it to add it to wtm soon.

Mining pools are opening for Bitcoin Gold...
Any plans in near future to add it to wtm calculator?

Yes, will research this coin soon.


WOW i was quoted by a legend ;-)


lol ...
I'm no legend, but thanks for compliment.

Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 14, 2017, 10:25:26 AM
 #4252

Another IAmNotAJeep_and_Maxximus007_WATCHDOG Mod

I had my Verizon FIOS service upgraded the other day and I was unable to shutdown all of my miners before the tech interrupted my internet. This made me scrutinize how the watchdog handles that situation (not very well, IMO) so I made the following modification to just wait on internet service to return rather than just looping, restarting mining, and restarting the host as usual.

Code:
<cut>
      if [ $COUNT -le 0 ]
      then
# Begin Stubo Mod
# Wait for Internet
         while ! nc -vzw1 google.com 443;
         do
    echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
            sleep 30
         done
#
#         INTERNET_IS_GO=0
#  
#         if nc -vzw1 google.com 443;
#         #if nc -vzw1 $POOL 80;
#         then
#            INTERNET_IS_GO=1
#         fi
         echo ""

#         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
         if [ $RESTART -gt 4 ]
         # End Stubo Mod
         then
            echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
<cut>

Let me know if you have any questions or see room for improvement in this modification.
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 10:27:40 AM
Last edit: November 14, 2017, 12:10:48 PM by papampi
 #4253

For those who has multiple rigs and want to check all web info pages in one single page.
In one of your rigs :

Code:
sudo nano /var/www/html/multiminerinfo.html

Add :

Code:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Multi Miner Info</title>
</head>
<body>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_1_Forwarded_Port/cgi-bin/minerinfo" align="left"  frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_2_Forwarded_Port/cgi-bin/minerinfo" align="right" frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_3_Forwarded_Port/cgi-bin/minerinfo" align="left"  frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_4_Forwarded_Port/cgi-bin/minerinfo" align="right" frameborder="5 "> </iframe>
</body>
</html>


You get this :






Edit for Stubo Smiley

If you just want the info for internal network use internal_rig_ip instead of external ip and no port needed
then open multi miner info by :
Code:
http://<rig_with_multiminer_page_ip>/multiminerinfo.html

If you want the info for external network use
then open multi miner info by :
Code:
http://<external_ip>:<Rig_With_multiminerinfo_Forwarded_Port>/multiminerinfo.html

papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 10:41:28 AM
Last edit: November 14, 2017, 10:55:01 AM by papampi
 #4254

Another IAmNotAJeep_and_Maxximus007_WATCHDOG Mod

I had my Verizon FIOS service upgraded the other day and I was unable to shutdown all of my miners before the tech interrupted my internet. This made me scrutinize how the watchdog handles that situation (not very well, IMO) so I made the following modification to just wait on internet service to return rather than just looping, restarting mining, and restarting the host as usual.

Code:
<cut>
      if [ $COUNT -le 0 ]
      then
# Begin Stubo Mod
# Wait for Internet
         while ! nc -vzw1 google.com 443;
         do
   echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
            sleep 30
         done
#
#         INTERNET_IS_GO=0
#  
#         if nc -vzw1 google.com 443;
#         #if nc -vzw1 $POOL 80;
#         then
#            INTERNET_IS_GO=1
#         fi
         echo ""

#         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
         if [ $RESTART -gt 4 ]
         # End Stubo Mod
         then
            echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
<cut>

Let me know if you have any questions or see room for improvement in this modification.


I felt some thing is not right before when internet was down, but couldn't  figure out why

So isnt this :
Code:
         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]

Should go to restart system only if both arguments are true ?
Restart greater than 4 and internet is go = 1  ?


Edit:
Think I found the problem,
It will wait for internet to comes up then restart system when restart is greater than 4, right?

Temporel
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
November 14, 2017, 10:57:02 AM
 #4255

I want to use this OS but not 1bash. Can I delete the config file and configure everything my own way without problem?
No.
Care to elaborate?

for some reason, I never managed to have one of the dev tell me how to stop the auto mining so I could manually start mine. There is an obvious need for that that only us seems to notice.

They never made a FAQ either even if people have always the same problems/questions over and over.

Great OS, great devs and for free but I guess it comes with caveats too even nonsense ones.


Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 14, 2017, 11:03:17 AM
Last edit: November 14, 2017, 11:24:14 AM by Stubo
 #4256

Code:
[quote author=papampi link=topic=1854250.msg24558877#msg24558877 date=1510656088]
[quote author=Stubo link=topic=1854250.msg24558180#msg24558180 date=1510655126]
[b]Another IAmNotAJeep_and_Maxximus007_WATCHDOG Mod[/b]

I had my Verizon FIOS service upgraded the other day and I was unable to shutdown all of my miners before the tech interrupted my internet. This made me scrutinize how the watchdog handles that situation (not very well, IMO) so I made the following modification to just wait on internet service to return rather than just looping, restarting mining, and restarting the host as usual.

[code]
<cut>
      if [ $COUNT -le 0 ]
      then
# Begin Stubo Mod
# Wait for Internet
         while ! nc -vzw1 google.com 443;
         do
   echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
            sleep 30
         done
#
#         INTERNET_IS_GO=0
#  
#         if nc -vzw1 google.com 443;
#         #if nc -vzw1 $POOL 80;
#         then
#            INTERNET_IS_GO=1
#         fi
         echo ""

#         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
         if [ $RESTART -gt 4 ]
         # End Stubo Mod
         then
            echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
<cut>

Let me know if you have any questions or see room for improvement in this modification.
[/quote]


I felt some thing is not right before when internet was down, but couldn't  figure out why

So isnt this :
Code:
         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]

Should go to restart system only if both arguments are true ?
Restart greater than 4 and internet is go = 1  ?


Edit:
Think I found the problem,
It will wait for internet to comes up then restart system when restart is greater than 4, right?
[/quote]

I mis-spoke when I wrote system restart but it will still be killing the miner and 3main over and over as it loops. If you look at that if statement, it handles the reboot portion only. Once that if ends, the script still has this logic which is executed as a part of the while true do loop:

Code:
<cut>
            sudo reboot
         fi
        
         # If miner runs in screen 'miner' kill the screen to be sure it's gone
         pkill -e miner
         bash '/home/m1/telegram'

echo "$(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}

         # Best to restart oneBash - settings might be adjusted already
         target=$(ps -ef | awk '$NF~"3main" {print $2}')
         kill $target #| tee -a ${LOG_FILE}
<cut>

I cut it at the fi which is the end of the aforementioned if statement that has the reference to internet. If you want to see if for yourself, pull the ethernet cable from your test rig while tailing 7_wdog_alertlog. Or if running headless, pull the cable, wait a few minutes, then reconnect and check the contents of 7_wdog_alertlog to see all of the miner restarts.[/code]
papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 11:15:54 AM
 #4257

Another IAmNotAJeep_and_Maxximus007_WATCHDOG Mod

I had my Verizon FIOS service upgraded the other day and I was unable to shutdown all of my miners before the tech interrupted my internet. This made me scrutinize how the watchdog handles that situation (not very well, IMO) so I made the following modification to just wait on internet service to return rather than just looping, restarting mining, and restarting the host as usual.

Code:
<cut>
      if [ $COUNT -le 0 ]
      then
# Begin Stubo Mod
# Wait for Internet
         while ! nc -vzw1 google.com 443;
         do
   echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
            sleep 30
         done
#
#         INTERNET_IS_GO=0
#  
#         if nc -vzw1 google.com 443;
#         #if nc -vzw1 $POOL 80;
#         then
#            INTERNET_IS_GO=1
#         fi
         echo ""

#         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
         if [ $RESTART -gt 4 ]
         # End Stubo Mod
         then
            echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
<cut>

Let me know if you have any questions or see room for improvement in this modification.


I felt some thing is not right before when internet was down, but couldn't  figure out why

So isnt this :
Code:
         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]

Should go to restart system only if both arguments are true ?
Restart greater than 4 and internet is go = 1  ?


Edit:
Think I found the problem,
It will wait for internet to comes up then restart system when restart is greater than 4, right?

I mis-spoke when I wrote system restart but it will still be killing the miner and 3main over and over as it loops. If you look at that if statement, it handles the reboot portion only. Once that if ends, the script still has this logic which is executed as a part of the while true do loop:

Code:
<cut>
            sudo reboot
         fi
        
         # If miner runs in screen 'miner' kill the screen to be sure it's gone
         pkill -e miner
         bash '/home/m1/telegram'

echo "$(date) - Utilization is too low: restart 3main" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}

         # Best to restart oneBash - settings might be adjusted already
         target=$(ps -ef | awk '$NF~"3main" {print $2}')
         kill $target #| tee -a ${LOG_FILE}
<cut>
I cut it at the fi which is the end of the aforementioned if statement that has the reference to internet. If you want to see if for yourself, pull the ethernet cable from your test rig while tailing 7_wdog_alertlog. Or if running headless, pull the cable, wait a few minutes, then reconnect and check the contents of 7_wdog_alertlog to see all of the miner restarts.


Got it
Now what if :

Code:
<cut>
      if [ $COUNT -le 0 ]
      then
# Begin Stubo Mod
# Wait for Internet
         while ! nc -vzw1 google.com 443;
         do
   echo "Internet is down, checking again in 30 seconds..." | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
            sleep 30
         done
         # End Stubo Mod

         INTERNET_IS_GO=0
         if nc -vzw1 google.com 443;
#         #if nc -vzw1 $POOL 80;
         then
            INTERNET_IS_GO=1
         fi
         echo ""
         if [[ $RESTART -gt 4 && $INTERNET_IS_GO == 1 ]]
         then
            echo "$(date) - Utilization is too low: reviving did not work so restarting system in 10 seconds" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}
      echo "" #| tee -a ${LOG_FILE}
      bash '/home/m1/telegram'
      sleep 10
      sudo reboot
    fi
<cut>


And can I ask what is this top process for?
its not gonna give miner for sure, I get kworker on top so many times

Code:
		 echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}



papampi
Full Member
***
Offline Offline

Activity: 686
Merit: 140


Linux FOREVER! Resistance is futile!!!


View Profile WWW
November 14, 2017, 11:18:12 AM
 #4258

I want to use this OS but not 1bash. Can I delete the config file and configure everything my own way without problem?
No.
Care to elaborate?

for some reason, I never managed to have one of the dev tell me how to stop the auto mining so I could manually start mine. There is an obvious need for that that only us seems to notice.

They never made a FAQ either even if people have always the same problems/questions over and over.

Great OS, great devs and for free but I guess it comes with caveats too even nonsense ones.




Actually a while back I was thinking that adding an option to auto start miner or not in 1bash would be a good addition, will talk with fullzero about it for sure.

Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 14, 2017, 11:29:12 AM
 #4259


And can I ask what is this top process for?
its not gonna give miner for sure, I get kworker on top so many times

Code:
		 echo "TOP PROCESS=$(ps -e --sort=-pcpu | head -n 2|tail -1 |cut -d ':' -f 3 |cut -d ' ' -f 2)" | tee -a ${LOG_FILE} ${ALERT_LOG_FILE}


I put it in there so you could find it and ask questions about it.  Shocked

It is just additional debugging that I added back when I was trying to figure out the behavior of the watchdog and of nvOC. The watchdog and 3main are by far the most complex parts of nvOC so I find it helpful to add my own debug statements from time to time.
Stubo
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
November 14, 2017, 11:40:06 AM
 #4260

For those who has multiple rigs and want to check all web info pages in one single page.
In one of your rigs :

Code:
sudo nano /var/www/html/multiminerinfo.html

Add :

Code:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Multi Miner Info</title>
</head>
<body>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_1_Forwarded_Port/cgi-bin/minerinfo" align="left"  frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_2_Forwarded_Port/cgi-bin/minerinfo" align="right" frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_3_Forwarded_Port/cgi-bin/minerinfo" align="left"  frameborder="5" > </iframe>
<iframe style="width: 49.5%; height: 500px;" src="http://Miner_External_IP_Address:Miner_4_Forwarded_Port/cgi-bin/minerinfo" align="right" frameborder="5 "> </iframe>
</body>
</html>


Very nice. I took your concept and used it to produce a multiminer html that displays the api/telemetry pages of all of my miners on one page. The one thing your post leaves out is the url for access which is just http://<rig_with_multiminer_page>/multiminerinfo.html.

Edit: I also added a refresh every 30 seconds (less was too annoying for me). Just add this line after the title line:

Code:
  <meta http-equiv="refresh" content="30">

The api/telemetry pages refresh themselves in near real time so it is nice to keep up with them.

Thank you!
Pages: « 1 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 [213] 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 352 »
  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!