*BSD News Article 18809


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!uunet!news!demon!awfulhak.demon.co.uk!awfulhak!brian
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Help with SLIP
Date: 21 Jul 93 23:23:57
Organization: None
Lines: 72
Message-ID: <BRIAN.93Jul21232357@awfulhak.demon.co.uk>
References: <1993Jul21.030137.27912@cronkite.ocis.temple.edu>
NNTP-Posting-Host: awfulhak.demon.co.uk
In-reply-to: lafollet@astro.ocis.temple.edu's message of 21 Jul 93 03:01:37 GMT

In article <1993Jul21.030137.27912@cronkite.ocis.temple.edu> lafollet@astro.ocis.temple.edu (Paul Lafollette) writes:

   I have 386BSD running on a machine in my office (call it
   my.office.temple.edu) and at my home (call it my.home.temple.edu).
   I want to set up a SLIP connection between them.  MAchine
   in the office has an ethernet connection.  Would someone please be
   kind enough to tell me in boring detail what I need to do?

   Keystroke by keystroke for each machine is probably the level of
   help I need... i've been messing with this for the past week
   and have gotten almost nowhere.  Thanks in advance.
   Paul

Ok, first of all:  I know the feeling - I suffered the same about 2 months
ago.

The idea is (overview) that you make a serial line connection to the host,
set the line discipline, and tell your router to use this interface as
your gateway.  You also should set the gateway up as a nameserver.

Sounds easy ? - well it is if you've done it before.

The _usual_ (is this true ?) way of doing this is as follows:

Both server and client must know eachothers inet addresses.  Set these
up in /etc/hosts with lines saying
	11.22.33.44 host.my.domain.name host
	11.22.33.55 client.my.domain.name client

where 11.22.33.?? is your inet number, and the following name is the
full machine name (and is followed by any number of aliases).

SERVER:
	Create a login - usually Sclientname - and run `sliplogin` as its
	shell.  I've looked at the docs for sliplogin, and it seems fairly
	straightforward.  I havn't actually set up a server.

CLIENT:
	Set up /etc/resolv.conf to say the following (for the nameserver)
		domain client.my.domain.name
		nameserver 11.22.33.55

	** traditional method **
	Log on to the server.  This is usually done via kermit or some
	such program.
	Exit the program (or backround it if your line wants to drop once
	the device is closed).
	Run `slattach /dev/comport` for whatever "comport" is.
	Run `ifconfig inet sl0 clientname servername netmask 0xffffff00`
	Run `route add default servername`.
	"servername" is your server and "clientname" is your client.
	It should now be possible to `ping host`

	** my method **
	Configure /etc/remote
	Configure /etc/host.dial
	Run `slip host`.

/etc/remote contains an extended `tip` entry.  /etc/host.dial contains a
login script (and is named in /etc/remote).

Oh yes, don't forget to have a line in your kernel config saying

pseudo-device sl 1

I uploaded the slip package a while ago (to several archives), but was
unaware (ok I'm stupid) of needing to notify the postmaster.  They've
probably all been removed now.

Hope this explains things - is this stuff in the FAQ yet ?
--
Brian <brian@awfulhak.demon.co.uk>