Date: Thu, 17 Feb 2000 18:27:15 +0700 From: "Vladimir N. Kovalev" <smith@scn.ru> To: freebsd-questions@FreeBSD.ORG Subject: user ppp and pppd can't establish link with deflate Message-ID: <38ABDB12.A3311A3B@scn.ru>
index | next in thread | raw e-mail
Hello !
I have a fresh FreeBSD 3.4-STABLE #0: server with user level ppp.
/etc/ppp.conf looks like
ondemand:
allow modes auto
set phone nnnnnn
set reconnect 3 20
set login
set authname newman
set authkey ******
set timeout 120
set ifaddr nnn.nnn.nnn.nnn/0 kkk.kkk.kkk.kkk/0 255.255.255.0 0.0.0.0
add default HISADDR
# disable deflate
enable deflate24
# set deflate 15 15
nat enable yes
nat same_ports yes
nat use_sockets yes
And old FreeBSD 2.2.8-STABLE #0: server with pppd 2.3.10
/etc/options :
debug
crtscts
modem
lock
deflate 15
predictor1
-bsdcomp
auth
require-chap
require-pap
name server
netmask 255.255.255.252
lcp-echo-interval 90
lcp-echo-failure 2
New server establish connection with old server, but deflate compression
turned off. I check it by pppstats -w 1 -r pppN on my old server.
In the log file I find out such messages
Feb 17 17:52:05 new ppp[777]: tun0: CCP: DEFLATE[4] win 15
Feb 17 17:52:05 new ppp[777]: tun0: CCP: MAGNALINK/DEFLATE[4] win 15
Feb 17 17:52:05 new ppp[777]: tun0: CCP: deflink: SendConfigRej(1) state = A
Feb 17 17:52:05 new ppp[777]: tun0: CCP: MAGNALINK/DEFLATE[4] win 15
Feb 17 17:52:39 new ppp[777]: tun0: Phase: deflink: HDLC errors -> FCS:
1,ADDR: COMD: 0, PROTO: 0
and
Feb 17 17:46:19 old pppd[26165]: rcvd [CCP ConfRej id=0x1 <deflate(old#)
15>]
Feb 17 17:46:19 old pppd[26165]: Received bad configure-nak/rej: 18 04 78
00
Feb 17 17:46:22 old pppd[26165]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate
(old#)
15>]
Feb 17 17:46:22 old pppd[26165]: rcvd [CCP ConfRej id=0x1 <deflate(old#)
15>]
Feb 17 17:46:22 old pppd[26165]: Received bad configure-nak/rej: 18 04 78
00
Feb 17 17:46:25 old pppd[26165]: CCP: timeout sending Config-Requests
So, why deflate compression does not work ?
With best regards
Vladimir N. Kovalev
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38ABDB12.A3311A3B>
