Date: Mon, 6 Jul 2020 12:59:50 +0200 From: Julien Cigar <julien@perdition.city> To: Evilham <contact@evilham.com> Cc: freebsd-questions@freebsd.org Subject: Re: mpd5 link up Message-ID: <20200706105950.6qkk23ba2cgwv6w2@x1> In-Reply-To: <37ac95e3-8167-4f59-adb0-c87905825e28@yggdrasil.evilham.com> References: <20200706093639.64kx6wehespfqgnt@x1> <ed4e4dda-30f9-4701-9029-cd82f6bbb20a@yggdrasil.evilham.com> <37ac95e3-8167-4f59-adb0-c87905825e28@yggdrasil.evilham.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 06, 2020 at 12:28:13PM +0200, Evilham wrote: > On dl., jul. 06 2020, Evilham wrote: > > > On dl., jul. 06 2020, Julien Cigar wrote: > > > > > Hello, > > > > > > I switched from base ppp to mpd5 for my "home" router/firewall > > > (small > > > APU2C4) as ppp consumes a lot of CPU usage (100% CPU in fact) > > > and is > > > unable to use multiple cores for a single PPPOE connection. It > > > works > > > well but as I have a dynamic IP and a DYNDNS-like hostname I > > > don't see > > > any option in mpd5 to execute a script whenever the IP address > > > changes. > > > There is set "iface up-script xxx.sh" but it is called only when > > > the > > > interface changes it's state to UP (first connection). > > > > > > This is my configuration: > > > https://gist.github.com/silenius/0a40de647b48829fd76c5dec098188e3 > > > > > > Any idea if I missed something in the documentation? > > > Otherwise, is there a way to detect an address IP changes in > > > devd? > > > > > > Thanks! > > > > > > Julien > > > > Hi Julien, > > > > I actually recently did precisely that as well (also on an APU > > :-)). > > > > This is documented with the port in: > > /usr/local/share/doc/mpd5/mpd28.html > > > > Cheers, and enjoy the *much* better performance :-) > > > Crap, hit send too quickly, you already have that; sorry! > > I don't recall seeing something like that and my ISP provides static > addresses so didn't hit that issue. > > My approach when I used to have these issues was to have a cron job that > took care of that :-/. yes.. I wanted to avoid using cron for that but if there is no other way I'll use it. > -- > Evilham > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200706105950.6qkk23ba2cgwv6w2>