Quote from: franco on February 28, 2023, 02:59:47 PMAfter a week without issue, I can confirm the fix as well.
# opnsense-revert opnsense && opnsense-patch 90f1d1d766 && service configd restart
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 MenuQuote from: franco on February 28, 2023, 02:59:47 PMAfter a week without issue, I can confirm the fix as well.
# opnsense-revert opnsense && opnsense-patch 90f1d1d766 && service configd restart
Quote from: franco on February 24, 2023, 08:52:46 AMThanks, done, checking over the weekend.
@patman From the log I can see the new "force" doesn't go through, likely because the backend wasn't restarted (no reboot). small oversight on my end in instructions provided. Run this:
# service configd restart
Quote from: franco on February 24, 2023, 08:54:23 AMYeah, ask me ... I asked my provider to even set the router into "bridge mode". I wonder how this behavior conforms to bridge according to IEEE 802.1 ... :-X
PS: It's really annoying routers give out 192.168.x.x addresses temporarily as it can mess up the system state.
Quote from: franco on February 23, 2023, 08:05:58 AM
I think the fix still applies, feel free to try it now:
# opnsense-revert opnsense && opnsense-patch 90f1d1d766
2023-02-24T06:20:32 Notice dhclient Creating resolv.conf
2023-02-24T06:20:32 Notice dhclient New Routers (vtnet2): 81.xxx.xx.1
2023-02-24T06:20:32 Notice dhclient New Broadcast Address (vtnet2): 81.xxx.xx.255
2023-02-24T06:20:32 Notice dhclient New Subnet Mask (vtnet2): 255.255.255.0
2023-02-24T06:20:32 Notice dhclient New IP Address (vtnet2): 81.xxx.xx.x29
2023-02-24T06:19:39 Notice dhclient Creating resolv.conf
2023-02-24T06:19:39 Notice dhclient New Routers (vtnet2): 192.168.100.1
2023-02-24T06:19:39 Notice dhclient New Broadcast Address (vtnet2): 192.168.100.255
2023-02-24T06:19:39 Notice dhclient New Subnet Mask (vtnet2): 255.255.255.0
2023-02-24T06:19:39 Notice dhclient New IP Address (vtnet2): 192.168.100.10
2023-02-24T05:24:03 Error dhclient send_packet: No route to host
2023-02-24T05:17:44 Error dhclient send_packet: No route to host
2023-02-24T05:11:04 Error dhclient send_packet: No route to host
Quote from: franco on February 22, 2023, 08:26:48 AM
Thanks, I'd love to see the debug output from the patch here to confirm,
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP))
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,WAN_DHCP)
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to 81.xxx.xx.1
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to wan
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
2023-02-23T06:24:26 Notice opnsense /usr/local/etc/rc.newwanip: No IP change detected for WAN[wan]
2023-02-23T06:24:26 Notice dhclient Creating resolv.conf
2023-02-23T06:24:26 Notice dhclient New Routers (vtnet2): 81.xxx.xx.1
2023-02-23T06:24:26 Notice dhclient New Broadcast Address (vtnet2): 81.xxx.xx.255
2023-02-23T06:24:26 Notice dhclient New Subnet Mask (vtnet2): 255.255.255.0
2023-02-23T06:24:26 Notice dhclient New IP Address (vtnet2): 81.xxx.xx.x29
2023-02-23T06:24:26 Notice dhclient DEBUG calling add_new_address/add_new_routes
2023-02-23T06:24:26 Notice dhclient DEBUG alias_ip_address:
2023-02-23T06:24:26 Notice dhclient DEBUG new_ip_address: 81.xxx.xx.x29
2023-02-23T06:24:26 Notice dhclient DEBUG new_ip_address: 81.xxx.xx.x29
2023-02-23T06:24:26 Notice dhclient DEBUG old_ip_address: 81.xxx.xx.x29
2023-02-23T06:24:26 Notice dhclient DEBUG entering with BOUND
2023-02-23T05:24:07 Error dhclient send_packet: No route to host
2023-02-23T05:23:27 Error dhclient send_packet: No route to host
2023-02-23T05:22:49 Error dhclient send_packet: No route to host
Quote from: franco on February 21, 2023, 09:11:37 AMThanks for the patch, I have applied it this morning. It will take a few days till I can be sure that it had effect. I'll report back.
Can you guys apply and see if it behaves better? I still need the log output produced by "dhclient" from the general log.
2023-02-22T06:24:22 Notice opnsense /usr/local/etc/rc.newwanip: No IP change detected for WAN[wan]
2023-02-22T06:24:22 Notice dhclient Creating resolv.conf
2023-02-22T06:24:22 Notice dhclient New Routers (vtnet2): 81.xxx.xx.1
2023-02-22T06:24:22 Notice dhclient New Broadcast Address (vtnet2): 81.xxx.xx.255
2023-02-22T06:24:22 Notice dhclient New Subnet Mask (vtnet2): 255.255.255.0
2023-02-22T06:24:22 Notice dhclient New IP Address (vtnet2): 81.xxx.xx.x29
2023-02-22T05:19:49 Error dhclient send_packet: No route to host
2023-02-22T04:57:12 Error dhclient send_packet: No route to host
2023-02-22T04:33:03 Error dhclient send_packet: No route to host
<13>1 2023-02-21T06:23:10+01:00 OPNsense.lan opnsense 33755 - [meta sequenceId="6"] /usr/local/etc/rc.newwanip: No IP change detected for WAN[wan]
/usr/local/etc/rc.routing_configure
fixes the issue also for me.
Quote from: cayenne on February 12, 2023, 10:14:20 AMThanks for the hint, but I'm not sure my issue is the same. For me everything is working fine until the WAN (IPv4) connection goes down (cable modem is powered off) for more than a few minutes. (Need to figure out how long it takes roughly) Then my default route is removed and does not come back until I disable/enable the gateway.
I have the same problem but only on the IPv6 gateway : https://forum.opnsense.org/index.php?topic=32263.0
Quote from: 134 on August 27, 2021, 03:03:46 PM
2021-08-27T00:36:15 ntpd[70683] daemon child exited with code 1
2021-08-27T00:36:15 ntpd[91311] unable to bind to wildcard address :: - another process may be running - EXITING
ps ax | grep ntp
on the shell.killall ntpd
then you are able to start the ntp from the GUI again and it is recognized as running (icon goes green). There is no reboot required.