Giter Site home page Giter Site logo

pisces-tools's Introduction

pisces P100 Tools / Command Code List ( Collection )

Scripts to perform maintenance on the Pisces P100

Pisces P100 Devices , External IP Update Command

sudo /etc/monitor-scripts/external-ip.sh LAN

Fast Syncronization Command This is a collection of scripts useful for Pisces miners P100 DISCLAIMER: Only use this scripts if you know what you are doing!!! How to run clear_resync.sh: This script will clean blockchain data and the re-sync the hotspot using Nebra or SenseCAP snapshot based on which one is the closest to the actual blockchain height

 wget https://raw.githubusercontent.com/istdizayn/pisces-tools/main/clear_resync.sh -O - | sudo bash

FAST Sync Tools - Use this.

sudo wget https://raw.githubusercontent.com/istdizayn/pisces-tools/main/fastsync.sh -O - | sudo bash

How to run crontab_job.sh: This script will install in crontab a job that everyday at midnight will run a check on root filesystem free space left and if it's less than 20% free will run the clean_resync.sh script

 wget https://raw.githubusercontent.com/istdizayn/pisces-tools/main/crontab_job.sh -O - | sudo bash

How to run fixed_dns.sh: This script will override the DNS servers pushed from the DHCP server in your LAN and will set the google DNS

wget https://raw.githubusercontent.com/istdizayn/pisces-tools/main/fixed_dns.sh -O - | sudo bash

PERFORMANCE TWEAKS FROM INIGOFLORES (https://github.com/inigoflores) Miner Peerbook Settings Tweak This tool downloads a modified version of sys.config that dramatically reduces the "not found" issue that is affecting almost every Helium miner.

It sets the following values:

   {peerbook_update_interval, 90000},
   {max_inbound_connections, 200},
   {outbound_gossip_connections, 50},

These values have shown to increase the peer books size to around 200,000. In order to check to the current peer book size, you can run:

sudo docker exec miner miner peer book -c

Run the script Apply changes

sudo wget https://raw.githubusercontent.com/inigoflores/pisces-p100-tools/main/Not_Found_Fix/apply.sh -O - | sudo bash

Restore backup of sys.config

sudo wget https://raw.githubusercontent.com/inigoflores/pisces-p100-tools/main/Not_Found_Fix/restore.sh -O - | sudo bash

pisces-tools's People

Contributors

inigoflores avatar istdizayn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.