Git Product home page Git Product logo

snap-edge-tools's Introduction

Edge Tools

Build Snap

Clone this repository and use the build and deploy instructions from Snapcraft.

snapcraft --debug
sudo snap install edge-tools_1.0_amd64.snap --dangerous

Connect Interfaces

Connect snap to the network-observe interface:

sudo snap connect edge-tools:network-observe

Daemon

Connectivity

After installation, a daemon will check for network availability every 60 seconds:

ping api.snapcraft.io
ping lwm2m.us-east-1.mbedcloud.com
nc api.snapcraft.io 443
nc lwm2m.us-east-1.mbedcloud.com 443
edge-tools.test-lwm2m

The output is appended to:

/var/snap/edge-tools/common/daemon.txt

Note that the log file must be manually cleared to free up disk space. Log file will grow around 1 kilobyte per minute.

Starting, stopping and removing

If you want to stop it from running, use the standard snap commands.

sudo snap stop edge-tools.daemon

and

sudo snap start edge-tools.daemon

to restart it.

Uninstallation can be done with:

sudo snap remove edge-tools

Tools

Test TLS and detect intrusive firewalls

Use openssl to negotiate a TLS session with bilateral certificate verification.

For connecting to either bootstrap or LwM2M server run in a command prompt:

edge-tools.test-bootstrap

or

edge-tools.test-lwm2m

The command will either return success or print out the handshake failure. The full openssl output can be found in ~/snap/edge-tools/common/, in files test-bootstrap.txt and test-lwm2m.txt.

snap-edge-tools's People

Contributors

marcuschangarm avatar jannekiiskila avatar

Watchers

Cruz Monrreal avatar Ed Hemphill avatar Travis McCollum avatar  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.