From owner-freebsd-questions Mon Nov 3 17:20:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA20985 for questions-outgoing; Mon, 3 Nov 1997 17:20:35 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gabber.c2.net (gabber.c2.net [208.139.36.80]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA20978 for ; Mon, 3 Nov 1997 17:20:30 -0800 (PST) (envelope-from sameer@gabber.c2.net) Received: (from sameer@localhost) by gabber.c2.net (8.8.4/8.8.4) id RAA04938; Mon, 3 Nov 1997 17:19:28 -0800 (PST) From: sameer Message-Id: <199711040119.RAA04938@gabber.c2.net> Subject: Re: PPP over TCP In-Reply-To: <199711040117.BAA09060@awfulhak.demon.co.uk> from Brian Somers at "Nov 4, 97 01:17:04 am" To: brian@awfulhak.org (Brian Somers) Date: Mon, 3 Nov 1997 17:19:27 -0800 (PST) Cc: sameer@c2.net, brian@awfulhak.org, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL34 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hm. My apologies for being rude. It didn't work for me. I would connect on the port and I'd get nothing. Perhaps its because I neglected the set escape line in my config? I do like the benefit, however, of my own little program which I can modify so that the commandline argument to ppp -direct can be chosen by the PPP client. > > > > > > Man inetd. > > > > And I'm sure you've tried it Brian. It doesn't work with > > inetd, I tried that already. > > Indeed, it works for me. I have: > > /etc/services: > ppptcp 6669/tcp # Incoming ppp over tcp > > /etc/inetd.conf: > ppptcp stream tcp nowait root /usr/sbin/ppp ppp -direct tcp > > /etc/ppp/ppp.conf: > tcp: > set escape 0xff > set ifaddr 10.0.4.1 10.0.4.5/24 > > > -- > > Sameer Parekh Voice: 510-986-8770 > > President FAX: 510-986-8777 > > C2Net > > http://www.c2.net/ sameer@c2.net > > -- > Brian , , > > Don't _EVER_ lose your sense of humour.... > > -- Sameer Parekh Voice: 510-986-8770 President FAX: 510-986-8777 C2Net http://www.c2.net/ sameer@c2.net