summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-19 17:50:48 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-19 17:50:48 +0000
commit4450d40b9e97efc1e51faac873969c01bba3cd0f (patch)
treeedcf9d205cbb030f367e5fc1a656356890c7f6d9 /perl-install
parent4dd83a6702936c11becfbea813251fdfb4bb3fc6 (diff)
downloaddrakx-4450d40b9e97efc1e51faac873969c01bba3cd0f.tar
drakx-4450d40b9e97efc1e51faac873969c01bba3cd0f.tar.gz
drakx-4450d40b9e97efc1e51faac873969c01bba3cd0f.tar.bz2
drakx-4450d40b9e97efc1e51faac873969c01bba3cd0f.tar.xz
drakx-4450d40b9e97efc1e51faac873969c01bba3cd0f.zip
restart ethernet interface for pppoe connections
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 91bf05bce..b87938e7a 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1330,6 +1330,11 @@ It is not necessary on most networks."),
# local $::isWizard = 0;
my $_w = $in->wait_message('', N("Testing your connection..."), 1);
network::tools::stop_net_interface($net, 0);
+ if (exists $net->{adsl}{ethernet_device}) {
+ network::tools::stop_interface($net->{adsl}{ethernet_device}, 0);
+ sleep 1;
+ network::tools::start_interface($net->{adsl}{ethernet_device}, 0);
+ }
sleep 1;
network::tools::start_net_interface($net, 1);
my $s = 30;