ppp(8) Over Dedicated Serial Link

Crist J. Clark cristclark at comcast.net
Fri Apr 20 06:34:42 UTC 2007


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 at alum.mit.edu


More information about the freebsd-questions mailing list