Date: Fri, 06 Nov 2020 18:17:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250908] /etc/rc.d/ppp profile support incomplete Message-ID: <bug-250908-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250908 Bug ID: 250908 Summary: /etc/rc.d/ppp profile support incomplete Product: Base System Version: 12.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: thomas@gibfest.dk Hello, I've been trying to use the multi profile support in /etc/rc.d/ppp but it doesn't work very well. It can start and stop multiple ppp profiles all at the same time, so that part works. What doesn't work is: 1) (re)starting a ppp profile if another one is already running. 2) Restarting all ppp profiles only works sometimes because of a missing pwait and sometimes ppp takes a few seconds to hangup and exit. I have the following in rc.conf: [tykling@container1 ~]$ grep ppp /etc/rc.conf ppp_enable="YES" ppp_profile="telmore_quectel telmore_huawei" ppp_telmore_quectel_mode="ddial" ppp_telmore_quectel_unit="0" ppp_telmore_huawei_mode="ddial" ppp_telmore_huawei_unit="1" [tykling@container1 ~]$ After boot both profiles are running well: [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 83309 92053. I can stop a profile: [tykling@container1 ~]$ sudo service ppp stop telmore_huawei Stopping PPP profile: telmore_huawei. [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 83309. But not start it again: [tykling@container1 ~]$ sudo service ppp start telmore_huawei ppp already running? (pid=83309). If I stop the other one: [tykling@container1 ~]$ sudo service ppp stop telmore_quectel Stopping PPP profile: telmore_quectel. [tykling@container1 ~]$ sudo service ppp status ppp is not running. I can start one of them again: [tykling@container1 ~]$ sudo service ppp start telmore_quectel Starting PPP profile: telmore_quectel . But not the other one: [tykling@container1 ~]$ sudo service ppp start telmore_huawei ppp already running? (pid=69181). [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 69181. [tykling@container1 ~]$ I think the profile support needs some love. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250908-227>
