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

Messages - JavaMan07

#1
Little further details
I did a clean upgrade to 23.1, the default configuration. Planning to load my previous configuration soon.
UE0 is the WAN plugged into a USB ethernet adapter, with RealTec chip inside.
RE0 is the LAN internall ethernet port
This hardware was used with 27.x release since June 2022.
The only hiccup is at startup. When the system boots the WAN frequently would show as down, I would log into the Web UI, go to interfaces -> overview expand the WAN interface, then hit reload. Sometimes it would require hitting reload a second or third time, then it would work. Once that startup process was done, the system would be stable for months at a time.

Since no hardware has changed in the past 10 months, I don't think hardware is the issue at this point.


Some further troubleshooting

I logged into the VGA console. Unplugged the LAN cable and swapped the WAN cable to RE0 (the internal eth port). I was able to update via the console, rebooted, then checked for updates again, all updates installed.

I then swapped the WAN cable back to the USB ethernet. Within seconds it went into a loop of messages and showing UE0 up, UE0 down. It would repeat every ten seconds or so. After maybe 45 seconds of that, it started flashing text on the console too fast to read or get a picture of. After about 30 seconds, it would reboot.
I watched it for a while, it kept repeating the pattern of messages then rebooting.

I unplugged the WAN cable and it stopped on the UE0 down message. I plugged the LAN cable into the internel eth port, and logged into the Web UI.

I then decided to plug the LAN cable into the USB ethernet, leaving the internal eth port open. The system seems stable that way running for 20 minutes without issue.

I then plugged the WAN cable into the internal eth port. Within seconds it went into a loop of messages and showing UE0 up, UE0 down. It would repeat every ten seconds or so. After maybe 45 seconds of that, it started flashing text on the console too fast to read or get a picture of. After about 30 seconds, it would reboot. I watched it for a while, it kept repeating the pattern of messages then rebooting.

So to recap
WAN in USB, LAN in internal -> interfaces keep rotating up/down, reboots repeatedly
WAN in USB, nothing in internal -> interfaces keep rotating up/down, reboots repeatedly
LAN in USB, nothing in internal -> stable
LAN in USB, WAN in internal -> interfaces keep rotating up/down, reboots repeatedly


How can I capture some useful logs to further troubleshoot?
#2
I upgraded my OPNsense box from 22.7 to the 23.1 release,  running on Lenovo ThinkCentre M600 with 8GB RAM and 256GB SATA SSD. Having trouble with OPNsense not functioning with the WAN ethernet cable connected.
Troubleshooting attempts
Try booting the system with WAN connected, no internet, and Web UI not responding, network timeout.
Try booting the system with WAN disconnected, I can log in to the Web UI, and things look good, no internet to check for updates obviously. The system is stable this way, I can leave it on overnight and it still works the next day. Once I plug in the WAN cable, within a few minutes, it will stop responding, network timeout.
Try booting the system with WAN disconnected, go to the Interfaces -> Overview. Shows the UE0, the WAN interface, shows "no carrier". Then I plug in the WAN cable and hit reload on that interface, Web UI becomes non-responsive, network timeout. I let it run for like 20 minutes, hoping it will fix itself, but as I still cannot get to the Web UI, I reboot it.

The system worked well with the previous version 22.7. I did have minor issues at boot, where Interfaces -> Overview would show 'no carrier", I would just hit reload, possibly a few times, that would fix the problem. It would be stable running for weeks at that point.

I'm attaching the log contents, showing a few cycles of booting up and rebooting, like described above.


Date
Severity
Process
Line
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (1)
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (execute task : dhcpd_dhcrelay_configure(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (1)
2023-04-27T16:49:10-06:00 Warning opnsense /usr/local/etc/rc.bootup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (1)
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: skipping IPv6 default route
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv6 default gateway set to wan
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: entering configure using defaults
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : webgui_configure_do(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : unbound_cache_flush(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : openssh_configure_do(1))
2023-04-27T16:49:10-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (1)
2023-04-27T16:49:09-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/var/etc/rtsold_script.sh 'ue0'' returned exit code '1', the output was ''
2023-04-27T16:49:09-06:00 Error dhcp6c failed to parse configuration file
2023-04-27T16:49:09-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:49:09-06:00 Notice dhcp6c RTSOLD script - Starting dhcp6 client
2023-04-27T16:49:09-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'ue0' inet6 accept_rtadv -ifdisabled up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:49:09-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'ue0' inet6 -accept_rtadv description 'WAN (wan)' up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:49:09-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link ....... got link DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 2 DHCPOFFER from 192.168.2.1 DHCPREQUEST on ue0 to 255.255.255.255 port 67 DHCPREQUEST on ue0 to 255.255.255.255 port 67 receive_packet failed on ue0: Device not configured Interface ue0 no longer appears valid. No live interfaces to poll on - exiting. exiting.'
2023-04-27T16:49:09-06:00 Critical dhclient exiting.
2023-04-27T16:49:09-06:00 Error dhclient connection closed
2023-04-27T16:49:09-06:00 Critical dhclient exiting.
2023-04-27T16:49:09-06:00 Error dhclient No live interfaces to poll on - exiting.
2023-04-27T16:49:09-06:00 Error dhclient Interface ue0 no longer appears valid.
2023-04-27T16:49:09-06:00 Error dhclient ioctl(SIOCGIFFLAGS) on ue0: Operation not permitted
2023-04-27T16:49:09-06:00 Error dhclient receive_packet failed on ue0: Device not configured
2023-04-27T16:48:58-06:00 Notice syslog-ng syslog-ng starting up; version='3.38.1'
2023-04-27T16:07:16-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:46-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:31-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:23-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:19-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:16-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:15-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:06:15-06:00 Notice opnsense /status_interfaces.php: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6,Array))
2023-04-27T16:06:15-06:00 Notice opnsense /status_interfaces.php: plugins_configure dhcp (,inet6,Array)
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : unbound_configure_do(1))
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (1)
2023-04-27T16:06:02-06:00 Warning opnsense /usr/local/etc/rc.configure_interface: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T16:06:02-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command `/usr/local/sbin/ifinfo 'ue0'' failed to execute
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (1)
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (execute task : ipsec_configure_do(1,wan))
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (1,wan)
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (execute task : dpinger_configure_do(1,WAN_DHCP6))
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (1,WAN_DHCP6)
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: skipping IPv6 default route
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: IPv6 default gateway set to wan
2023-04-27T16:06:02-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:06:02-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:06:02-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: entering configure using 'wan'
2023-04-27T16:06:02-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:06:02-06:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2023-04-27T16:06:02-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 accept_rtadv -ifdisabled up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:06:02-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 -accept_rtadv description 'WAN (wan)' up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:06:02-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link ....... got link ifconfig: interface ue0 does not exist ue0: not found exiting.'
2023-04-27T16:06:02-06:00 Critical dhclient exiting.
2023-04-27T16:06:02-06:00 Error dhclient ue0: not found
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : unbound_configure_do(1))
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (1)
2023-04-27T16:05:30-06:00 Warning opnsense /usr/local/etc/rc.configure_interface: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T16:05:30-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command `/usr/local/sbin/ifinfo 'ue0'' failed to execute
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (1)
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (execute task : ipsec_configure_do(1,wan))
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (1,wan)
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (execute task : dpinger_configure_do(1,WAN_DHCP6))
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (1,WAN_DHCP6)
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: skipping IPv6 default route
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: IPv6 default gateway set to wan
2023-04-27T16:05:30-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:30-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: entering configure using 'wan'
2023-04-27T16:05:30-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:30-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:30-06:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2023-04-27T16:05:30-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 accept_rtadv -ifdisabled up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:05:30-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 -accept_rtadv description 'WAN (wan)' up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:05:30-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link ....... got link ifconfig: interface ue0 does not exist ue0: not found exiting.'
2023-04-27T16:05:30-06:00 Critical dhclient exiting.
2023-04-27T16:05:30-06:00 Error dhclient ue0: not found
2023-04-27T16:05:19-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:05:16-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:05:13-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:05:12-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T16:05:11-06:00 Notice opnsense /status_interfaces.php: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6,Array))
2023-04-27T16:05:11-06:00 Notice opnsense /status_interfaces.php: plugins_configure dhcp (,inet6,Array)
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : unbound_configure_do(1))
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (1)
2023-04-27T16:05:04-06:00 Warning opnsense /usr/local/etc/rc.configure_interface: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (1)
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (execute task : ipsec_configure_do(1,wan))
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (1,wan)
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (execute task : dpinger_configure_do(1,WAN_DHCP6))
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (1,WAN_DHCP6)
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: skipping IPv6 default route
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: IPv6 default gateway set to wan
2023-04-27T16:05:04-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:04-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:04-06:00 Notice opnsense /usr/local/etc/rc.configure_interface: ROUTING: entering configure using 'wan'
2023-04-27T16:05:04-06:00 Error dhcp6c invalid interface(ue0): Device not configured
2023-04-27T16:05:04-06:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2023-04-27T16:05:04-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 accept_rtadv -ifdisabled up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:05:04-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/ifconfig 'ue0' inet6 -accept_rtadv description 'WAN (wan)' up' returned exit code '1', the output was 'ifconfig: interface ue0 does not exist'
2023-04-27T16:05:04-06:00 Error opnsense /usr/local/etc/rc.configure_interface: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link ....... got link ifconfig: interface ue0 does not exist ue0: not found exiting.'
2023-04-27T16:05:04-06:00 Critical dhclient exiting.
2023-04-27T16:05:04-06:00 Error dhclient ue0: not found
2023-04-27T15:28:13-06:00 Notice syslog-ng Configuration reload finished;
2023-04-27T15:28:13-06:00 Notice syslog-ng Configuration reload request received, reloading configuration;
2023-04-27T15:28:11-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (execute task : dpinger_configure_do(1,))
2023-04-27T15:28:11-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (1,)
2023-04-27T15:28:11-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: skipping IPv6 default route
2023-04-27T15:28:11-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: IPv6 default gateway set to wan
2023-04-27T15:28:11-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : unbound_configure_do(1))
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : opendns_configure_do(1))
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : ntpd_configure_do(1))
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (1)
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: Resyncing OpenVPN instances.
2023-04-27T15:28:09-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : openvpn_configure_do(1))
2023-04-27T15:28:07-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/usr/local/etc/rc.d/strongswan onestop' returned exit code '1', the output was 'strongswan not running? (check /var/run/daemon-charon.pid).'
2023-04-27T15:28:07-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : ipsec_configure_do(1))
2023-04-27T15:28:07-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (1)
2023-04-27T15:28:07-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (execute task : dpinger_configure_do(1,,1))
2023-04-27T15:28:07-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (1,,1)
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : unbound_configure_do(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (1)
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (execute task : dhcpd_dhcrelay_configure(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (1)
2023-04-27T15:28:06-06:00 Warning opnsense /usr/local/etc/rc.bootup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T15:28:06-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (1)
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: skipping IPv6 default route
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv6 default gateway set to wan
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: entering configure using defaults
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : webgui_configure_do(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : unbound_cache_flush(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : openssh_configure_do(1))
2023-04-27T15:28:06-06:00 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (1)
2023-04-27T15:28:05-06:00 Notice dhcp6c RTSOLD script - Starting dhcp6 client
2023-04-27T15:28:05-06:00 Error opnsense /usr/local/etc/rc.bootup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link .............. giving up'
2023-04-27T15:03:39-06:00 Error opnsense /usr/local/etc/rc.linkup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 1 DHCPOFFER from 192.168.2.1 receive_packet failed on ue0: Device not configured Interface ue0 no longer appears valid. No live interfaces t<45>1 2023-04-27T15:27:52-06:00 OPNsense.localdomain syslog-ng 26785 - [meta sequenceId="1"] syslog-ng starting up; version='3.38.1'
2023-04-27T15:03:39-06:00 Critical dhclient exiting.
2023-04-27T15:03:39-06:00 Error dhclient connection closed
2023-04-27T15:03:39-06:00 Critical dhclient exiting.
2023-04-27T15:03:39-06:00 Error dhclient No live interfaces to poll on - exiting.
2023-04-27T15:03:39-06:00 Error dhclient Interface ue0 no longer appears valid.
2023-04-27T15:03:39-06:00 Error dhclient ioctl(SIOCGIFFLAGS) on ue0: Operation not permitted
2023-04-27T15:03:39-06:00 Error dhclient receive_packet failed on ue0: Device not configured
2023-04-27T15:03:38-06:00 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for wan(ue0)
2023-04-27T15:00:08-06:00 Notice configctl event @ 1682629208.38 exec: system event config_changed
2023-04-27T15:00:08-06:00 Notice configctl event @ 1682629208.38 msg: Apr 27 15:00:08 OPNsense.localdomain config[54758]: [2023-04-27T15:00:08-06:00][INFO] config-event: new_config /conf/backup/config-1682629208.3712.xml
2023-04-27T14:53:27-06:00 Notice syslog-ng Configuration reload finished;
2023-04-27T14:53:27-06:00 Notice syslog-ng Configuration reload request received, reloading configuration;
2023-04-27T14:53:24-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (execute task : dpinger_configure_do(1,))
2023-04-27T14:53:24-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (1,)
2023-04-27T14:53:24-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: skipping IPv6 default route
2023-04-27T14:53:24-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: IPv6 default gateway set to wan
2023-04-27T14:53:24-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : unbound_configure_do(1))
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : opendns_configure_do(1))
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : ntpd_configure_do(1))
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (1)
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: Resyncing OpenVPN instances.
2023-04-27T20:53:23 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : openvpn_configure_do(1))
2023-04-27T20:53:21 Error opnsense /usr/local/etc/rc.bootup: The command '/usr/local/etc/rc.d/strongswan onestop' returned exit code '1', the output was 'strongswan not running? (check /var/run/daemon-charon.pid).'
2023-04-27T20:53:20 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : ipsec_configure_do(1))
2023-04-27T20:53:20 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (1)
2023-04-27T20:53:20 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (execute task : dpinger_configure_do(1,,1))
2023-04-27T20:53:20 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (1,,1)
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : unbound_configure_do(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (1)
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (execute task : dhcpd_dhcrelay_configure(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (1)
2023-04-27T20:53:19 Warning opnsense /usr/local/etc/rc.bootup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on re0
2023-04-27T14:53:19-06:00 Error dhcp6c transmit failed: Can't assign requested address
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (1)
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: skipping IPv6 default route
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv6 default gateway set to wan
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: entering configure using defaults
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : webgui_configure_do(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : unbound_cache_flush(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : openssh_configure_do(1))
2023-04-27T20:53:19 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (1)
2023-04-27T14:53:18-06:00 Notice dhcp6c RTSOLD script - Starting dhcp6 client
2023-04-27T20:53:18 Error opnsense /usr/local/etc/rc.bootup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ue0.pid' 'ue0'' returned exit code '1', the output was 'ue0: no link .............. giving up'
2023-04-27T14:53:05-06:00 Notice syslog-ng syslog-ng starting up; version='3.38.1'
2023-04-27T14:37:55-06:00 Notice syslog-ng Configuration reload finished;
2023-04-27T14:37:55-06:00 Notice syslog-ng Configuration reload request received, reloading configuration;
2023-04-27T14:37:53-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (execute task : dpinger_configure_do(1,))
2023-04-27T14:37:53-06:00 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (1,)
«‹123
#3
22.7 Legacy Series / Re: No carrier after install
August 29, 2022, 04:48:12 AM
It takes a bit of unplugging and plugging the USB back in to get it working, 2-7 times, but once it is working it works great till the system gets rebooted again. I'm glad that it's solid when it is working, but rebooting or unplugging things repeatedly till it works again is not something that the wife would be happy about.

I only have one ethernet port on this system. If it supports another natively, it's via some add-in card that I do not have.

My M.2 E key to ethernet adapter came in a few days ago. I was unable to use it yet because of the clearance between it and the 2.5" SATA tray. I should have my M.2 SATA drive tomorrow, so I'll be migrating to it and getting that ethernet adapter installed soon. Hopefully, that gets this working solidly
#4
22.7 Legacy Series / Re: No carrier after install
August 21, 2022, 10:12:57 PM
Well, at least in neighborhoods built since 2016, the residents have three providers instead of just the two (Xfinity for cable, CenturyLink for DSL, and various fiber providers in regions of the city).

I thought my problem with the WAN link was solved, but after doing a restart today, its back. I collected the dmesg output, and attached it here. After a few reboots trying to resolve the WAN issue, I cannot connect to it at all now. Each time I reboot I just get "no route to host"
#5
22.7 Legacy Series / Re: No carrier after install
August 21, 2022, 05:45:07 AM
While DSL and cable are inferior technologies for broadband internet, it's still the company running the service and support that is the root of the problem.
I used to have cable internet. During the busy time of day, 3pm to 9pm, service would really slow down. My 100Mbps/1Mpbs would slow down to 5Mbps/0.05Mbps which would pretty much make the internet useless. After complaining multiple times, paying for them to come out and test my line (during good hours) and say the problem is my internal apartment wiring. My only alternative wired ISP was a DSL provider, so I decided to increase my subscription rate. My 500Mbps/5Mpbs would slow down to 65Mbps/1Mbps which would kill video conferencing but still allow for functional internet and streaming.

With DSL now I don't get any slow down based on time of day, just the random (maybe once a month) issues where some websites break or get very slow. But my 100Mbps/10Mbps is the fastest speed they offer. The faster upload speed is a definite plus compared to cable, at least for work from home and video conferencing.

What I find ironic, is the big providers stick to cable/DSL because they say fiber is too expensive to lay, too expensive to maintain, etc. While the small providers that specialize in fiber internet charge lower prices, are profitable and growing. Albeit slowly since they can only grow in new housing developments. No one seems to be interested in building in established neighborhoods.
#6
22.7 Legacy Series / Re: Good ad blocking solution
August 21, 2022, 01:07:01 AM
Thank you. I have installed AdGuard using mimugmail's repository, it's working well. Thank you @mimugmail

I must say the internet is noticeably faster compared to before (using the AdBlock Chrome plugin). I also like not getting the popups telling me to turn off the adblocker.
#7
22.7 Legacy Series / Good ad blocking solution
August 20, 2022, 02:02:54 AM
I have a fairly new install, been playing with OPNsense in live mode for several weeks, and had some issues with getting it installed and working. I finally got it fully updated and stable on August 14th. It's been great the past week, in the evenings I've been tinkering with setting up something new each day. Today I setup dynamic DNS, with DuckDNS.

Next I'm wanting to make a second attempt to tackle ad blocking. First attempt, I configured UnboundDNS, setup a few blocklists. Just adding a small blocklist like "AdGuard List" it seems to work ok, but when I try to add the larger ones like "Blocklist.site Malware", and "Blocklist.site Scam", then restarting UnboundDNS takes a long time. Also, it seems to just restart at random times throughout the day, which disables my internet (DNS is kinda critical for the internet to work). Takes like 10 minutes for UnbountDNS to finish restarting and restore my internet access.

If I disable the DNS blocklist then it works fine.

OPNsense is running directly on the hardware, a ThinkCentre M600 with Pentium J3710 and 8GB ram, 32GB SATA drive.

My questions:
Am I enabling a broken list that is causing the very long restarts?
Is Unbound just not really good for ad blocking?
Should Unbound be able to use multiple blocklists concurrently? 
Should I look for another solution, like running a PiHole type VM on my desktop?
I see there's guides on installing AdGuard on OPNsense, but it requires adding an alternate repository. Anyone had luck with that?
#8
22.7 Legacy Series / Re: No carrier after install
August 20, 2022, 12:12:38 AM
@WN1X  This is with CenturyLink (DSL provider), my other option for wired internet is with Xfinity (the cable provider). There are no other wired providers in this neighborhood.
I looked at some WISP wireless providers, but I'd be dropping from 110Mbps/10Mbps to like 15Mbps/2Mbps or less upload. Unfortunately, the slow speeds available via WISP providers are not feasible for me.

@cookiemonster  I was not able to get to dmesg to collect logs. This problem only occurs after I complete the install and reboot, which it apparently disables SSH access. Since there are all the warnings about how bad enabling SSH is, I left it off.

I was finally able to get it to work, after rebooting a number of times it finally just worked. I then updated the system, which required a reboot. It still worked and continued working after some additional reboots.

Hopefully, I'm only stuck here with this ISP for a few more weeks. We've been renting for a year while our house is under construction. We're supposed to close on Sep 7th, we're just waiting to hear from underwriting to give final approval. After we move we'll finally have fiber internet. I'm so looking forward to it. It's from a small local company, so I'm sure it will be much better service than these large *$& ISPs.
#9
22.7 Legacy Series / Re: No carrier after install
August 12, 2022, 01:38:23 AM
To get a different modem, without a built-in router, I would have to get the business plan. They do not sell modem-only units to home users, gave me some BS about providing better security this way.
To get a second external IP address, I would have to buy the business modem and get the business plan. Depending on which customer support person I talk to, they may require a copy of a business license to get the business plan. Anyway, the business plan would raise my monthly cost from $65 to $245, not work it for me. A business plan is not faster either, I'm limited by their DSL technology.
The home modem/router does not have a bridge mode, their support tech could not understand why anyone would want an insecure connection. So far the best I can do to eliminate their stuff is to turn off the WiFi of their modem/router unit, and put my own solution behind it (along with the double NAT issues that causes).
#10
22.7 Legacy Series / Re: No carrier after install
August 11, 2022, 04:58:54 PM
That is correct, my ISP modem/router combo unit. I can only get internal IP addresses from it, even when I place something in the DMZ.
I can see on my desktop that I sometimes get port scanned from various IPs outside the US. So I don't really trust the "advanced cyber security" provided by the ISP router. I'm putting the OPNsense between the ISP modem/router and my internal network (NAS, Proxmox, workstations)
#11
22.7 Legacy Series / No carrier after install
August 10, 2022, 04:24:56 PM
I'm new to OPNsense, and struggling to get it routinely functional.
When I run it in live mode it works great, stable even overnight. Since I'm working to get it installed, I haven't left it running longer than that yet. In live mode, it does not auto assign the interfaces right. I have to eiher assign the ue0 interface to WAN using the UI, or ssh root login. Either method seems to work fine while it's running in live mode.

When I have a working setup, I login via SSH to installer@192.168.1.1 to complete the install to SSD, then reboot. After that I can't get it to work, the WAN interface keeps showing "no carrier" and won't get an IP address. At this point, I've tried installing three different times, some part of the working live-mode setup is not getting pushing into the installed system. I've even tried backing up all system settings (from the live-mode) and restoring those settings when it's running the installed version, but that still won't activate the WAN side.

I am fairly confident that the cables are good, as when it's in live-mode it works great. I even loaded i by doing speed tests or large downloads, while I wiggled and pulled on the ethernet and USB cables, with no hiccups in transfer speed. I figured any minor problem with the cable is more likely to show up during high network traffic versus just sitting there.


Hardware: Lenovo ThinkCentre M600 Type 10G9. LAN is the internal gig ethernet. WAN is a Wavlink USB to gig ethernet adapter, which works fine on other PCs. Within the UI it identifies as I do plan on replacing the USB adapter with a M.2 key A or key E ethernet adapter, and probably will get a 2.5Gb version.

Live version info  OPNsense 22.7-amd64, FreeBSD 13.1-RELEASE, OpenSSL 1.1.1q 5 Jul 2022

Here's the ifconfig for the ue0 interface when it's running in live-mode
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN
        options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
        ether 80:3f:5d:06:8c:dc
        inet6 fe80::823f:5dff:fe06:8cdc%ue0 prefixlen 64 scopeid 0x7
        inet 192.168.0.14 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>


Here's the ifconfig for the ue0 interface when it's running as installed to SSD
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=68009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 80:3f:5d:06:8c:dc
        media: Ethernet autoselect (none <half-duplex>)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>



Here's the usbconfig output
root@OPNsense:~ # usbconfig
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <General UDisk> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
ugen0.3: <GenesysLogic USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.4: <vendor 0x0424 product 0x2514> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (2mA)
ugen0.5: <vendor 0x8087 product 0x0a2a> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.6: <GenesysLogic USB3.1 Hub> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.7: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)