diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-27 22:10:10 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-27 22:10:10 +0000 |
commit | af39557b0a31bf25a130d181fbc69d510b4416a4 (patch) | |
tree | 35ce9288b9ba8bd1adde99e5a43b9d5883d69b93 | |
parent | 0c05477402161629b48af5278c8fedfb53f4e882 (diff) | |
download | drakx-backup-do-not-use-af39557b0a31bf25a130d181fbc69d510b4416a4.tar drakx-backup-do-not-use-af39557b0a31bf25a130d181fbc69d510b4416a4.tar.gz drakx-backup-do-not-use-af39557b0a31bf25a130d181fbc69d510b4416a4.tar.bz2 drakx-backup-do-not-use-af39557b0a31bf25a130d181fbc69d510b4416a4.tar.xz drakx-backup-do-not-use-af39557b0a31bf25a130d181fbc69d510b4416a4.zip |
add sagem connection and disconnection script using /etc/ppp/peers/adsl file.
-rw-r--r-- | perl-install/network/adsl.pm | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 1fccc709f..a46f58878 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -140,12 +140,16 @@ defaultroute qq(noauth noipdefault pty "/usr/sbin/pppoa -I `/usr/sbin/adictrl -s; /usr/sbin/adictrl -i`" -sync +mru 1492 +mtu 1492 kdebug 1 -noaccomp +nobsdcomp +nodeflate +noaccomp -am nopcomp noccp novj +novjccomp holdoff 4 maxfail 25 persist @@ -235,6 +239,15 @@ LC_ALL=C LANG=C LANGUAGE=C LC_MESSAGES=C /usr/sbin/adsl-start $netc->{NET_DEVICE /usr/share/speedtouch/speedtouch.sh start ', '/usr/share/speedtouch/speedtouch.sh stop +', $netc->{adsltype}) } elsif ($adsl_type eq 'sagem') { + write_cnx_script($netc, 'adsl', +'/sbin/route del default +/usr/sbin/adictrl -s +INTERFACE=`/usr/sbin/adictrl -i` +/sbin/ifconfig $INTERFACE 192.168.60.30 netmask 255.255.255.0 up +/usr/sbin/pppd file /etc/ppp/peers/adsl +', +'/usr/sbin/stopadsl ', $netc->{adsltype}) } elsif ($adsl_type eq 'eci') { write_cnx_script($netc, 'adsl', '/sbin/route del default |