diff --git a/contrib/WiFiMesh/mesh-cleanlinks.sh b/contrib/mesh-cleanlinks/mesh-cleanlinks.sh similarity index 99% rename from contrib/WiFiMesh/mesh-cleanlinks.sh rename to contrib/mesh-cleanlinks/mesh-cleanlinks.sh index 654e33f26..f6c66e4c8 100644 --- a/contrib/WiFiMesh/mesh-cleanlinks.sh +++ b/contrib/mesh-cleanlinks/mesh-cleanlinks.sh @@ -2,6 +2,7 @@ #script to remove poor quality links #usage: mesh-cleanlinks.sh #requires gawk (apt-get install gawk) + limit="-65" sudo iw dev $1 set mesh_param mesh_rssi_threshold $limit diff --git a/contrib/tmate/README.md b/contrib/tmate/README.md index 66f738e25..36b4df585 100644 --- a/contrib/tmate/README.md +++ b/contrib/tmate/README.md @@ -2,9 +2,9 @@ This installs a statically linked copy of tmate. -To use +To use: -- Make sure your connected to the internet -- run tmate -- on the yellow bar note the hash ie: `ssh kukBdPDnaYObQmyFxMyBzSp3o@to2.tmate.io` -- tell your remote party the website to visit ie: `https://tmate.io/t/kukBdPDnaYObQmyFxMyBzSp3o` +- Make sure you are connected to the internet +- Run `tmate` +- On the yellow bar note the hash before `@` symbol, e.g. `ssh kukBdPDnaYObQmyFxMyBzSp3o@to2.tmate.io` +- Tell your remote party the website to visit, e.g. `https://tmate.io/t/kukBdPDnaYObQmyFxMyBzSp3o` diff --git a/contrib/tmate/install-tmate.sh b/contrib/tmate/install-tmate.sh index bd5003706..907c42fc9 100644 --- a/contrib/tmate/install-tmate.sh +++ b/contrib/tmate/install-tmate.sh @@ -1,6 +1,9 @@ #!/bin/sh + wget https://github.com/tmate-io/tmate/releases/download/2.2.1/tmate-2.2.1-static-linux-armv7l.tar.gz -tar xvfz tmate-2.2.1-static-linux-armv7l.tar.gz -sudo mv tmate-2.2.1-static-linux-armv7l/tmate /usr/local/bin -rm -rf tmate-2.2.1-static-linux-armv7l -ssh-keygen +tar xvfz tmate-2.2.1-static-linux-armv7l.tar.gz -C /tmp +sudo mv /tmp/tmate-2.2.1-static-linux-armv7l/tmate /usr/local/bin +rm -rf /tmp/tmate-2.2.1-static-linux-armv7l + +# Generate RSA key pair for tmate SSH session +ssh-keygen -t rsa -f ~/.ssh/id_rsa -N ''