*BSD News Article 24784


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:7347 comp.os.386bsd.misc:1694
Path: sserve!newshost.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!myall.awadi.com.au!myall!blymn
From: blymn@mallee.awadi.com.au (Brett Lymn)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Re: FreeBSD - please help me setup SLIP
Date: 10 Dec 1993 01:52:03 GMT
Organization: AWA Defence Industries
Lines: 71
Message-ID: <BLYMN.93Dec9195204@mallee.awadi.com.au>
References: <CHEE9M.3Kn@Colorado.EDU>
NNTP-Posting-Host: mallee.awadi.com.au
In-reply-to: ramzi@tigger.cs.colorado.edu's message of Thu, 2 Dec 1993 08:00:57 GMT

>>>>> On Thu, 2 Dec 1993 08:00:57 GMT, ramzi@tigger.cs.colorado.edu (Ramzi Al-Majid) said:

Ramzi> 	the following is what i did where the FAQ steps and comments
Ramzi> 	are preceded by '>>>' and the things i did are the rest.

Ramzi> 	i put the following lines in my /etc/hosts file, bahrain
Ramzi> 	is my box host name and netblazer is the school's slip server

Ramzi> 		128.138.243.113 netblazer.cs.colorado.edu netblazer
Ramzi> 		128.138.198.27 bahrain.cs.colorado.edu bahrain

A good start...

Ramzi> 		
Ramzi> 		domain bahrain.cs.colorado.edu
Ramzi> 		nameserver 128.138.198.27

This is not really necessary to get slip running.  You would need this
to resolve foreign addresses.  You can get by with putting the hosts
you want to talk to in your /etc/hosts file.

Ramzi> 		i logged in thru kermit successfully and then did
Ramzi> 		ctrl-\ Z to susspend the program

If you use kermit it is safe to actually quit it as kermit will not
drop the connection unlike tip.

>>>	  - Run `ifconfig inet sl0 clientname servername netmask 0xffffff00`

Ramzi> 		when i ran 
Ramzi> 			iconfig inet sl0 bahrain netblazer netmask 0xffffff00
Ramzi> 		i get an error saying 
Ramzi> 			!@@#$#%^&* ioctl !@#$%^&* no such interface

I think that there is a typo in the FAQ!!  That command should be:

iconfig sl0 bahrain netblazer netmask 0xffffff00

i.e. NO inet in there.

Ramzi> 			routed add default netblazer
Ramzi> 		i get an error that 'bind: .... addres is already ised'

'Coz the interface is not up...

Ramzi> 		ping is unsuccessful at this point

because the interface is not up...

Ramzi> 		
Ramzi> 		where is this kernel config file ?????????

in the source tree /sys/arch/i386/conf (or something like that...)

Ramzi> 		is it something that comes with the sources ???

Yup.

Ramzi> 		i only got the binary distribution.

Not sure about FreeBSD but I think the generic kernel should have the
slip driver configured in... they usually have everything.

Ramzi> 	what am i doing wrong ???

Try it without the inet in the ifconfig an see what happens, the
command tells ifconfig to up the inet network device which does not
exist in the kernel.

--
Brett Lymn