Giter VIP home page Giter VIP logo

gwifi's Introduction

GWifi

convert.ksh

This file will be used to convert the values generated from the getfiles.ksh script into an html readable format so that when it is sent to the users email it will be tabelized for easier viewing.

getfiles.ksh

This will pull in the different master lists from different MAC Vendors to try and match up the MAC Address with a valid manufacturer that made the device. It will also parse through the diganostic report that it will curl down onto the server and extract each of the different devices that are currently connected to your network through the GWifi network. Most of the devices it should pull in the actual device name that it is labeled within the network, but sometimes it won't correctly pull it or the device name isn't being populated within the diagnostic report. It will also show if the current device is connected to the network or not, if it isn't connected it will show the last time that it connected to the network. It will also give each of the different IP Addresses that are being currently used within the network in a descending order.

Below is an example of what the output will look like when you receive it in an email:

IP Address MAC Address ARP Device Manufacturer MAC Lookup Value Vendor Name Device ID Hostname Status
192.168.86.1 d8:6c:63:da:63:15 (Unknown) D86C63 Google Online

When you are running the script from the command line you will want to pass in your email address that you are wanting to send the results to:

./getfiles.ksh [email protected]

mailx -a 'Content-Type: text/html' -r "Google Wifi Monitoring" -s "Device List - $timets" $1 < htmlfile.html

The only feature that I did not add to the wrapper script was the ability to be a cron job/watcher job whenever the device list increased from the previous amount and that could be based on any time interval when checking, that is really up to the user. This can easily be added by someone else to improve this script, any other improvements that you see fit for this script go right on ahead and make it better!

gwifi's People

Contributors

streamline1175 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.