forked from axiom-team/astrXbian
/etc/resolv.conf
This commit is contained in:
parent
701c052cc0
commit
39b615d585
13
ISOconfig.sh
13
ISOconfig.sh
|
@ -103,7 +103,7 @@ mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
|
|||
# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings
|
||||
# IPNS link to "pastebin list" http://localhost:8181/ipns/$IPNSKEY/xbian/$XZUID
|
||||
########################################################################
|
||||
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4 )$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
|
||||
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4)$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
|
||||
echo "CREATE ~/.zen/ipfs/xbian/$XZUID"
|
||||
mkdir -p ~/.zen/ipfs/xbian
|
||||
touch ~/.zen/ipfs/xbian/$XZUID
|
||||
|
@ -115,8 +115,8 @@ echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
|
|||
echo "CREATE + profile"
|
||||
########################################################################
|
||||
cd ~/.zen/astrXbian/zen/jaklis
|
||||
./jaklis.py -n "https://g1.data.e-is.pro" set --name "$XZUID" --avatar "$HOME/.zen/astrXbian/logo.png" #CESIUM+
|
||||
./jaklis.py -n "https://data.gchange.fr" set --name "$XZUID" --avatar "$HOME/.zen/astrXbian/logo.png" #GCHANGE+
|
||||
./jaklis.py -n "https://g1.data.e-is.pro" set --name "$XZUID" --avatar "/home/xbian/.zen/astrXbian/logo.png" #CESIUM+
|
||||
./jaklis.py -n "https://data.gchange.fr" set --name "$XZUID" --avatar "/home/xbian/.zen/astrXbian/logo.png" #GCHANGE+
|
||||
|
||||
########################################################################
|
||||
########################################################################
|
||||
|
@ -182,14 +182,15 @@ astrxbian=$(hostname)
|
|||
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hostname
|
||||
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hosts
|
||||
|
||||
echo "CHANGE DNS" # Avoid provider restrictions
|
||||
sudo mv /etc/resolv.conf /etc/resolv.conf.old
|
||||
sudo cat > /etc/resolv.conf <<EOF
|
||||
echo "CHANGE DNS" # Avoid provider restrictions
|
||||
sudo chattr -i /etc/resolv.conf
|
||||
sudo cat > /tmp/resolv.conf <<EOF
|
||||
domain home
|
||||
search home
|
||||
nameserver 80.67.169.12 80.67.169.40 94.247.43.254 2001:67c:13e4:1::37
|
||||
# FFDN.org opennic.org = ns8.he.de + ns5.ru
|
||||
EOF
|
||||
sudo mv /tmp/resolv.conf /etc/resolv.conf
|
||||
sudo chattr +i /etc/resolv.conf
|
||||
|
||||
# WRITE ~/.zen/ipfs.sync CONFIG (meaning DONE)
|
||||
|
|
Loading…
Reference in New Issue