OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: bcookatpcsd on November 03, 2021, 01:36:37 PM

Title: New user confusion & questions
Post by: bcookatpcsd on November 03, 2021, 01:36:37 PM
I had a pfsense setup that I thought I could migrate to opnsense.. (skipping the rest of the story around how that all didn't work.. )

At some point I just reset the configuration and decided to just rebuild all the needed portions of the config.. It was at this point that my system had *seven* major upgrades which needed to happen.. I didn't understand why as I just downloaded the latest available that morning.. and after a few hours of having no stable connectivity I decided to reset - this is when the many major upgrades were required.. 

Now I have this:
os-dmidecode (misconfigured)   1.1_1   2.83KiB   OPNsense   Display hardware information on the dashboard   
os-dyndns (misconfigured)   1.25   170KiB   OPNsense   Dynamic DNS Support   
os-git-backup (misconfigured)   1.0_1   14.2KiB   OPNsense   Track config changes using git   
os-iperf (installed)   1.0_1   24.6KiB   OPNsense   Connection speed tester   
os-maltrail (misconfigured)   1.8   45.3KiB   OPNsense   Malicious traffic detection system   
os-net-snmp (misconfigured)   1.5_1   27.5KiB   OPNsense   Net-SNMP is a daemon for the SNMP protocol   
os-wireguard (installed)   1.7   47.2KiB   OPNsense   WireGuard VPN service


Aside from the words 'misconfigured' I'm not sure what to do about those..

I was going to simply backup my config, download 21.7.1, reinstall and upload my config.. but I wasn't sure if that would bring these issues forward as well..

I've seen in the 'Google Wifi' app that it has a nightly speedtest for historical purposes.. Is something like that available? (I tried to attach a screenshot, not sure if it's going to show.. preview not giving me the warm fuzzies..)

I see there is a Interface Stats available on the dashboard, but is there something for daily/weekly/monthly accruals/accounting?

Thanks in advance
Title: Re: New user confusion & questions
Post by: cookiemonster on November 03, 2021, 02:09:18 PM
Plugins misconfigured: After upgrades Go to System > General > Status. Then Run and audit is the what will correct them.

I don't know of a regular speed test but there I think is a speedtest plugin, then cron for a schedule. Maybe not as good as what you want.

Stats rolled-up accounting: similar to the one above. I was pointed to a plugin that I had to put on a to-do list to investigate but from a passing look, again is not built in with a "nice" dashboard. So no functionality out of the box.
Title: Re: New user confusion & questions
Post by: cookiemonster on November 03, 2021, 02:11:08 PM
Accounting: https://forum.opnsense.org/index.php?topic=24383.msg116830#msg116830 (https://forum.opnsense.org/index.php?topic=24383.msg116830#msg116830)
Title: Re: New user confusion & questions
Post by: bcookatpcsd on November 03, 2021, 03:39:47 PM
https://humdi.net/vnstat/cgidemo/

vnstat looks like something good..

and I found this:
https://github.com/mihakralj/opnsense-speedtest

I'll work on adding either of those packages and adding something in cron.. but it looks like it will work..

vnstat installs under services

speedtest installs under reporting

@mihak

https://forum.opnsense.org/index.php?topic=22459.0

I did get Ookla installed.. and ran one test by hand.. subsequent trials gave what looked like an format output error..

Ookla seemed to work once.. then just installed speedtest-cli (py38-speedtest-cli-2.1.3)

Just scheduled a speedtest via cron for 10:30A see what it does..

But there's hope..

vnstat gives text output (not sure if the demo/screenshot is possible..)


bce0_vlan10+bce1  /  hourly

         hour        rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
     11/03/21
         09:00      1.04 GiB |    1.05 GiB |    2.09 GiB |    4.99 Mbit/s
         10:00    806.82 MiB |  654.71 MiB |    1.43 GiB |   20.43 Mbit/s
     ------------------------+-------------+-------------+---------------

bce0_vlan10+bce1  /  daily

          day        rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
      11/03/21      1.83 GiB |    1.69 GiB |    3.52 GiB |  825.86 kbit/s
     ------------------------+-------------+-------------+---------------
     estimated      4.33 GiB |    3.98 GiB |    8.31 GiB |

bce0_vlan10+bce1  /  monthly

        month        rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
       Nov '21      1.83 GiB |    1.69 GiB |    3.52 GiB |  144.35 kbit/s
     ------------------------+-------------+-------------+---------------
     estimated     22.68 GiB |   20.88 GiB |   43.55 GiB |


vlan10 is the family bce1 is the wan..

https://maltechx.de/en/2021/03/opnsense-setup-traffic-shaping-and-reduce-bufferbloat/
I also did this in hopes of helping the Mrs with her 'Google Meets' for work and meetings..

(cron was scheduled correctly.. can't seem to find any evidence)

/var/cron/tabs/nobody
30 10 * * * /usr/local/sbin/configctl spedtest run

makes output.. and updated Reporting/Speedtest

(hmm)
Thanks for the help