From 7f0b7f159078a914718f94080e834856047e6a02 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Sat, 25 Jun 2022 23:47:01 -0400 Subject: [PATCH] P2Pool Notes --- src/install-monerod-in-termux.sh | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/install-monerod-in-termux.sh b/src/install-monerod-in-termux.sh index ab3546e..a62783d 100644 --- a/src/install-monerod-in-termux.sh +++ b/src/install-monerod-in-termux.sh @@ -294,8 +294,8 @@ fi # P2Pool cd -P2POOL=$(termux-dialog confirm -t "Install P2Pool?" -i "Would you like to install p2pool?" | jq '.text') -if [ $P2POOL = '"yes"' ] +P2POOL=$(termux-dialog confirm -t "Install P2Pool?" -i "Would you like to install p2pool?" | jq -r '.text') +if [ $P2POOL = 'yes' ] then sh -c "$(curl -fsSL https://github.com/nahuhh/android-termux-monero-node/raw/master-beta-tor/src/installp2pool.sh)" else @@ -611,21 +611,29 @@ Networking: From Android Settings, go to: - WiFi > edit saved network > advanced > DHCP - You'll need to change from "automatic" to "manual", and set the IP to: - $(termux-wifi-connectioninfo | jq '.ip') + $(termux-wifi-connectioninfo | jq -r '.ip') 4. Port Forwarding: - Go to your router settings (usually 192.168.0.1 in your browser) Find "Port Forwarding" P2P Seeding: Forward "public/external" port 18080 to "internal/private" port 18080, Setting the "internal/private" ip to: - $(termux-wifi-connectioninfo | jq '.ip') + $(termux-wifi-connectioninfo | jq -r '.ip') P2Pool: Forward port 3333 to port 3333, Start p2pool from the widget - Point miners at ip:3333 + Start LAN miners with: + ./xmrig -o $(termux-wifi-connectioninfo | jq -r '.ip'):3333 Wallet: - Forward port 18089 to port 18089 - + - Onion: + $ONION + - LAN: + $(termux-wifi-connectioninfo | jq -r '.ip') + - WAN: + Forward 18089. + Find you public IP by searching duckduckgo + - Port: + 18089 5. Config: The config file is located on your internal storage at