This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd C:\Users\MINER02\Downloads\nvflash_5.567.0 | |
nvflash64.exe --list | |
nvflash --index=X bios.rom | |
nvflash --index=X -6 bios.rom | |
-6 for id mismatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For binary values, 0 is disabled, 1 is enabled. | |
# To save changes run command sysctl -p | |
# For more information, see sysctl.conf(5) and sysctl.d(5). | |
# Controls IP packet forwarding | |
net.ipv4.ip_forward = 1 | |
# Controls IPv6 packet forwarding | |
net.ipv6.conf.all.forwarding = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
####################################################################### | |
# iptables rules | |
####################################################################### | |
# | |
# Flush current V4 polices | |
iptables -t nat -F | |
iptables -t mangle -F | |
iptables -F | |
iptables -X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Miner Watchdog | |
# Miners Name Hostname | |
miners[0]="miner01;miner01.local" | |
miners[1]="miner02;miner02.local" | |
miners[2]="miner03;miner03.local" | |
miners[3]="miner04;miner04.local" | |
# How often the script checks if rig is frozen (in minutes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Power/Reset Control of Systems via GPIO | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mining Watchdog | |
After=network.target | |
[Service] | |
ExecStart=/bin/bash -c "/usr/local/bin/mining_watchdog.sh | tee /home/whoami/mining_watchdog.log" | |
StandardOutput=inherit | |
StandardError=inherit | |
Restart=always | |
User=whoami |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################## | |
# SoftEther VPN server dnsmasq.conf | |
################################################################################## Interface Settings | |
# If you want dnsmasq to listen for DHCP and DNS requests only on | |
# specified interfaces (and the loopback) give the name of the | |
# interface (eg eth0) here. | |
# Repeat the line for more than one interface. | |
interface=tap_soft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: vpnserver | |
# Required-Start: $network $remote_fs | |
# Required-Stop: $network $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: SoftEther VPN Server | |
### END INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
####################################################################### | |
# iptables rules | |
####################################################################### | |
# | |
# Flush current V4 polices | |
iptables -t nat -F | |
iptables -t mangle -F | |
iptables -F |
NewerOlder