diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-18 10:03:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-18 10:03:31 +0000 |
commit | 17219dfded347f83696507be025d57d5f4324992 (patch) | |
tree | 31b24804d638b3acf271ea2bea923ccb1964b477 /perl-install/network | |
parent | 8a102d645ff6b49fd82aec58039842c42ad402f2 (diff) | |
download | drakx-17219dfded347f83696507be025d57d5f4324992.tar drakx-17219dfded347f83696507be025d57d5f4324992.tar.gz drakx-17219dfded347f83696507be025d57d5f4324992.tar.bz2 drakx-17219dfded347f83696507be025d57d5f4324992.tar.xz drakx-17219dfded347f83696507be025d57d5f4324992.zip |
fix bewan support by providing an ad-how /etc/ppp/options
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/adsl.pm | 25 |
1 files changed, 25 insertions, 0 deletions
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 |