*BSD News Article 59899


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.uoregon.edu!news.bc.net!news.mindlink.net!uniserve!usenet
From: tim@gfmurray.com (Tim Baird)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Getting slip to run
Date: 18 Jan 1996 05:23:15 GMT
Organization: G.F.Murray Company
Lines: 39
Distribution: world
Message-ID: <4dklg3$pnq@atlas.uniserve.com>
References: <jgor-1501961011150001@user52.lightside.com>
NNTP-Posting-Host: client3.gfmurray.com
X-Newsreader: WinVN 0.92.6+

In article <jgor-1501961011150001@user52.lightside.com>, jgor@veldt.com (James Gorham) says:
>
>We just installed FreeBSD over temporary ethernet last night. now we would
>like to be able to use it on SLIP. We are having some problems however
>getting it to work. I thought that it was installed with FreeBSD. Anyway,
>we're trying to dial into an ISP, with a modem on com4, at 14.4. We have
>2.1.0 freebsd. We'd really like any help.
>James/Dan
>
>-- 
>(=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=---=-=-=-=-=-=-=-=)
> )End ___  The) James    jgor@veldt.com      Gorham (   Drug War   (
>(    (o o)   (       http://veldt.com/~jgor/         )     ///      )
>+-ooO-(_)-Ooo-+=-=-=-=-=-[CASHP 9-95]=-=-=-=-=-=-=-=+-ooo-(~J~)-oOo-+

1) Ensure that your serial device (sl0 or sl1 etc.) has been set to an appropriate
IP address (assuming that your ISP offers a fixed address for you) with 'ifconfig'

2) Use cu with the appropriate serial device
   ie.  cu -s 57600 -l /dev/cuaa0 
if you are using sl0

3) enter atdt (ISP PH#) and your modem will dial

4) once you have logged in etc. and your ISP connection has gone into
slip mode, type ~z and cu will be suspended

5) run slattach for the serial device in question
ie. slattach -c -h -s 57600 /dev/cuaa0

and you are attached....

If you have an IP address that is dynamic (your ISP throws a different IP
address at you each time you call in) you will need to capture it with a 
dial/redial script and do a ifconfig on the fly.....the script will have to 
do you log in and password entry as well....I have a working script that does some
of this stuff...its pretty easy actually....

If you want it, just email me a request....