From 654ed8b2010f1e92c4295880a707383f77800673 Mon Sep 17 00:00:00 2001 From: Ignat Loskutov Date: Sat, 25 May 2024 17:31:29 +0200 Subject: [PATCH] Add the 'debug' cmdline parameter to pppd unconditionally To detect whether the connection has been established, the code relies on 'ip-up finished' being in pppd output, which it only outputs when run in debug mode: https://github.com/ppp-project/ppp/blob/04e6b8dde02a25d765cca3ff5e7ba03887346c6f/pppd/main.c#L2038 --- pppd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pppd.py b/pppd.py index 5a9d8e8..01cd34c 100644 --- a/pppd.py +++ b/pppd.py @@ -75,6 +75,7 @@ def __init__(self, *args, **kwargs): commands.append(v) commands.extend(args) commands.append('nodetach') + commands.append('debug') self.proc = Popen(commands, stdout=PIPE,