Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 1997 17:19:27 -0800 (PST)
From:      sameer <sameer@c2.net>
To:        brian@awfulhak.org (Brian Somers)
Cc:        sameer@c2.net, brian@awfulhak.org, freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP over TCP
Message-ID:  <199711040119.RAA04938@gabber.c2.net>
In-Reply-To: <199711040117.BAA09060@awfulhak.demon.co.uk> from Brian Somers at "Nov 4, 97 01:17:04 am"

next in thread | previous in thread | raw e-mail | index | archive | help
	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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
>       <http://www.Awfulhak.org>;
> 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



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