*BSD News Article 46689


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!Germany.EU.net!EU.net!news.sprintlink.net!demon!not-for-mail
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pppd in FreeBSD 2.0.5
Date: Wed, 12 Jul 1995 07:47:44 GMT
Lines: 26
Message-ID: <805535264.18386@pencotts.demon.co.uk>
References: <3td49p$4qn@crchh327.rich.bnr.ca> <3tg7rt$k50@bonnie.tcd-dresden.de> <3ts8te$39d@rancid.coverform.net>
NNTP-Posting-Host: pencotts.demon.co.uk
X-NNTP-Posting-Host: pencotts.demon.co.uk
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
X-URL: news:3ts8te$39d@rancid.coverform.net
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

brian@rancid.coverform.net (Brian Somers) wrote:
>I know I'm missing something, but what is 'iijppp' ?
>Everyone talks about it as if 'iijppp' is a program that talks over a 'tun'
>interface in the same way that pppd talks over a ppp interface and slattach
>talks over an sl interface.  I can configure tun and see it with netstat -r
>and ifconfig -a, but can I find iijppp ?

Try /usr/sbin/ppp and the ppp(8) manpage


>Assuming I can find this, is the program capable of talking to a pppd
>"other-end" ?

It talks exactly the same protocol.  Difference is that all of it is
implemented as a user-mode program ('tun' device is just a mechanism to get
packets out of the kernel into a user-mode program) wheras pppd just manages
the call set-up for the kernel-based ppp device.

Kernel ppp/pppd is theoretically of higher performance, but this is barely
noticable on normal configurations, and the iijppp offers many more useful
features (like dial-on-demand, plus the 'term' mode for dialling by hand then
automagically launching into the protocol once you've finished the connect
dialogue).  Also, as a user-mode program, it is more convenient for hacking in
your own special-purpose features than it would be to hack the kernel ppp.