*BSD News Article 30942


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!ihnp4.ucsd.edu!swrinde!pipex!uknet!EU.net!goya!sanson!cdt94001
From: cdt94001@oasis.dit.upm.es (GARCIA VALDEARENAS)
Subject: Re: SLIP connection BSD1.1
Message-ID: <CqGtuI.Inw@dit.upm.es>
Sender: usenet@dit.upm.es (System Management uucp news)
Nntp-Posting-Host: lprog04
Organization: Dpto. Ingenieria de Sistemas Telematicos, UPM, Madrid, Spain
X-Newsreader: Tin 1.1 PL4
References: <rwhswhCq6yFp.Ey5@netcom.com>
Date: Fri, 27 May 1994 14:35:06 GMT
Lines: 20


You need two programs: slattach and ifconfig.

The sl device , like all devices, are installed in kernel.
You do not need any file for the driver.

To set up yor SLIP conexion use:

slattach -s baudrate ttyline

For example, for the com2 port:

slattach -s 9600 /dev/tty01

The tty line should be attached to sl0. If you want to check this run netstat -i.
Then configure your SLIP driver:

ifconfig sl0 inet <your_ip_address> <the_ip_address_you_are_connected_to> up

Enjoy.