*BSD News Article 46279


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!bloom-beacon.mit.edu!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!usenet
From: Jon Jenkins <jenkinsj@ozy.dec.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: More slattach blues.
Date: 30 Jun 1995 21:18:17 GMT
Organization: Digital Equipment Corp
Lines: 44
Message-ID: <3t1pmp$i4d@nntpd.lkg.dec.com>
References: <3srs0d$dp0@Mars.mcs.com> <DAytu8.2K4@tarush.chattanooga.net>
NNTP-Posting-Host: ozyd13-p3.ozy.dec.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
To: tom@tarush.chattanooga.net
X-URL: news:DAytu8.2K4@tarush.chattanooga.net

The following works for me, i use kermit to dial
into and set up the terminal manually but
you can use scripts if you like.

$1 = the port extension
$2 = the mtu size
passed as command line parms to "start.slip"
I use 256 as the mtu size with no problems.


#flush dirty routes
route -q flush
#clean up any dirty interfaces
ifconfig sl0 delete
ifconfig sl1 delete
#set my host name according to the port I'm attached to
hostname ozyd13-p$1
#run slattach at 57600 with hw on /dev/ttyd1
slattach -a -s 57600 -h /dev/ttyd1
#configure the interfcae sl0 as inet, mtu, CSLIP and up
ifconfig sl0 inet ozyd13-p$1 mtu $2 compress up
#add the deafult route so geos here if cant find route
route add default ozyd13-p$1
#tell me what the if and route table looks like now
netstat -r
netstat -i
ifconfig sl0

-- 
----------------------------------------------------------------------
Name:        Dr Jon Jenkins
Location:    Digital Equipment Corp, NaC, 
             Burnett Place, Research Park, 
             Bond University, Gold Coast
             QLD, AUSTRALIA 4229
Phone:       61-75-75-0151
Fax:         61-75-75-0100
Internet:    jenkinsj@ozy.dec.com
Close Proximity: "HEY YOU !!!"

The opinions expressed above are entirely personal and do not
reflect the corporate policy of DEC or the opinions of DEC management.
-----------------------------------------------------------------------