GithubHelp home page GithubHelp logo

markchipman / loraserver-pi-gen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brocaar/loraserver-pi-gen

0.0 2.0 0.0 769 KB

Scripts for generating ready to use Raspberry Pi images

Home Page: www.loraserver.io

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 1.59% Shell 97.21% sed 1.20%

loraserver-pi-gen's Introduction

LoRa Server Raspberry Pi image generator

Scripts to generate a Raspbian based LoRa Server image for the Raspberry Pi. The image is intended to use on a Rasberry Pi based LoRa Gateway, for example the RisingHF IoT Discovery kit. These scripts are based on RPi-Distro/pi-gen.

Components installed:

Notes

  • LoRa App Server is accessible on port 8080 (http).
  • SSH is disabled by default. See the Raspberry Pi documentation for more information.
  • The default configuration is for the EU 868 ISM band. To change this, you need to modify two files:
    • stage3/02-packet-forwarder/files/global_conf.json
    • stage3/04-loraserver/files/loraserver.toml
  • Make sure the correct GPIO reset pin number is correctly configured in: stage3/02-packet-forwarder/files/start.sh

Dependencies

When running this script outside Docker, you need to install the following dependencies:

quilt parted realpath qemu-user-static debootstrap zerofree pxz zip dosfstools bsdtar libcap2-bin grep rsync

Docker Build

./build-docker.sh

If everything goes well, your finished image will be in the deploy/ folder. You can then remove the build container with docker rm pigen_work

If something breaks along the line, you can edit the corresponding scripts, and continue:

CONTINUE=1 ./build-docker.sh

There is a possibility that even when running from a docker container, the installation of qemu-user-static will silently fail when building the image because binfmt-support must be enabled on the underlying kernel. An easy fix is to ensure binfmt-support is installed on the host machine before starting the ./build-docker.sh script (or using your own docker build solution).

loraserver-pi-gen's People

Contributors

xecdesign avatar brocaar avatar cfstras avatar davesteele avatar sam3d avatar knghtbrd avatar rkubes avatar andig avatar tjstyle avatar jamesruan avatar jacen92 avatar dcwangmit01 avatar bjpirt avatar andrewmichaelsmith avatar chzchzchz avatar tjrana avatar staroselskii avatar rschulman avatar rickdoesdev avatar gadgetoid avatar martignoni avatar junian avatar jsiverskog avatar hhromic avatar gregmac avatar bparzella avatar bennuttall avatar sconemad avatar

Watchers

James Cloos avatar Mark Chipman and sidekick Mollie 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.