Coder Social home page Coder Social logo

wlanwd's Introduction

wlanwd

Configures a Raspberry Pi Zero W that can't reach cloudflare DNS to disconnect and broadcast a rescue wifi network.

Installation

From a bare Raspbian install:

$ chmod +x ./setup.sh
$ sudo ./setup.sh

If you are intalling to a system already in use, please examine this script carefully before executing, to ensure it will not clobber important settings. Expert users may be able to adapt this project to work on other Debian-like systems. Extreme caution should be taken.

Rescuing your system

The default rescue network name is "rescue" with a password of "rescueme". Remote access through something like ssh must be separately enabled. Triggering wlanwd sets wlan0's IP address to 192.168.1.2/16.

To exit rescue mode, execute $ sudo systemctl stop wlanwd-ap.service, or reboot the device with a configuration that will allow scripts/test.sh to successfully complete.

About

wlanwd is comprised of:

  • Shell scripts to enter and exit AP mode (broadcast a wifi network).
  • systemd unit files to trigger the scripts when network connectivity is lost.

Settings for the rescue wifi network are found in conf/hostapd.conf .

DHCP settings for the rescue wifi network are found in conf/dnsmasq.conf.

Watchdog trigger settings can be configured in scripts/test.sh. For instance, you may prefer test your home router rather than an internet address.

wlanwd's People

Contributors

ahepp avatar

Stargazers

 avatar Oliver Shearman avatar  avatar Pat avatar  avatar  avatar Douglas Allerton-Puplette avatar  avatar  avatar Brad Thornborrow avatar Mike Preston avatar Inskipp avatar

Watchers

Yannick Wurm avatar James Cloos 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.