failed to detect pppx interface (MAC OS)
Closed this issue · 3 comments
hrupprecht commented
With every dial in try command dies with
2020/04/29 08:40:32 Setting /etc/resolv.conf
2020/04/29 08:40:32 Setting routes on ppp7 interface
2020/04/29 08:40:32 Restoring original /etc/resolv.conf
2020/04/29 08:40:32 failed to detect ppp7 interface: not implemented
where pppx is counting up each try and is present in ifconfig afterwards
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1334
inet 10.98.136.150 --> 1.1.1.1 netmask 0xff000000
ppp1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.98.136.150 --> 1.1.1.1 netmask 0xff000000
ppp2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.16.90.11 --> 1.1.1.1 netmask 0xff000000
ppp3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.98.166.200 --> 1.1.1.1 netmask 0xff000000
ppp4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1334
inet 10.98.166.200 --> 1.1.1.1 netmask 0xff000000
ppp5: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.98.166.200 --> 1.1.1.1 netmask 0xff000000
ppp6: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.98.166.200 --> 1.1.1.1 netmask 0xff000000
ppp7: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1376
inet 10.98.199.101 --> 1.1.1.1 netmask 0xff000000
kayrus commented
@hrupprecht looks like netlink doesn't support LinkByName in macos. Can you find an alternative for this call? Do you have pppd processes running in background? In Linux if gof5 stops, it stops pppd and pppd removes the interface.
kayrus commented
@hrupprecht I added macos support. At least VPN works in FreeBSD. You can try the latest master.
kayrus commented
a version with macos support has been released