*BSD News Article 36955


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!EU.net!sun4nl!News.Simplex.NL!Simplex.NL!rob
From: rob@Simplex.NL (Rob Simons)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD] SLIP and PPP
Date: 14 Oct 1994 15:56:08 GMT
Organization: Simplex Networking Amsterdam, The Netherlands.
Lines: 63
Message-ID: <37m9nb$qg2@News.Simplex.NL>
References: <37k6lf$aak@nasim.cube.net>
NNTP-Posting-Host: simplex.nl
X-Newsreader: TIN [version 1.2 PL2]

Frank Bartels (knarf@nasim.cube.net) wrote:

[ stuff deleted ]

: - SLIP: sliplogin is included in the FreeBSD distribution, but
:   /etc/slip.login and /etc/slip.logout are missing. I copied them from
:   my sun, but the ifconfig command does not understand the link[012]
:   options and the route command does not understand this line:
Look in /usr/src/etc for slip.login, slip.logout and slip.hosts

:   route set $R $L mtu 552 pipesize 2048 rtt 5 || exit 2

There's some which isn't in the man, nor in the examples, I'll give you
what's in my files:

# slip.hosts
# login		local	remote		netmask		type
Smacbugs	simplex	macbugs		my-netmask	normal
Schepers	simplex	schepers	my-netmask	normal


#!/bin/sh -
#
#	@(#)slip.login	5.1 (Berkeley) 7/1/90

#
# generic login file for a slip line.  sliplogin invokes this with
# the parameters:
#      1        2         3        4          5         6     7-n
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
sbin/ifconfig sl$1 inet $4 $5 netmask $6
# The 00:00:00:00:00:00 should be the address of your ethernet card,
# look in the syslog what it says while booting if you're not sure
/usr/sbin/arp -s $5 00:00:00:00:00:00 pub
exit



#!/bin/sh -
#
#	@(#)slip.logout	5.1 (Berkeley) 7/1/90

#
# generic logout file for a slip line.  sliplogin invokes this with
# the parameters:
#      1        2         3        4          5         6     7-n
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/usr/sbin/arp -d $5
/sbin/route delete $5 $4
exit


Regards,

- Rob.
--
/*--------------------------------------------------------------*\
/*   Rob Simons                      |  rob@simplex.nl          *\
/*   ----------    |    -----------  |  rob@MacBugs.simplex.nl  *\
/*   Novell Netware System Operator  |  UNIX system operator    *\
/*--------------------------------------------------------------*\