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 - Server07

#1
Hello,

after frustrating weeks on trying to make Opnsense run again after upgrading to latest version, here my last try to get it resolved, otherwise I need to switch to alternative solutions... hope you can help and I try to better describe now. Opnsense has really great functionality but must be stable...

It was running fine for last year and problems startet out of sudden over last month with upgrades...

I'm getting IPv4 & IPv6 from ISP without issue, no error and all running fine. After sometimes 6/12/24h out of sudden below error appear in log, and 15-30min later, Opnsense has not more LAN -  reload services via shell does not help but only restart helps!

Configuration:

- Opnsense 27.7.7 (fresh install meanwhile + load minimum config - but also did not help)
- ISP - Deutsche Glasfaser (WAN DHCPv6, Prefix delegation size 56) all other default
- LAN (Track Interface WAN + manuell RA: Managed )
- no Vlans

DHCPv6 seems to work fine for ISP, and trying to use e.g. SLAAC was not successful.

LAN
192.168.0.1/24 - 2a00:6020:4347:xx01:2xx:2exx:fe96:7406/64
WAN
100.118.xx.250/16 - 2a00:6020:1000:xx::47x9/128

General Log:
2024-11-03T09:02:38   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 63828'
2024-11-03T08:50:54   Warning   radvd   exiting, 1 sigterm(s) received   
2024-11-03T08:50:54   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '59777''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 59777: No such process'   
2024-11-03T08:50:50   Warning   radvd   exiting, 1 sigterm(s) received   
2024-11-03T08:50:50   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_radvd_configure(manual) found no suitable IPv6 address on lan(re0)   
2024-11-03T08:50:49   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_dhcp6_configure() found no suitable IPv6 address on lan(re0)

After few minutes, the LAN hangs (but no further log) - only restart from shell can recover...
#2
Hello,

using now OPNsense 24.7.6-amd64, I have the issue that my network dies randomly after some hours.
Also also tried to find errors in my config, but not able to link it to the logged issue.
When the network is down and only restart via Shell helps to resolve.

WAN : IPv6 Configuration Type: DHCPv6
Prefix 56

Log:
Running OpnSense, there is no log at all on errors, notice,..., until this happens e.g. today 7:21, log starts getting filled and network died soon after. At 9:00 I did restarted and again log is remain empty until it happen again at 12:48:

2024-10-15T12:48:56 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 47755'

2024-10-15T12:48:45 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.

2024-10-15T12:48:45 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.

restart

2024-10-15T08:58:52   Warning   opnsense    /usr/local/etc/rc.newwanipv6: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2024-10-15T08:58:52   Warning   opnsense    /usr/local/etc/rc.newwanipv6: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
2024-10-15T08:58:51   Error   opnsense    /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 80564'
2024-10-15T08:58:39   Warning   opnsense    /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2024-10-15T08:58:39   Warning   opnsense    /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
2024-10-15T08:57:12   Warning   radvd    exiting, 1 sigterm(s) received
2024-10-15T08:57:01   Error   opnsense    /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 57225'
2024-10-15T08:57:01   Warning   radvd    exiting, 1 sigterm(s) received
....
2024-10-15T07:39:03   Error   opnsense    /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 86503'
2024-10-15T07:39:01   Warning   radvd    exiting, 1 sigterm(s) received
2024-10-15T07:39:01   Error   opnsense    /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '10204''(pid:/var/dhcpd/var/run/dhcpdv6.pid)  returned exit code '1', the output was 'kill: 10204: No such process'
2024-10-15T07:38:56   Warning   radvd    sendmsg: No buffer space available
2024-10-15T07:38:56   Warning   radvd    sendmsg: No buffer space available
2024-10-15T07:38:56   Warning   radvd    exiting, 1 sigterm(s) received
2024-10-15T07:38:56   Warning   opnsense    /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)
2024-10-15T07:38:55   Error   upsmon    Poll UPS [qnapups@192.168.0.7:3493] failed - Server disconnected
2024-10-15T07:21:14   Error   opnsense    /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 89310'
2024-10-15T07:21:14   Error   opnsense    /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '89310''(pid:/var/run/dhcpleases6.pid)  returned exit code '1', the output was 'kill: 89310: No such process'
2024-10-15T07:21:07   Error   opnsense    /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 89310'
2024-10-15T07:21:06   Warning   radvd    exiting, 1 sigterm(s) received
2024-10-15T07:21:05   Error   opnsense    /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '62412''(pid:/var/dhcpd/var/run/dhcpdv6.pid)  returned exit code '1', the output was 'kill: 62412: No such process'
2024-10-15T07:21:01   Warning   radvd    exiting, 1 sigterm(s) received
2024-10-15T07:21:01   Warning   opnsense    /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)


#3
German - Deutsch / DG IPv6 Prefix & Wirguard geht nicht
October 13, 2024, 04:45:47 PM
Hallo,

auf Grund von Problemen mit IPv6 und DG, habe ich mit folgender Anleitung (https://www.blogger-it.de/2023/08/20/ipv6-einrichtung-opnsense-deutsche-glasfaser/) meine Konfiguration so umgestellt.
Da ich mit jetzt nur noch den Prefix hole, hat mein WAN ja nur noch die fe80:....

Mein Wireguard verbindet jetzt nicht mehr. Was muss ich hier jetzt beachten mit den einholen des Präfix?

DeutscheGlasfaser - WAN
100.118.83.250/16
fe80::88a5:f7ff:fec7:8d6%re1/64

LAN
192.168.0.1/24
2a00:6020: ...... :d901:201:2eff:fe96:7406/64

Wireguard
10.0.0.1/24
2a00:6020:1000:34:aaab::1/80
#4
Hallo,

meine OPnSense zeigt in letzten Tagen folgende Fehler & Problem lässt sich scheinbar nur miteinem Reboot lösen. Komme dann nicht mehr auf die OpnSense selber drauf per HTTP oder SSH. Reboot muss ich via Shell am Gerät selber machen.

DeutscheGlasfaser gibt mir dann wieder eine IP wie erwartet.
100.118.83.aaa/16
2a00:aaaa:bbbb:cc::cce9/128

DG habe ich folgende Einstellungen:

DeutscheGlasfaser (wan) - re1:
Use IPv4 connectivity - check
Prefix delegation size - 56
Request prefix only - not checked (sonst bekomme ich keine IPv6, sondern nur fe80...)

LAN (lan) - re0:
IPv6 Configuration Type: Track Interface

Versions OPNsense 24.7.6-amd64 FreeBSD 14.1-RELEASE-p5 OpenSSL 3.0.15

Konnte folgende Fehler in den Log files zu dem Zeitpunkt des Abbruchs -  nur folgndendes finden:

2024-10-13T10:02:28   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : vxlan_configure_do())   
2024-10-13T10:02:28   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for lan(re0)   
2024-10-13T10:02:28   Notice   kernel   <6>vlan0.10: link state changed to UP   
2024-10-13T10:02:28   Notice   kernel   <6>vlan0.1: link state changed to UP   
2024-10-13T10:02:28   Notice   kernel   <6>re0: link state changed to UP   
2024-10-13T10:02:25   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt2(vlan0.1)   
2024-10-13T10:02:25   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for lan(re0)   
2024-10-13T10:02:24   Notice   kernel   <6>vlan0.10: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>vlan0.1: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>re0: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>re0: watchdog timeout   
2024-10-13T10:02:23   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure newwanip_map:rfc2136 (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : unbound_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : openssh_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : opendns_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : ntpd_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : dnsmasq_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : dhcrelay_configure_if(,wan,lan,opt2,inet6))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (,wan,lan,opt2,inet6)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,lan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,lan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,wan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,wan)   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : wireguard_configure_do())   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : openvpn_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : ipsec_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (,wan,lan,opt2,inet6)   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns ()   
2024-10-13T10:02:19   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on opt2(vlan0.1)   
2024-10-13T10:02:19   Notice   dhcp6c   dhcp6c_script: REQUEST on re1 renewal   
2024-10-13T10:02:19   Notice   dhcp6c   dhcp6c_script: REQUEST on re1 executing   
2024-10-13T10:02:19   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,[WAN_DHCP6]))   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,[WAN_DHCP6])   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: keeping inet6 default route to fe80::ff:fe04:101%re1   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: configuring inet6 default gateway on wan   
2024-10-13T10:02:19   Error   opnsense   /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '6788''(pid:/var/run/dhcpleases6.pid) returned exit code '1', the output was 'kill: 6788: No such process'   
2024-10-13T10:02:19   Error   opnsense   /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '5987''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 5987: No such process'   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using wan, lan, opt2   
2024-10-13T10:02:18   Warning   opnsense   /usr/local/etc/rc.newwanipv6: dhcpd_radvd_configure(auto) found no suitable IPv6 address on opt2(vlan0.1)   
2024-10-13T10:02:18   Warning   opnsense   /usr/local/etc/rc.newwanipv6: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dhcp ()   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt2))   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt2)   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure monitor (execute task : dpinger_configure_do(,[]))   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure monitor (,[])   
2024-10-13T10:02:18   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 6788'   
2024-10-13T10:02:18   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid re0 vlan0.1' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.4.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpdv6.conf Database file: /var/db/dhcpd6.leases PID file: /var/run/dhcpdv6.pid Wrote 0 NA, 0 TA, 1 PD leases to lease file. No subnet6 declaration for vlan0.1 (fe80::201:2eff:fe96:7406). ** Ignoring requests on vlan0.1. If this is not what you want, please write a subnet6 declaration in your dhcpd.conf file for the network segment to which interface vlan0.1 is attached. ** No subnet6 declaration for re0 (fe80::201:2eff:fe96:7406). ** Ignoring requests on re0. If this is not what you want, please write a subnet6 declaration in your dhcpd.conf file for the network segment to which interface re0 is attached. ** Not configured to listen on any interfaces! If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging. exiting.'
#5
German - Deutsch / DDclient spdyn Problem
July 10, 2024, 09:23:17 AM
Hallo,

ich versuche nach der Neuintallation wieder mit dynv6.net und spdyn.de zu verbinden aber ohne Erfolg.
Habe DeutscheGlasfaser und nutze nur IPv6 für Wireguard.

Meine Config am Beispiel spdyn, was eigentlich immer klappte:

Accounts
Service: Custom
Protocol: DynDns 2
Server: update.spdyn.de
Username: login email
Password: Token
Wildcard: -
Hostname: yyyyyy.spdns.eu
Check ip method: dyndns
Interface to monitor: WAN
Check ip timeout: 30
Force SSL: -

General settings
Enable: an
Allow IPv6: an
Interval: 360
Backend: ddclient


Logfiles:

   FAILED: badauth)   
2024-07-10T09:10:18   Notice   ddclient   FAILED:   
2024-07-10T09:10:18   Notice   ddclient   FAILED: X-RateLimit-Remaining: 599   
2024-07-10T09:10:18   Notice   ddclient   FAILED: X-RateLimit-Limit: 600   
2024-07-10T09:10:18   Notice   ddclient   FAILED: WWW-Authenticate: Basic realm="spdyn nic update"   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Date: Wed, 10 Jul 2024 07:10:18 GMT   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Cache-Control: no-cache, private   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Connection: keep-alive   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Transfer-Encoding: chunked   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Content-Type: text/plain; charset=UTF-8   
2024-07-10T09:10:18   Notice   ddclient   FAILED: Server: openresty   
2024-07-10T09:10:18   Notice   ddclient   FAILED: updating yyyyyy.spdns.eu: authentication failed (HTTP/1.1 401 Unauthorized


2024-07-10T09:36:55   Notice   ddclient   WARNING: Wait at least 5 minutes between update attempts.   
2024-07-10T09:36:55   Notice   ddclient   WARNING: last updated <never> but last attempt on Wed Jul 10 09:35:03 2024 failed.   
2024-07-10T09:36:55   Notice   ddclient   WARNING: skipping update of yyyyy.spdns.eu from <nothing> to 2a00:yyyy:yyyy:yyy::yyyy.