Re: pppd pty equivilent in FBSD

From: Nikos Vassiliadis (nvass_at_teledome.gr)
Date: 05/24/05

  • Next message: Josef Karthauser: "Re: iwi driver: Probes but no association (FreeBSD5.4)."
    To: freebsd-net@freebsd.org
    Date: Tue, 24 May 2005 10:05:36 +0300
    
    

    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
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Josef Karthauser: "Re: iwi driver: Probes but no association (FreeBSD5.4)."

    Relevant Pages

    • pppd pty equivilent in FBSD
      ... I have a question about pppd. ... but not in freebsd because the ... implementation of pppd that comes with freebsd does not recognize the pty ... From the pppd man page on a linux machine. ...
      (freebsd-net)
    • Re: pppd crashes, was: kde-freebsd] Question about KPPP on FreeBSD
      ... >> with FreeBSD and KPPP. ... You mean the FreeBSD-using KDE developer community, ... Well perhaps there's a pppd hacker who shares your conviction out there ...
      (freebsd-stable)
    • Re: Wanted: serial driver (RS232) emulation on LAN
      ... pppd will work with a pty. ... include tty drivers. ... include such a driver. ... I've never seen any Ethernetserial device that used a pty as ...
      (comp.os.linux.development.system)
    • FreeBSD Security Advisory FreeBSD-SA-02:32.pppd
      ... FreeBSD ships with several implementations of the Point-to-Point ... The pppd program is one of these implementations. ... in order to change the permissions of an arbitrary file. ...
      (FreeBSD-Security)
    • Re: getting newer version of pppd
      ... my connection still wont work. ... was tested on freebsd in addition to netbsd. ... >> to looks on ports to find pppd but could not find it. ... > If you're just wanting to get on the Internet, buying a router may be the better ...
      (comp.unix.bsd.freebsd.misc)