GithubHelp home page GithubHelp logo

rpi-utils's Introduction

#RaspberryPi Utilities

The RaspberryPi Utilities bring two functions to your RaspberryPi:
$ wifi and $ shutdownbutton

With $ wifi you can toggle your wifi interface between acting as client (connect to existing wifi, get ip via dhcp) or accesspoint (create ad-hoc network).
The status of the interface is indicated by an led and there is a button for quick toggle between the two modes.

$ shutdownbutton provides a secure way to shutdown your RaspberryPi.

##Installation

Install the RaspberryPi Utilities from shell prompt:

wget https://github.com/florianbeck/rpi-utils/archive/master.zip
unzip master.zip
./rpi-utils-master/install.sh

##Config There are some configuration options – like button and led pins – available in the rpi-utils.conf file.

##Hardware The RaspberryPi Utilities are designed to work with a little peace of hardware:
– push button and status led for $ wifi
– push button for $shutdownbutton

The default pins used by the script can be edited in the rpi-utils.conf file.

The buttons should bring the pin to ground. The leds anode should be connected to the pin, the cathode to ground.

##Usage

$ wifi

wifi - toggle between default and ad-hoc mode

usage: wifi set [default|adhoc]
       [default: wifi interface acts as client]
       [adhoc:   wifi interface acts as accesspoint]
usage: wifi toggle
       [toggle between default and adhoc]
usage: wifi config
       [edit wpa_supplicant.conf]
usage: wifi status
       [status info provided by ifconfig and iwconfig]
usage: wifi button [start|stop]
       [start/stop the button event listener]

$ shutdownbutton

shutdownbutton - button to trigger shutdown command

usage: shutdownbutton [start|stop]
       [start/stop the button event listener]

rpi-utils's People

Contributors

florianbeck avatar

Stargazers

 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.