From owner-freebsd-isp Wed May 23 0:29:53 2001 Delivered-To: freebsd-isp@freebsd.org Received: from icon.bg (icon.bg [62.176.80.58]) by hub.freebsd.org (Postfix) with SMTP id F2C7337B42C for ; Wed, 23 May 2001 00:29:42 -0700 (PDT) (envelope-from v0rbiz@icon.bg) Received: (qmail 29444 invoked by uid 1144); 23 May 2001 07:35:26 -0000 Date: Wed, 23 May 2001 10:35:26 +0300 From: Victor Ivanov To: Andrew Karjagin Cc: freebsd-isp@freebsd.org Subject: Re: leased line with pppd Message-ID: <20010523103526.A29336@icon.icon.bg> References: <20010523063516.24836.qmail@grif0.newmail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010523063516.24836.qmail@grif0.newmail.ru>; from Andrew.Karjagin@newmail.ru on Wed, May 23, 2001 at 10:35:16AM +0400 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 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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)=20 > by leased telephone line with leased modems M-160 without=20 > HARD control (www.zelax.ru). Modems connected to serial=20 > ports of servers and they work well and tested. Computers=20 > connect to modems well too. But when I start pppd - it=20 > doesn"t make a connection. I am using following options for=20 > pppd: >=20 > FreeBSD server: debug noauth persist nodetach lock=20 > 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=20 > nobsdcomp nodeflate local >=20 > In pppd.log file I see that servers send and receive LCP=20 > packets with magic number, but then they show a=20 > 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=20 > info about it? Umm, probably in the handbook? --=20 Players win and winners play Have a lucky day --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1i iQCVAwUBOwtoOfD9M5lef5W3AQEeNAP7BSGs//bSosAsV+b3gOuSFNnulc6uDH46 nV3/0AKGp9uKg/0ZE5aG7OvZk1udUpyx5pKUYtEFo5fU+hKqju6viG+W3bbjY/EW qsi64Ar9/EjKjEfNds78RZekmY1mtEoiLDiCHC5Gw/SGmT81z/w5gXNO/vMOyXEo CssOvxfeO1g= =UiDt -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message