Quote from: franco on June 13, 2025, 07:30:53 AMI'm still waiting on a word if they copied it from another BSD? ;)strings if_pppoe.ko and googling the messages give a hint ;)
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 June 13, 2025, 07:30:53 AMI'm still waiting on a word if they copied it from another BSD? ;)strings if_pppoe.ko and googling the messages give a hint ;)
Quote from: grind on May 24, 2025, 12:12:42 AMHow can I trigger the WAN DHCP "reload" from the CLI?configctl interface reconfigure wan does the trick.
Quote from: MildDisaster on May 24, 2025, 05:57:09 PMI believe KEA has dns registration for static hosts now?Static wouldn't be my problem, I also could add them to unbound manually. I meant dynamic leases.
Quote from: Monviech (Cedrik) on May 24, 2025, 08:57:35 AMYou can stick with KEA if you dont need any of the dnsmasq features.I've seen that the competition released a new version that has KEA with hostname registration in unbound. Is that also planned for opnsense? I ask because it feels wrong to have 2 DNS servers running at the same time just for DHCP hostname registration, which would be the case with dnsmasq.
Quote from: Patrick M. Hausen on May 24, 2025, 11:58:22 AMLaptops and mobile devices - why bother naming them at all?Because it's easier to debug. If I see "Foo's iPhone" in the tcpdump, I directly know what device it is. If I just see an ip address, I have to grep in the dhcp leases, what device it is.
#!/bin/sh
wan_ip="$(ifconfig igb0 | grep inet6 | grep 2003 | grep -v deprecated | awk '{print $2}')"
lan_ip="$(ifconfig igb1 | grep inet6 | grep 2003 | grep -v deprecated | awk '{print $2}')"
#check if tmpfile exists
if [ ! -f "/tmp/v6addr" ]; then ifconfig igb0 | grep inet6 | grep 2003 | grep -v deprecated | awk '{print $2
}' >/tmp/v6addr ; fi
old_ip="$(cat /tmp/v6addr)"
[ -z $old_ip ] && old_ip="-"
if [ $wan_ip != $old_ip ]
then
echo "ip changed!!" >> /tmp/v6addr.log
/usr/local/sbin/configctl interface reconfigure && ifconfig igb0 | grep inet6 | grep 2003 | grep -v deprecated | awk '{print $2}' >/tmp/v6addr && sleep 3 && pkill -9 unbound && pluginctl dns
else
echo "ip did not change" >>/tmp/v6addr.log
exit 0
fi