]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
Tell pppd not to ask for IPv6 addresses during dial-up
authorPeter Müller <peter.mueller@ipfire.org>
Wed, 7 Jul 2021 19:49:35 +0000 (21:49 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Oct 2021 10:54:21 +0000 (10:54 +0000)
commit52764dbe7f6439045040ab35719953cf178063b9
treeef77a382287afcdc863f2b0e5a31104c740da3cf
parentaa45d923ebc396fdbe4a95db3d54457bd55fd20e
Tell pppd not to ask for IPv6 addresses during dial-up

pppd 2.4.9 supports IPv6 and asks for an IPv6 configuration by default.
Setting the received prefix in the kernel will never work, however, as
the rest of IPFire 2.x does not support IPv6.

pppd notices the ISP about this, and at least Otenet (GR) and British
Telecom (several countries) decide to close a dial-up connection then.
German DTAG seems to ignore such errors silently.

This patch adds an option to the pppd call to prevent asking for an
IPv6 configuration, hence avoiding this errors.

To apply this patch, it is necessary to ship ppp 2.4.9 again. Since I
have no access to a testing machine behind an ISP supporting IPv6, this
patch unfortunately is untested.

Fixes: #12651
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/networking/red