*BSD News Article 41430


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!spool.mu.edu!agate!library.ucla.edu!csulb.edu!csus.edu!netcom.com!rcarter
From: rcarter@netcom.com (Russell Carter)
Subject: Re: [C]SLIP/PPP automatically?
Message-ID: <rcarterD2uK4L.J6p@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <3fuoon$4ur@dhp.com> <3fv48v$nhe@dagny.galt.com>
Date: Mon, 23 Jan 1995 07:14:45 GMT
Lines: 42

In article <3fv48v$nhe@dagny.galt.com>,
alex wetmore <alex@pc.cc.cmu.edu> wrote:
>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

Wading through this area myself, I discovered useful stuff for ppp in 
/usr/src/usr.bin/chat

root@geli:/usr/src/usr.bin/chat [72] ls
Example         chat.8          fix-cua         ppp-on
Makefile        chat.c          obj             unlock
README          connect-ppp     ppp-off

This is on a FreeBSD 2.0 Release system.  Also, http://www.trystero.com/rick/bsd/dialppp.html
is a start, though it's not working for me yet.

Russell