From owner-freebsd-questions@freebsd.org Mon Jul 6 09:36:51 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71C0D361064 for ; Mon, 6 Jul 2020 09:36:51 +0000 (UTC) (envelope-from SRS0=wW7S=AR=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0gSf0Pwnz3XRj for ; Mon, 6 Jul 2020 09:36:49 +0000 (UTC) (envelope-from SRS0=wW7S=AR=perdition.city=julien@bebif.be) Received: from x1 (unknown [77.109.77.76]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id E56BD1D4FC26 for ; Mon, 6 Jul 2020 11:36:42 +0200 (CEST) Date: Mon, 6 Jul 2020 11:36:39 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: mpd5 link up Message-ID: <20200706093639.64kx6wehespfqgnt@x1> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 4B0gSf0Pwnz3XRj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=wW7S=AR=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=wW7S=AR=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-1.65 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.663]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.90)[-0.897]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.69)[-0.688]; DMARC_NA(0.00)[perdition.city]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=wW7S=AR=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=wW7S=AR=perdition.city=julien@bebif.be]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2020 09:36:51 -0000 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 -- 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.