*BSD News Article 36605


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!decwrl!hookup!swrinde!gatech!howland.reston.ans.net!news.sprintlink.net!uunet!easix!jester!michael
From: michael@jester.GUN.de (Michael Gerhards)
Subject: Re: PPP with FreeBSSD 1.1.5.1
References: <364i4h$no6@Times.Stanford.EDU>
Organization: private FreeBSD system
Date: Mon, 26 Sep 1994 15:48:16 GMT
X-Newsreader: TIN [version 1.2 PL0]
Message-ID: <CwquKI.3Ms@jester.GUN.de>
Lines: 32

In article <364i4h$no6@Times.Stanford.EDU> , Yiu Pang wrote:
> Have anyone gotten PPP running? I just tried "pppd /dev/cua02 57600 crtscts" after logging
> on my host system and started PPP. pppd quitted after complaining that failure in ioctl call
> with option TIOCSETD is not supported with my modem device. I looked up ioctl.h and knew
> that TIOCSETD sets line discipline. Do know how to solve it?

I'm using ppp for about 4 weeks now and it works without problem.
Here are the needed files:

/etc/ppp/options
================

defaultroute crtscts netmask 255.255.255.0 noipdefault ipcp-accept-remote \
ipcp-accept-local -detach

/usr/sbin/pppstart
==================

#!/bin/sh
cd /usr/libexec
PATH=.:$PATH
pppd -ac -vj -d connect 'chat -v  -l LCK..cua01 -t 120 -v "" ATDP5555555 \
CONNECT "\d\d\d\r\n" "name>" "SYSTEM" "ord>" PASSWD'  /dev/cua01 38400 &


> BTW,I found that pppd does not support defaultroute option. Does it?

It does.

Michael
-- 
michael@jester.GUN.de # Michael Gerhards , Preussenstrasse 59 , D 41464 Neuss