*BSD News Article 91769


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: TCP/IP connection overi serial line
Date: 23 Mar 1997 21:13:58 GMT
Organization: Private BSD site, Dresden
Lines: 32
Message-ID: <5h46em$ii7@uriah.heep.sax.de>
References: <5gtcck$r0i@silas.cc.monash.edu.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37641

dhenshaw@silas.cc.monash.edu.au (Mr David Henshaw) wrote:

> So what I need to do is establish a TCP/IP link between the Win 95
> box and the FreeBSD box.  Initially I'd like to do this over a
> serial link...

> Can I simply run getty on a serial port and rather than spawn (is
> that correct ?) a login process run the ppp daemon on the serial
> line ?

That's the usual way.  If your machine is reachable from outside
(modem, Internet), you should however insist on PAP or CHAP
authentication for that link.

> Am I right in assuming the ppp daemon can dynamically assign an IP
> address to the Win 95 box ?

It can assign an address, yes.  What do you imagine with
`dynamically'?  No, it doesn't invent IP addresses itself yet. :-)

However, i have written shellscript wrappers that for example pick an
IP address based on the tty line of the caller (for a modem pool).
Also, with PAP or CHAP, you can configure different IP addresses for
each caller.  (I just noticed that it can also handle an options.<tty>
file, so i wouldn't even have needed the shellscript wrapper.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)