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

Script for Automatic Reboot of my pfsense box

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 440 Views 2 Watching
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.
  • O Offline
    OpenWifi
    last edited by Jun 21, 2021, 5:27 AM

    Hey, guys so I have been having issues where my WAN 1 connections seem to stop working unless I either disconnect and connect it manually or reboot pfsense. This proves to be a challenge since whenever I am not around I have to VPN in and reboot my pfsense, disabling the WAN will disconnect the VPN and I would not be able to connect the WAN 1 back..Around a week ago I found kind of a solution from one of the members, and that solution is a script for pfsense to either disconnect and reconnect WAN 1 or reboot pfsense after few seconds. The problem is that I do not know how to integrate it into Command-Line of my box. Kindly need urgent help.Here is the thread

    G 1 Reply Last reply Jun 21, 2021, 5:37 AM Reply Quote 0
    • G Offline
      Gertjan @OpenWifi
      last edited by Jun 21, 2021, 5:37 AM

      @openwifi

      That link shows you how to integrate a script using the cron package.
      What step isn't clear for you ?

      Btw : The real solution would be to understand why this happens :

      @openwifi said in Script for Automatic Reboot of my pfsense box:

      where my WAN 1 connections seem to stop working

      The interface is bad ?
      The other side's interface is bad ?
      What is the other side ?
      DHCP re-negotiation is failing ?
      Etc.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      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