Giter Site home page Giter Site logo

metekamil / att-uverse-automated-router-rebooter Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 5.0 26 KB

This script will reboot your UVerse router

Home Page: http://www.MeteKamil.com

License: GNU General Public License v3.0

JavaScript 100.00%
gigabit-lan reboot router u-verse uverse

att-uverse-automated-router-rebooter's People

Contributors

metekamil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

att-uverse-automated-router-rebooter's Issues

Support for BGW210-700?

Any chance you'd be willing to add support for the BGW210-770? I suck at node and can't figure it out, but would love to tie this into another script that I'm writing to automatically reboot when my router loses it's internet connection (which happens every day...

Landing Page: /cgi-bin/home.ha
Page with Security Code: /cgi-bin/restart.ha
Page after Security Code: cgi-bin/restart.ha

Let me know anything else that would help (happy to do a screen share if need be!)

This shits down my router

I have a battery backup. This script turns off the router. I tried backing the script to just reset the connection to att but was not able to finess it.

Cannot read property 'substr' of undefined

Hey, I'm not good with node.js but can you help troubleshoot?

I have cloned repo, installed npm and nodejs from fresh install. When I attempt to run reboot.js on Node version v8.10.0 I get the following error:

/home/me/ATT-Uverse-Automated-Router-Rebooter/reboot.js:32
var nonce=body.substr(body.indexOf("NONCE")).toLowerCase();
^

TypeError: Cannot read property 'substr' of undefined
at Request._callback (/home/odroid/ATT-Uverse-Automated-Router-Rebooter/reboot.js:32:24)
at self.callback (/usr/lib/nodejs/request/index.js:148:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at ClientRequest.self.clientErrorHandler (/usr/lib/nodejs/request/index.js:258:10)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)

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.