Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 10:35:26 +0300
From:      Victor Ivanov <v0rbiz@icon.bg>
To:        Andrew Karjagin <Andrew.Karjagin@newmail.ru>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: leased line with pppd
Message-ID:  <20010523103526.A29336@icon.icon.bg>
In-Reply-To: <20010523063516.24836.qmail@grif0.newmail.ru>; from Andrew.Karjagin@newmail.ru on Wed, May 23, 2001 at 10:35:16AM %2B0400
References:  <20010523063516.24836.qmail@grif0.newmail.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010523103526.A29336>