From owner-freebsd-isp Wed May 23 1:32:29 2001 Delivered-To: freebsd-isp@freebsd.org Received: from grif0.newmail.ru (grif0.newmail.ru [212.48.140.145]) by hub.freebsd.org (Postfix) with SMTP id 0E74137B42C for ; Wed, 23 May 2001 01:32:25 -0700 (PDT) (envelope-from Andrew.Karjagin@newmail.ru) Received: (qmail 14421 invoked by alias); 23 May 2001 08:32:20 -0000 Message-ID: <20010523083220.14420.qmail@grif0.newmail.ru> From: "Andrew Karjagin" To: v0rbiz@icon.bg Cc: freebsd-isp@freebsd.org Reply-To: Subject: Re: Re: leased line with pppd Date: Wed, 23 May 2001 12:32:20 +0400 MIME-Version: 1.0 X-UID: 8-21688 X-Originating-IP: [212.42.53.200] Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yes, M-160 is a null modem and so I am using "local" parameter. M-160 doesn"t understand any AT commands and has no hardware control (nocrtscts). Speed I set to 115200. What does it mean from pppd.log about LCP ("LCP config- requiest timeout")? > On Wed, May 23, 2001 at 10:35:16AM +0400, Andrew Karjagin wrote: > > Hello! > > I want to connect two Unix servers (FreeBSD 4.2 and Linux) > > by leased telephone line with leased modems M-160 without > > HARD control (www.zelax.ru). Modems connected to serial > > ports of servers and they work well and tested. Computers > > connect to modems well too. But when I start pppd - it > > doesn"t make a connection. I am using following options for > > pppd: > > > > FreeBSD server: debug noauth persist nodetach lock > > nocrtscts nobsdcomp nodeflate local passive > > In file options.cuaa1: > > x.x.x.x:y.y.y.y > > netmask 255.255.255.252 > "local"? Isn"t that supposed to be for null-modem cables? > I think you should use "modem" here. According to pppd (8), > local ignores CD and does not change DTR which is very bad > unless you set your modem to always enable DTR (which is > bad choice also). Ignoring CD is not good. You need then > to synchronize the pppd"s with the chat script or something. > You"d better enable CD and wait for "CONNECT". > > Also specifying the speed would be nice. The default could > be 9600, and probably you don"t want it. If you can > configure the modems to keep the same terminal speed if you > want. Then set it to 57600 or something (the maximum value) > and everything would be fine. > > > Linux client: noauth persist nodetach lock nocrtscts > > nobsdcomp nodeflate local > > > > In pppd.log file I see that servers send and receive LCP > > packets with magic number, but then they show a > > message "LCP config-requiest timeout" and stop there trying. > If the modems connect, probably they don"t connect to the > same speed if it is locked in the modem setup. Mose modems > remember it when you save settings to nvram... > > > May be anybody do it? What I do wrong? Where can I get an > > info about it? > Umm, probably in the handbook? > > -- > Players win and winners play > Have a lucky day > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message