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

Scheduling a PPP interface to go up and down automatically

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 876 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.
  • C
    cdub
    last edited by Aug 20, 2013, 8:27 PM

    Is there a way to schedule a PPP interface (or any interface, really) to come up and down automatically, based on the time of day?

    I know you can use SquidGuard or something along those lines to block traffic, but I need to work with dial-up ISDN accounts that are limited to the number of hours per day they can be used.

    I'd like to set something up so that pfSense brings up the PPP connection early in the morning, shuts it down a few hours later when I leave for work, then brings it back up in the afternoon.

    Sort of a poor-man's approach to dealing with the fact that ISDN isn't "always on" like most broadband technologies.

    Any ideas are appreciated.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Aug 22, 2013, 8:20 AM

      I don't think there's anyway of doing that using the default options but you could use a cron job. Install the cron package (to make it easier) and write some very simple scripts that bing up your connection or kill it. Run them at appropriate times.

      Steve

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received