Your forum username:
Do you already have an account?
Forgot your password?
  • Log in or Sign up


    Welcome to Sky User - The Unofficial Support Forum for everything Sky! - Proudly helping over 65k members.


    Advertisement

    Results 1 to 1 of 1

    Mac OSX Automator for xDSL stats for HG612 & Vigor 130

    This is a discussion on Mac OSX Automator for xDSL stats for HG612 & Vigor 130 within the Sky Broadband (Fibre) Help forums, part of the Sky Broadband help and support category; I have created an little script using Automator built into OSX to grab DSL stats on an unlocked HG612 and ...

    1. #1
      andrewjr's Avatar
      andrewjr is offline Sky User Member
      Exchange: NDSIT
      Broadband ISP: NOWTV Super Fibre
      Router: VMG1312-B10A & Asus RT-86U with Merlin FW
      Sky TV: Sky Q 2TB
      Join Date
      Sep 2006
      Posts
      1,249
      Thanks
      28
      Thanked 144 Times in 110 Posts

      Mac OSX Automator for xDSL stats for HG612 & Vigor 130

      I have created an little script using Automator built into OSX to grab DSL stats on an unlocked HG612 and Visor 130 using only a few mouse clicks, if like me you like to keep an eye on stats and log in frequently.

      Open Automator
      Click File
      Click New
      Click Service
      Click Choose
      Click the drop down box for Service receives and select no input
      In the search box on the left type run and double click Run AppleScript
      Delete everything in here and replace with the code below for either the HG612 or the Vigor 130
      Click the little Hammer (build Icon)
      Click the Play (Run Icon) to test it.
      Click File
      Click Save and give the service a name

      Edit 1: depending on the speed of your Mac you may need to increase the first delay time if you find that Terminal doesn't boot quick enough

      To access it:
      Click whatever application you have open at the time (whatever is next to the Apple logo in the menu bar) select Services then click the serivice

      HG612
      Code:
      tell application "Terminal"
      	activate
      	delay 1
      	set currentTab to do script "telnet put HG612 IP address here"
      	delay 1
      	do script "put HG612 username here" in currentTab
      	delay 0.5
      	do script "put HG612 password here" in currentTab
      	delay 0.5
      	do script "sh" in currentTab
      	delay 0.5
      	do script "xdslcmd info --stats" in currentTab
      	delay 0.5
      	do script "exit" in currentTab
      	delay 0.5
      	do script "exit" in currentTab	
      end tell
      Vigor 130
      Code:
      tell application "Terminal"
      	activate
      	delay 1
      	set currentTab to do script "telnet put Visor 130 IP address here"
      	delay 1
      	do script "put Vigor 130 username here" in currentTab
      	delay 0.5
      	do script "put Vigor 130 password here*" in currentTab
      	delay 0.5
      	do script "vdsl status" in currentTab
      	delay 0.5
      	do script "exit" in currentTab
      end tell

      HG612 EXAMPLE
      Code:
      tell application "Terminal"
      	activate
      	delay 1
      	set currentTab to do script "192.168.2.1"
      	delay 1
      	do script "admin" in currentTab
      	delay 0.5
      	do script "SkyUser" in currentTab
      	delay 0.5
      	do script "sh" in currentTab
      	delay 0.5
      	do script "xdslcmd info --stats" in currentTab
      	delay 0.5
      	do script "exit" in currentTab
      	delay 0.5
      	do script "exit" in currentTab	
      end tell

      Vigor 130 EXAMPLE
      Code:
      tell application "Terminal"
      	activate
      	delay 1
      	set currentTab to do script "telnet 192.168.2.1"
      	delay 1
      	do script "admin" in currentTab
      	delay 0.5
      	do script "SkyUser" in currentTab
      	delay 0.5
      	do script "vdsl status" in currentTab
      	delay 0.5
      	do script "exit" in currentTab
      end tell
      Last edited by andrewjr; 30-12-17 at 08:09 PM.
      AirPort Extreme + Sky Fibre Guide | Mac OSX Automator for xDSL stats for HG612 & Vigor 130

      Hauwei Cab > VMG1312-B10A > RT-86U Merlin | 58301/12298



    2. Advertisement
     

     

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    SkyUser - Copyright © 2006-2017. SatDish and NewsreadeR | SkyUser is in no way affiliated with Sky Broadband / BSkyB
    RIPA NOTICE: NO CONSENT IS GIVEN FOR INTERCEPTION OF PAGE TRANSMISSION