Currently the scripts do not remove device ppp0 after running vpn_disconnect.sh or the VPN accidentally goes down.
After which sending "c connect" to l2tp-control will result in creation of new devices ppp* (ppp1, ppp2, so on).
The VPN will then fail as it uses outdated device ppp0.
Removing device ppp0 before start sending "c connect" to l2tp-control and at end of vpn_disconnect.sh solves the issues.
Currently the scripts do not remove device
ppp0
after runningvpn_disconnect.sh
or the VPN accidentally goes down. After which sending"c connect"
tol2tp-control
will result in creation of new devicesppp*
(ppp1
,ppp2
, so on). The VPN will then fail as it uses outdated deviceppp0
. Removing deviceppp0
before start sending"c connect"
tol2tp-control
and at end ofvpn_disconnect.sh
solves the issues.