Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 23:27:18 -0700
From:      "Crist J. Clark" <cristclark@comcast.net>
To:        questions@freebsd.org
Subject:   ppp(8) Over Dedicated Serial Link
Message-ID:  <20070420062718.GA63396@goku.pumpky.net>

next in thread | raw e-mail | index | archive | help
Thought this would be easy. Probably is, but I'm missing
something.

I'm trying to get two FreeBSD boxes (5.5 and 6.2) to talk to
each other over a dedicated serial link with ppp(8). This, to
me, sounds exactly what "direct" and "dedicated" mode was
designed for.

On the PPP "client" I run,

	# ppp -dedicated hardwire

In ppp.conf,

	hardwire:
		set log Phase Chat LCP IPCP IPV6CP CCP tun command
		set speed 115200

On the PPP "server," I'm a little less confident. It sure sounds
like "direct" mode is what I want. Since that doesn't connect to
a device for me, I thought I'd use ttys(4) to do it,

	ttyd0	"/usr/sbin/ppp -direct"	network on secure

I don't think I want or need getty(8) since I'm not interested
in doing logins on this link. It's an always up serial line
between the hosts.

But it's not working. What's the right way to do this? Do I
actually need to go in and mess with the gettytab(4)? Why can't
the ppp(8) just talk directly to the other end?
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu



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