From d1d258a9f00c81d1dfd7dbc94bb2cdab0482d155 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 14 Sep 2005 21:47:21 +0000 Subject: modprobe pppoatm for pppoa connections --- perl-install/network/adsl.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/network/adsl.pm') diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 4c0a62dd4..2c99c4224 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -92,7 +92,6 @@ sub adsl_conf_backend { bewan => { start => qq( -modprobe pppoatm # ActivationMode=1 modprobe $bewan_module # wait for the modem to be set up: @@ -321,6 +320,9 @@ user "$net->{adsl}{login}" #- useful during install, or in case the packages have been installed after the device has been plugged my @modules = (@{$modems{$adsl_device}{modules}}, map { $_->[1] } @{$modems{$adsl_device}{aliases}}); @modules or @modules = qw(ppp_synctty ppp_async ppp_generic n_hdlc); #- required for pppoe/pptp connections + #- pppoa connections need the pppoatm module + #- pppd should run "modprobe pppoatm", but it will fail during install + push @modules, 'pppoatm' if $adsl_type = 'pppoa'; @modules && eval { modules::load(@modules) } or log::l("failed to load " . join(',', @modules), " modules: $@"); $modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start}); -- cgit v1.2.1