From owner-freebsd-questions Thu Feb 17 3:30:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from keep.scn.ru (keep.scn.ru [195.151.16.41]) by hub.freebsd.org (Postfix) with ESMTP id B0AC437B6EB for ; Thu, 17 Feb 2000 03:30:41 -0800 (PST) (envelope-from smith@scn.ru) Received: from scn.ru (quick.scnet.ru [195.239.174.3]) by keep.scn.ru (8.9.3/8.9.3) with ESMTP id SAA34426 for ; Thu, 17 Feb 2000 18:30:37 +0700 (KRAT) Message-ID: <38ABDB12.A3311A3B@scn.ru> Date: Thu, 17 Feb 2000 18:27:15 +0700 From: "Vladimir N. Kovalev" Organization: Sibchallenge Corp. X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: user ppp and pppd can't establish link with deflate Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ] 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 ] Feb 17 17:46:22 old pppd[26165]: rcvd [CCP ConfRej id=0x1 ] 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