*BSD News Article 46665


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!udel!gatech!howland.reston.ans.net!xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,lists.freebsd-questions
Subject: Re: Help: more than 2 com ports
Date: 10 Jul 1995 10:25:25 +0200
Organization: Private U**x site, Dresden.
Lines: 36
Message-ID: <3tqo5l$c3i@bonnie.tcd-dresden.de>
References: <3tnab5$h54@tpone.telepac.pt> <3tnion$fsf@toads.pgh.pa.us>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

James C. Durham <durham@w2xo.pgh.pa.us> wrote:
>Tiago Rodrigues Antao (tra@telepac.pt) wrote:

>:   I've decided to change from Linux to FreeBSD 2.0.5. Although I've
>: recompiled Linux hundreds of times, its the first time I've compiled
>: FreeBSD kernel. I've a problem: I can't get the kernel to recognise my
>: modem on com3 - /dev/cua2 on Linux - /dev/cuaa3 on FreeBSD (I think),
                                        /dev/cuaa2

>:   Meanwhile, is there any difference (in practical terms) beetwen PPP
>: on kernel and tunneling(tun)? What's the difference beetwen pppd and
>: ppp? 

>I'm not sure about the kernel PPP, but ppp is the client end and pppd
>is the server daemon, I believe, although I don't use PPP here.

Wrong.  pppd is the kernel-mode PPP implementation, using the ppp
network driver interface (which is no longer configured in the GENERIC
kernel).  ppp is the user-mode PPP implementation (iijppp), using the
tunnel device (tun).  The kernel-mode PPP could in theory perform
better than the user-level one, since it doesn't require context
switches in order to work.  Practically, this is not even true (at
least unless you're running multiple PPPs).  The user-level PPP has a
bunch of more features, like demand-dialing, a built-in terminal
emulator to log in at your provider by hand etc.  That's why Jordan
switched to user-mode PPP for the installation procedure.  All setup
can be done interactively, while you have to maintain some
configuration files for pppd.

Note that iijppp is still under development.  Expect some more
features to appear soon.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)