From 4a2ca6b3c483bc930880f2b03be96f5d77e6d672 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 Sep 2004 02:19:16 +0000 Subject: use fctStartAdsl for eagle-usb in dhcp/static modes --- perl-install/network/netconnect.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 95b9285f9..90aec99fe 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -767,8 +767,9 @@ If you don't know, choose 'use PPPoE'"), $find_lan_module->(); $ethntf->{MII_NOT_SUPPORTED} ||= $is_hotplug_blacklisted->(); if ($ntf_name eq "sagem") { - #- FIXME: duplicated with %modems from adsl.pm - $ethntf = $intf->{$ntf_name} = { DEVICE => "`/usr/sbin/eaglectrl -i`", MII_NOT_SUPPORTED => "yes" }; + #- "fctStartAdsl -i" links ifcfg-ethX to ifcfg-sagem and echoes ethX + #- it auto-detects dhcp/static modes thanks to encapsulation setting + $ethntf = $intf->{$ntf_name} = { DEVICE => "`/usr/sbin/fctStartAdsl -i`", MII_NOT_SUPPORTED => "yes" }; network::adsl::sagem_set_parameters($netc); #- FIXME: should be delayed } # process static/dhcp ethernet devices: -- cgit v1.2.1