Date: Wed, 23 May 2001 12:32:20 +0400 From: "Andrew Karjagin" <Andrew.Karjagin@newmail.ru> To: v0rbiz@icon.bg Cc: freebsd-isp@freebsd.org Subject: Re: Re: leased line with pppd Message-ID: <20010523083220.14420.qmail@grif0.newmail.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010523083220.14420.qmail>
