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

    Need help, wan PPPOE ADSL connect/disconnect script

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    1 Posts 1 Posters 1.7k 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.
    • I
      industrial
      last edited by

      My problem is like this, ISP i use have some IP pools that are really bad, and i wish somehow to make script that:
      1.0 Check is WAN PPPoE connected.
      1.1 If connected go to 2.0
      1.2 If Not connected to connect and go to 1.1
      2.0 Check ip of WAN
      2.1 If WAN ip is from good IP pool sleep for 2 min and go to 1.0
      2.2 If WAN ip is from bad IP pool go to 3.0
      3.0 Disconnect WAN PPPoE, sleep for 10 sec and go to 1.0

      is there any chance that anyone have done this already or that u can point me in direction of how to do this.

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