Source: ppp
Version: 2.4.7-1+4
Tags: patch
Hi,
ppp-udeb installs the following interfaces(5) snippet (unrelated lines skipped):
# PPPoE connection
auto provider
iface provider inet ppp
pre-up /sbin/ifconfig $IFACE up
provider provider
However, the net-tools package, which contains /sbin/ifconfig, is deprecated
since stretch
and is no longer installed by default [1], which leads to PPPoE interface
configuration failure.
The attached patch replaces ifconfig call with ip from iproute2.
[1]
https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#iproute2
--
Алексей ШилинFrom 6115dec9dac738cfe100c263823048e4caea6091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=A8=D0=B8?=
=?UTF-8?q?=D0=BB=D0=B8=D0=BD?= <[email protected]>
Date: Sat, 3 Feb 2018 15:27:11 +0300
Subject: [PATCH] Change /sbin/ifconfig call to /bin/ip from iproute2
ifconfig is no longer installed by default and is deprecated [1],
so ip command from iproute2 is used instead.
[1] https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#iproute2
---
debian/ppp-udeb.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/ppp-udeb.postinst b/debian/ppp-udeb.postinst
index adec540..11984a2 100644
--- a/debian/ppp-udeb.postinst
+++ b/debian/ppp-udeb.postinst
@@ -204,7 +204,7 @@ iface lo inet loopback
# PPPoE connection
auto provider
iface provider inet ppp
- pre-up /sbin/ifconfig $IFACE up
+ pre-up /bin/ip link set $IFACE up
provider provider
EOF
--
2.11.0