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 - 4r7ur

#1
22.7 Legacy Series / Plugin warnings for Gateway status
December 22, 2022, 10:32:02 AM
Good morning,

after updating to day to 22.7.10_2-amd64 (FreeBSD 13.1-RELEASE-p5/OpenSSL 1.1.1s 1 Nov 2022) I receive about every 5 seconds or so a lot of warnings like this:

2022-12-22T10:27:36
opnsense   /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status (execute task : dpinger_status())
2022-12-22T10:27:36
opnsense   /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status ()
2022-12-22T10:27:31
opnsense   /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status (execute task : dpinger_status())
2022-12-22T10:27:31
opnsense   /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status ()

I'm not sure if this was already an issue before the 22.7.10_2 hotfix. If I remove the gateways widget from the dashboard, the warings stop. Any idea how to supress these messages?

Kind regards,
Artur
#2
today I started the upgrade from 17.7.1 to 17.7.12-1 on my apu2c4. During the upgrade process the appliance froze , so I did a reboot from the console after 30 minutes.
Since then the GUI does not start, on the console I see this problem when I try to upgrade again manually:

/usr/local/etc/rc.firmware.subr: cannot create /tmp/pkg_upgrade.progress: Read-only file system
A firmware update is currently in progress.

Just a note what also happened last night. I ran a firmware upgrade on the apu2c4, this competed successfully, after that I was able to work for about an hour before going to sleep. Some time between 3 and 6 am the opnsense hung itself up. It was not reachable through network although from an outside ipsec-vpn I slowly was able to access the network switch inside my network. After a hard power-off reboot everything was working fine until the opnsense upgrade as described above.

What I tried to do now:

using the shell execute twice
mount -uo rw /
touch /root/force_fsck

Yet this did not help, file system check seems not to work and when booting back the file system still is read only. With my limitied unix knowledge I'm stuck now. Does anyone have an idea how to get the file system back into rw mode, run a file system check and bring the opnsense back to life?

Thanks,
Artur
#3
Hallo zusammen,

anscheinend habe ich beim Thema Routing einen Knoten im Kopf, kann mir da jemand bitte auf die Sprünge helfen?


  • OPNsense 17.1.9 auf APU2c4
    Interface LAN auf ibg0, OPNsense 192.168.10.1/24, PC1 per DHCP auf 192.168.0.20
    Interface WAN auf ibg1 (Nat auf eine Fritzbox, von dort NAT ins Internet – funktioniert)
    Interface LAN2 auf ibg2, OPNsense 192.168.1.1/24, Draytek-Router  mit fixer IP auf  192.168.1.10, nicht ans Internet angeschlossen.
    PCs mit deaktivierter Windows Firewall

Wenn ich das LAN Kabel von LAN2 abziehe und einen PC (PC2) mit fixer IP (192.168.0.30) anschließe, kann ich auf das Web-Interface vom  Draytek-Router  zugreifen, ping funktioniert.
Wenn ich das LAN Kabel an LAN2 anstecke, kann ich vom PC1 an LAN nicht auf den Router zugreifen. Die Firewall blockt den Zugriff. Wenn ich im Log versuche die Regel manuell freizugeben, bringt das nichts – im Log steht ,,cannot resolve.  Allerdings kann ich das OPNsense-webinterface auf 192.168.1.1 öffnen.
Firewall auf LAN ist für IPv4 von */* auf */* offen, Firewall auf LAN2 ist für IPv4 von */* auf */* offen.

Ich habe versucht manuall NAT Regel anzulegen, Gateways anzulegen, Routes zu definieren, in den Firewall Settings Reflection for port forwards zu aktivieren – keine Chance. Gibt es irgendwo eine Anleitung, wie das Routing auf OPNsense funktioniert und man das konfiguriert?

Viele Grüße,
Artur