Coder Social home page Coder Social logo

northox / openbsd-apu2 Goto Github PK

View Code? Open in Web Editor NEW
51.0 4.0 5.0 199 KB

Configuration files to setup PC Engines' APU as a WIFI router running OpenBSD

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

Perl 42.42% Shell 57.58%
apu openbsd router wifi

openbsd-apu2's Issues

list-dhcpd-leases script missing

I could not find the list-dhcpd-leases script that is being used for update-webpage so I wrote this simple script to fill the gap for now:

#!/bin/sh

cat /var/db/dhcpd.leases | \
  sed -n \
    -e 's/.*lease \([0-9.]*\).*/\1/p' \
    -e 's/.*hardware ethernet \([0-9a-f:]*\).*/\1/p' \
    -e 's/.*client-hostname \("[^"]*"\).*/\1/p' | \
  paste -d "\t" - - - | sort | uniq | column -t

Probably pretty dumb as I have not tested it on much input at all.

Posting here as I thought it could be useful for others. By the way, thank you for assembling all this information!

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.