diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-25 21:56:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-25 21:56:51 +0000 |
commit | e7a29622a732352b143b175a973f57fbbdcda139 (patch) | |
tree | ab742f338498ec135027cbfd4c449b70fb4d4929 /perl-install/network | |
parent | 990ab9778143b3b031fa82e8115dacf8722a99cc (diff) | |
download | drakx-e7a29622a732352b143b175a973f57fbbdcda139.tar drakx-e7a29622a732352b143b175a973f57fbbdcda139.tar.gz drakx-e7a29622a732352b143b175a973f57fbbdcda139.tar.bz2 drakx-e7a29622a732352b143b175a973f57fbbdcda139.tar.xz drakx-e7a29622a732352b143b175a973f57fbbdcda139.zip |
modem connection: default to pap/chap authentification method (should work for
most people)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index f132883c9..2906cb93a 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -425,6 +425,7 @@ killall pppd $modem ||= $netcnx->{$netcnx->{type}}; $modem->{device} ||= $first_modem->()->{device}; my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc"); + $l{Authentication} = 4 if !exists $l{Authentication}; $modem->{auth} ||= { 0 => N("Script-based"), 1 => N("PAP"), 2 => N("Terminal-based"), 3 => N("CHAP"), 4 => N("PAP/CHAP") }->{$l{Authentication}}; $modem->{$_} ||= $l{$_} foreach qw(Gateway IPAddr SubnetMask); $modem->{connection} ||= $l{Name}; |