Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - sp33dy

#1
Just fired up the opnsense install and updated to 25.1.9-amd64

i´m missing all the historical graphs, where have they gone?
is it moved somewhere or do i have a broken install?

under -> reporting -> health
not the traditional with cpu/interface/temperature/vpn etc etc
just some "zoom graph"?!

i did reset all the rrd graph but no difference

EDIT: like this video 9sec in
https://www.youtube.com/watch?v=IhuCAPqco9g

EDIT: not solved
when i make upgrade to the latest version i loos the "options" on top where the historical graphs is

fresh install without restoring backup and it´s still missing
ideas?
#2
any ideas where that or is it for premium only?

EDIT: just watched this video and saw the "devices" tab that i have never seen before
https://www.youtube.com/watch?v=khC9TQ4pJqA&t=479s
~9:40 in

edit: premium did it
#3
If i enable setting "Enable log for rules" i get log entrys both on wan and lan not matter if the rule even exists on the wan interface

i have a "block" on lan port for dst: crowdsec but i dont want it filled with crowdsec hits from wan.

is it possible to not have hits on wan and only on hits originating from lan?
#4
Atleast not for me, i get traffic logs under "live view" but noting on "home page" with vidget
#5
General Discussion / getting custom script working
December 14, 2022, 10:54:32 AM
in
/usr/local/opnsense/service/conf/actions.d/
i added
more actions_pingtest.conf

and the script

[start]
command:/etc/pingtest.sh
parameters:
type:script
description:run custom script
message:run script


and the pingtest script

#!/bin/sh

#=====================================================================
# pingtest.sh, v1.0.1
# Created 2009 by Bennett Lee
# Released to public domain
#*/30 * * * * #
# (1) Attempts to ping several hosts to test connectivity.  After
#     first successful ping, script exits.
# (2) If all pings fail, resets interface and retries all pings.
# (3) If all pings fail again after reset, then reboots pfSense.
#
# History
# 1.0.1   Added delay to ensure interface resets (thx ktims).
# 1.0.0   Initial release.
#=====================================================================

#=====================================================================
# USER SETTINGS
#
# Set multiple ping targets separated by space.  Include numeric IPs
# (e.g., remote office, ISP gateway, etc.) for DNS issues which
# reboot will not correct.
ALLDEST="ping.sunet.se idg.se"
#ALLDEST="irc.com"
# Interface to reset, usually your WAN
BOUNCE=igb3
# Log file
LOGFILE=/tmp/pingtest.log
#=====================================================================

COUNT=1
while [ $COUNT -le 2 ]
do

        for DEST in $ALLDEST
        do
                #echo `date +%Y%m%d.%H%M%S` "Pinging $DEST" >> $LOGFILE
                ping -c1 $DEST >/dev/null 2>/dev/null
                if [ $? -eq 0 ]
                then
                        echo `date +%Y%m%d.%H%M%S` "Ping $DEST OK." >> $LOGFILE
                        exit 0
                fi
        done

        if [ $COUNT -le 1 ]
        then
                echo `date +%Y%m%d.%H%M%S` "All pings failed. Resetting interface $BOUNCE." >> $LOGFILE
                /sbin/ifconfig $BOUNCE down
                # Give interface time to reset before bringing back up
                sleep 20
                /sbin/ifconfig $BOUNCE up
                # Give WAN time to establish connection
                sleep 20
        else
                echo `date +%Y%m%d.%H%M%S` "All pings failed twice. Rebooting..." >> $LOGFILE
#                  /sbin/shutdown -r now >> $LOGFILE
                exit 1
        fi

        COUNT=`expr $COUNT + 1`
done

it runs if i do
configctl pingtest start

any ideas why it doesent run on the 5min schedule
/s



#6
howdy

the unbound service died during the night, saw somewhere it could be "Register DHCP static mappings" so i disabled that now

anyhow is there a detailed guid on setting up monit and unbound, i really dont have a clue what to put in all those fields..and yes i saw the general howto but that doesent tell me how to get unbound/monit running

#7
21.1 Legacy Series / freedns no longer update
May 28, 2021, 08:21:17 AM
Since upgrade yesterday i notice that it just says "N/A" under cached ip

log says "/services_dyndns_edit.php: Dynamic DNS (xxxxxx.xxx): PAYLOAD: No username provided"

any ideas?
#8
General Discussion / refresh web gui
February 17, 2020, 08:54:09 AM
Any chance to change refresh time in the default dashboard

it refreshes every 6sec and i would like to change that to say 300 or 600 sec
any ideas?

EDIT: got it
/usr/local/www/index.php
and change value setTimeout

/s

#9
...i´m outa here
#10
....