summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/isdn.pm2
-rw-r--r--lib/network/connection/ppp.pm2
-rw-r--r--lib/network/connection/xdsl.pm2
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/network/connection/isdn.pm b/lib/network/connection/isdn.pm
index e26d15c..1b8debc 100644
--- a/lib/network/connection/isdn.pm
+++ b/lib/network/connection/isdn.pm
@@ -15,6 +15,8 @@ sub get_devices {
}
sub get_metric { 30 }
+sub get_up_timeout { 20 }
+
use network::connection::isdn::consts;
use modules;
use run_program;
diff --git a/lib/network/connection/ppp.pm b/lib/network/connection/ppp.pm
index 459f6cc..37fabb3 100644
--- a/lib/network/connection/ppp.pm
+++ b/lib/network/connection/ppp.pm
@@ -56,6 +56,8 @@ sub get_options {
sub get_tty_device { "/dev/modem" }
+sub get_up_timeout { 20 }
+
sub build_ifcfg_settings {
my ($self) = @_;
my $modemport = $self->get_tty_device;
diff --git a/lib/network/connection/xdsl.pm b/lib/network/connection/xdsl.pm
index 4352be7..e55dd24 100644
--- a/lib/network/connection/xdsl.pm
+++ b/lib/network/connection/xdsl.pm
@@ -24,6 +24,8 @@ sub get_devices() {
sub get_metric { 25 }
sub get_interface() { "ppp0" }
+sub get_up_timeout { 20 }
+
my @non_ppp_protocols = qw(static dhcp);
sub uses_ppp {
my ($self) = @_;