Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 08:43:14 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   "service netif restart" doesn't restart ppp()
Message-ID:  <20170327084314.7fec3f70@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | raw e-mail | index | archive | help
I have palyed with a FreeBSD 12-CURRENT based router/firewall system and
realized, that the trias

service netif restart
service routing restart
service ipfw restart

(in any order) doesn't start/restart the ppp session properly, it doesn't even
restart ppp. tun0 is gone.

I had to manually restart ppp via

service ppp stop && sleep 2 && service ppp start

A simple 

service ppp restart 

fails, the rc script complains about a still running ppp/PID.

Stopping ppp, waiting a short time and restarting ppp works fine.

Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170327084314.7fec3f70>