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

    Beep notification on connection down ?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 732 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.
    • T Offline
      TomT
      last edited by

      Hi

      is it possible for pfSense to beep if an interface or VPN connection goes down ?

      I've just had an issue where an openVPN connection went down which stopped all wireless devices getting out to the Internet. After proving the Internet connection was up and the wireless mesh was working I was left scratching my head until I remembered about the VPN.

      Would be good to play a series beeps / tones if the connection fails.

      Any possibility ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • fireodoF Offline
        fireodo
        last edited by

        Go to Diagnose - File Edit and find /usr/local/sbin/ovpn-linkdown (for openvpn) and add this command at the end of the file: /usr/local/bin/beep -p 850 10
        Instead of 850 you can choose the sound you want its the frequence in Hz :-) and 10 is how long it sounds ...

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TomT
          last edited by

          Thanks for this. Is there any way to have it continually beep until the issue is resolved. ?

          What I'm hoping to do is set up a couple of different beep patterns.

          1. openVPN
          2. IPSEC VPN
          3. WAN

          Thanks

          1 Reply Last reply Reply Quote 0
          • fireodoF Offline
            fireodo
            last edited by fireodo

            You can define the length of the beep, you can try to find a length that fits your needs!

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.8.0 CE
            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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