*BSD News Article 85702


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!portc01.blue.aol.com!news-peer.gsl.net!news.gsl.net!news.sprintlink.net!news-peer.sprintlink.net!newsfeed.internetmci.com!news.cloud9.net!news.porcupine.org!news.porcupine.org!not-for-mail
From: wietse@spike.porcupine.org (Wietse Venema)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Dial Out w/ ppp on BSD/OS 2.1
Date: 24 Dec 1996 15:48:33 -0500
Organization: Wietse's hangout while on sabattical in the USA
Lines: 42
Message-ID: <59pfj1$88n@spike.porcupine.org>
References: <01bbefe1$adf1b6c0$629ad4cf@support10.s-cc.com>
NNTP-Posting-Host: spike.porcupine.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5495

"John Prochaska" <john@s-cc.com> writes:

>I'm using BSD/OS 2.1 .  I'm trying to use dial out ppp to another sub net. 

I'm running BSD/OS 2.1 and have it hooked up 24/7 via ppp.

>I'm running
>on a Pentium 100 with an SMC ether card.  The modem connects fine, and runs
>ppp, but I can't even ping the ip address assigned to the ppp0 interface,

You do not tell if your ppp interface has the same IP address as
your ethernet interface. BSD/OS assumes they are the same. If the
addresses are different you need to add an if= entry to /etc/ppp.sys.
My entry is:

        :if=inet 168.100.189.1 168.100.1.152 netmask 255.255.255.255:\

>anything on the remote sub net.  If I haven't specified a default route to
>ppp0 before
>hand, a default route is added for the we0 interface, and the gateway for

When the rest of the world is at the other end of the ppp link,
don't set up a default route to the ethernet interface. In fact,
don't set up a default route at all. Instead, rely on the
/etc/netscripts/Dialout.* scripts to set up the default route for
you once the link is up.

When the rest of the world is reachable via ethernet, and there is
just a subnet at the other end of the ppp link, you need to run a
modified version of the /etc/netscripts/Dialout scripts to set up
a route to that remote subnet.

>Is anyone actually using BSD/OS 2.1 to successfully dial out using ppp? 

Yup, BSD/OS 2.1 and PPP. Works fine here, once I added

    stty cts_oflow rts_iflow < /dev/modem 

to the dialout.up script.  For some reason, h/w flow control is
not enabled by default.

	Wietse