*BSD News Article 58271


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!handbag.tecc.co.uk!parody.tecc.co.uk!not-for-mail
From: james@parody.tecc.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SLIP
Date: 27 Dec 1995 23:13:38 -0000
Organization: A FreeBSD box
Lines: 34
Message-ID: <4bsjv2$14d@parody.tecc.co.uk>
References: <4bs789$60c@clarknet.clark.net>
NNTP-Posting-Host: localhost

In article <4bs789$60c@clarknet.clark.net>,
Todd B. Blake <tblake@clark.net> wrote:
>I've run around my new FreeBSD system and found startslip for initiating 
>SLIP connections.  I've looked at the man pages, and for all I can find 
>it does have no scripting feature, just a password and username command 
>line paramater.  THis of course causes me proboems because there is a 
>little more that I have to enter besides just a username and password for 
>my ISP to get the SLIP server running.  IS there any sort of scripting 
>tool I can use in conjunction with startslip, or does startslip have 
>something like that?

What I used to do when I used SLIP was to use kermit to dial up and login
(it's in the ports collection). When the login was complete, the kermit 
script used the "suspend" command to put kermit in the background and
called slattach as a shell escape to complete the connection. Something
like this, if memory serves me correctly:-

; Dial up and negotiate login first

echo Login completed, establishing SLIP connection
! slattach -a -h -s 57600 /dev/cuaa0
suspend
quit

And then when you've finished, kill slattach and type "fg" to wake kermit
up. It will then read the "quit" command from the script and finish.

Basically it was rather an unholy combination of the PPP and SLIP methods
described in section 11.2 of the Handbook. I now use PPP with chat, which
is much simpler.

James
-- 
Segmentation fault (core dumped): cannot find file '.signature'