*BSD News Article 76164


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!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pppd problems
Date: Wed, 14 Aug 1996 20:17:34 -0700
Organization: A poorly-installed InterNetNews site
Lines: 46
Message-ID: <321296CE.71A8@www.play-hookey.com>
References: <32116e1c.354846@news.vuw.ac.nz>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Richard Bain wrote:
> 
> I am having some troubles setting up pppd at home to connect to my
> internet provider, under FreeBSD 2.1.0R, with dynamic IP allocation
> 
> Here is my options file from /etc/ppp/options:
> 
> /dev/modem
> 38400
> connect "/usr/bin/chat -v -f /etc/ppp/sample.chat"
> crtscts
> defaultroute
> mru 296
> netmask 255.255.255.0
> noipdefault
> ipcp-accept-local
> ipcp-accept-remote
> [ log message snipped; indicated connection made; then dropped ]
> 
> I didn't think I had changed anything, and I am sure that my service
> provider hadn't either, but this is obviously not the case.
> 
> Does anyone have any idea what is wrong?
> 

I'm not entirely sure, but I'll try.

First, I think you need to say just 'modem' rather than /dev/modem. 
Second, you may be running into a problem with your 'connect' line. Mine 
is just:

connect /etc/ppp/dial-erols

without specifying any program. pppd calls up chat automatically to 
execute the specified chat script. This may be running you into a timing 
screw-up, in that a second instance of chat may shut down your modem in 
the effort to establish a connection, without realizing that the first 
instance has already done the job.

I don't know if this is it, but this is where I'd start to work on it.
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |