*BSD News Article 41405


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!newsxfer.itd.umich.edu!gatech!psuvax1!news.pop.psu.edu!hudson.lm.com!news.galt.com!littlegrass.se.cs.cmu.edu!alex
From: alex@pc.cc.cmu.edu (alex wetmore)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [C]SLIP/PPP automatically?
Date: 23 Jan 1995 02:28:47 GMT
Organization: Phred Networking
Lines: 26
Message-ID: <3fv48v$nhe@dagny.galt.com>
References: <3fuoon$4ur@dhp.com>
NNTP-Posting-Host: phred.ws.cc.cmu.edu
X-Newsreader: TIN [version 1.2 PL2]

CCRider (ccrider@dhp.com) wrote:
> Is there a package for FreeBSD 2.0 that mimics the Linux dip? Or is there
> another way to automatically dial my slipserver?
> Just curious.

Its fairly trivial to write scripts for kermit that dial into a SLIP server
and then log in and run slattach.  A number of people have posted theirs
to the NetBSD mailing lists in the last few days, so that might be a good
place to start.

You can do it with the included PPP software.  Here is my pppup script:
#!/bin/sh
pppd /dev/tty01 38400 connect 'chat -t 20 -f /usr/local/etc/chat-ppp' \
	crtscts defaultroute lock modem

And the /usr/local/etc/chat-ppp looks like:
'' AT&F2S11=50L0\n
OK ATDT<provider number>\n
ID: <userid>\n
password: <password>\n
annex: ppp\n

This is all from NetBSD, but I'm fairly sure that FreeBSD uses the same
ppp package (if not I'm sure someone will correct me).

alex