From 17219dfded347f83696507be025d57d5f4324992 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Mar 2004 10:03:31 +0000 Subject: fix bewan support by providing an ad-how /etc/ppp/options --- perl-install/network/adsl.pm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 7ac635580..708dcd0e5 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -198,6 +198,31 @@ lcp-echo-interval 0) ); $in->do_pkgs->install(@{$packages{$adsl_type}}) if !$>; output("$::prefix/etc/ppp/options", + $adsl_device eq "bewan" ? + qq(lock +ipparam ppp0 +noipdefault +noauth +default-asyncmap +defaultroute +hide-password +noaccomp +noccp +nobsdcomp +nodeflate +nopcomp +novj novjccomp +lcp-echo-interval 20 +lcp-echo-failure 3 +mtu 1200 +mru 1200 +sync +persist +user $adsl->{login} +name $adsl->{login} +usepeerdns +) + : qq(lock noipdefault persist -- cgit v1.2.1