Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Guys please i need script as soon as possible

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mnegm88
      last edited by

      Guys please I need a help for WAN disconnect and reconnect CMD script for windows.

      I interface in my country (Yemen), the net is moving very slow, till I disconnect my ADSL WAN interface, the net it will move like a rocket, but after 30 minutes or less it will slow down the speed.

      So, sometimes I stay out of door, and I need my router ADSL WAN interface to reconnect by CMD and I will put the CMD in a schedule that will works automatically every 30 minutes.

      So, Please guys try to help me with this issue.

      Regards in advance
      M.Negm

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        i have no clue what it is exactly that you are looking for. The language barrier seems to prevent you from explaining it very well.

        if you want to schedule things: check the cron package

        1 Reply Last reply Reply Quote 0
        • I
          imaginary_number
          last edited by

          If the cable you're disconnecting goes into your ADSL modem, a script in Windows isn't going to help.  You need something on that device.

          If the cable you're disconnecting goes into your Windows computer, look up syntax for netsh or wmic, one of those should be able to do it.  Create a Scheduled Task to do it.

          Not sure what it has to do with Routing or Multi WAN?

          1 Reply Last reply Reply Quote 0
          • M
            mnegm88
            last edited by

            Thanks guys, I got the solution.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.