pppd pty equivilent in FBSD
Nikos Vassiliadis
nvass at teledome.gr
Tue May 24 00:06:40 PDT 2005
On Tuesday 24 May 2005 03:57, Rob Zietlow wrote:
>Good day List,
>
>I have a question about pppd. We use ppp over ssh for a VPN solution into
>work. The script works on linux, but not in freebsd because the
>implementation of pppd that comes with freebsd does not recognize the pty
>command. When I attempt to connect up I get the following.
>
>testee# bash bin/vpn.init start
>Waiting for connection...
>Using interface ppp0
>/usr/sbin/pppd: In file /usr/home/rob/vpn/options.vpn: unrecognized option
>'pty'
>Connection Failed
>
>This appears to be the last piece of the puzzle for me in order to get this to
>work. So it leaves me to ask Is there an equivalent in Freebsd?
>
>From the pppd man page on a linux machine.
>
> pty script
> Specifies that the command script is to be used to communicate
>rather than a specific terminal device. Pppd will allocate itself a
>pseudo-tty master/slave pair and use the slave as its terminal device. The
>script will be run in a child process with the pseudo-tty master as
>its standard input and output. An explicit device name may not be
>given if this option is used. (Note: if the record option is used in
>conjuction with the pty option, the child process will have pipes on its
>standard input and output.)
>
>The fbsd pppd's man page doesn't list anything for pty, and a google doesn't
>turn up much.
There is a newer pppd in the ports tree (/usr/ports/net/pppd23) which supports
the pty option.
HTH
Nikos
>Thanks for your time.
>
>Rob
More information about the freebsd-net
mailing list