Code Monkey home page Code Monkey logo

tg788vn_telnet's Introduction

Technicolor TG788vn router (OVH) telnet configuration scripts

Author: Gaëtan HARTER - [email protected]

External Documentation in French

I just wrote some scripts to configure the OVH router via telnet instead of using the web interface. I publish them in case it might help someone.

Configuration

You should configure router_ip, username and password in the wrapper_script.expect file.

Some scripts requires you to configure them to fit your needs too. Please always read a script before running it.

Usage

./wrapper_script.expect <script_to_run>

After some modifications, changes must be saved on the router to be available after reboot

./wrapper_script.expect save_all_config

How it works

The scripts are based on expect.

They consist of a wrapper, which connects to the router and configure an alias which executes command and wait for the prompt. Then execute the script given in parameter.

The executed scripts should be a sequence of exec_cmd ":cmd to run on router".

tg788vn_telnet's People

Contributors

cladmi avatar

Stargazers

Siegfried Loeffler avatar

Watchers

 avatar James Cloos avatar

Forkers

bastoon smellinet

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.