Git Product home page Git Product logo

remote-debugger's Introduction

Remote Debugginator

The Remote Debugginator is a portable Raspberry Pi system that enables remote LAN access through a 3g connection.

It was developed for the Acacia Irrigation project.

Setup Digital Ocean server

Add this to sudo nano /etc/ssh/sshd_config so that the connection times out after 3 x 60 seconds of unresponsiveness.

ClientAliveInterval 60

Wifi network config

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Install & config screen

Add this to ~/.screenrc: defshell -bash multiuser on acladd pi

Setup startup scripts

Add to ~/.bashrc: if [ -n "$STY" ]; then # Screen session echo 'screen session' elif [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then # SSH Session # http://serverfault.com/a/506267 echo 'ssh session' else # Main session echo 'main session' ~/run.sh fi

SSH Config

Add to ~/.ssh/config so that the client exits after error (usually it will hang) and disconnects after 3 x 60 seconds of unresponsiveness.

ExitOnForwardFailure yes
ServerAliveInterval 60

Add the repo files to your home folder

run.sh
start-3g.sh
start-tunnel.sh

Links

Reverse tunneling errors: https://serverfault.com/questions/595323/ssh-remote-port-forwarding-failed

Look into this: https://mosh.mit.edu/#techinfo

remote-debugger's People

Contributors

csytan 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.