how to alert when internet is down

Started by totalysmartlittelboy, December 28, 2024, 04:09:26 PM

Previous topic - Next topic
im an complete noob in opnsense

i want it to notify via the spekers with beeps

install espeak

ping google.com | grep 'timed out' > espeak &

You'll want to run this on Linux with a speaker attached (raspberry pi?)


You need a separate Linux machine, e.g. a Raspberry Pi, and some scripting skills. You cannot do this on OPNsense. Refer to the documentation of your Linux distribution of choice to find out how to install the "espeak" package.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

so i cant install an freebsd app but forced to use an linux macien

Possibly FreeBSD, too. I don't know which applications exists that produce some sound. But you probably need a separate machine, because you cannot install arbitrary packages on OPNsense. OPNsense is an appliance OS based on FreeBSD, not a stock FreeBSD.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Why is this not possible on OS? Can it not emit sounds by design? 8()