SUBNET 4001 port discovery for FOAF stargate replications

This commit is contained in:
fred 2021-09-14 20:13:21 +02:00
parent 2d6acc3735
commit 36ac42fb2c
1 changed files with 8 additions and 5 deletions

View File

@ -212,10 +212,13 @@ do
done
## PUBLISH PEERING.PEERS
## Create json format Peering.Peers
# echo "{ \"Peering\": {\"Peers\": [ $(cat ~/.zen/A_peering_peers.txt | jq -c | sed 's/}/},/g' | sed '$ s/.$//') ] } }" | jq -c > ~/.zen/ipfs/.$IPFSNODEID/.peering.peers.json
# jq -c ~/.ipfs/config.new
########################################################################
## FIND LOCAL IPFS NODE - SERACH FOR FOAF stargate replications
########################################################################
# SUBNET=$(ip route | tail -n 3 | cut -d ' ' -f 1)
# [[ ! $(which nmap) ]] && sudo apt-get install nmap -y && nmap --open -p 4001 $SUBNET
########################################################################
########################################################################
########################################################################
@ -292,7 +295,7 @@ chmod 644 /home/$YOU/.zen/ipfs_swarm}/.*/astroport/kodi/vstream/*ASTRXBIAN
# REFRESH tiddlywiki WALL OF FRIENDS /ipns/${IPFSNODEID}/.${IPFSNODEID}/FRIENDS/index.html
########################################################################
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid)"
updated="$(date +"%m-%d-%Y_%H:%M")"
updated="$(date +"%Y-%m-%d_%H:%M")"
echo "******************************************************************"
echo "### PUBLISH tiddlywiki WALL OF FRIENDS ###"