Thanks everyone for their reply and the pointer to ifstated(8)!
For the archives; this simple configuration did the trick:
== 8< ==
state if_up {
init {
run "/usr/local/sbin/dyndnsupdate.sh"
}
if pppoe0.link.down {
run "/usr/bin/logger -p daemon.warn -i -
On 2020-06-17, Christian Weisgerber wrote:
> On 2020-06-17, Lévai, Dániel wrote:
>
>> I'm trying to run a script whenever I get a new IP address from my ISP over
>> pppoe0. They disconnect me occasionally and the router reconnects then, eg.:
>> /bsd: pppoe: GENERIC ERROR: RP-PPPoE: Child pppd pr
I am in a similar situation (pppoe sessions restarts, although my IP addresses
do not change), and I needed to re-add the default IPv6 route after completion
of IPv6CP. Note that there are several layers involved (link, IPv4, IPv6), I
would guess that for pppoe "link is up" would mean LCP succeede
On 2020-06-17, Lévai, Dániel wrote:
> I'm trying to run a script whenever I get a new IP address from my ISP over
> pppoe0. They disconnect me occasionally and the router reconnects then, eg.:
> /bsd: pppoe: GENERIC ERROR: RP-PPPoE: Child pppd process terminated
> /bsd: pppoe0: received unexpect
Hi misc@!
I'm trying to run a script whenever I get a new IP address from my ISP over
pppoe0. They disconnect me occasionally and the router reconnects then, eg.:
/bsd: pppoe: GENERIC ERROR: RP-PPPoE: Child pppd process terminated
/bsd: pppoe0: received unexpected PADO
last message repeated 2 tim
5 matches
Mail list logo