Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:7240 comp.os.386bsd.misc:1672 Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!europa.eng.gtefsd.com!uunet!boulder!ramzi From: ramzi@tigger.cs.colorado.edu (Ramzi Al-Majid) Subject: FreeBSD - please help me setup SLIP Message-ID: <CHEE9M.3Kn@Colorado.EDU> Sender: news@Colorado.EDU (USENET News System) Organization: University of Colorado, Boulder Date: Thu, 2 Dec 1993 08:00:57 GMT Lines: 132 hi i have been trying to follw the FAQ steps on how to setup slip but with no luck. the following is what i did where the FAQ steps and comments are preceded by '>>>' and the things i did are the rest. >>>7.1 SLIP >>> >>> Serial Line I/P is supported in all versions of Net/2 derived BSD. >>> >>> ... >>> >>> The _usual_ 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 i put the following lines in my /etc/hosts file, bahrain is my box host name and netblazer is the school's slip server 128.138.243.113 netblazer.cs.colorado.edu netblazer 128.138.198.27 bahrain.cs.colorado.edu bahrain >>> >>> 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 haven't actually set up a server. i already have a login on the netblazer for my host and is called Sbahrain >>> >>> CLIENT: >>> Set up /etc/resolv.conf to say the following (for the nameserver) >>> domain client.my.domain.name >>> nameserver 11.22.33.55 >>> i put the following lines in /etc/resolv.conf (which did not wxist before) domain bahrain.cs.colorado.edu nameserver 128.138.198.27 >>> ** 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). i logged in thru kermit successfully and then did ctrl-\ Z to susspend the program >>> - Run `slattach /dev/comport` for whatever "comport" is. On most >>> Net/2 derived systems, this may be either com0, or cua01, or >>> whatever the correct name is for your site. i ran slattach /dev/tty01 >>> - Run `ifconfig inet sl0 clientname servername netmask 0xffffff00` when i ran iconfig inet sl0 bahrain netblazer netmask 0xffffff00 i get an error saying !@@#$#%^&* ioctl !@#$%^&* no such interface >>> - Run `route add default servername`. >>> when i do routed add default netblazer i get an error that 'bind: .... addres is already ised' >>> "servername" is your server and "clientname" is your client. >>> >>> It should now be possible to `ping host` >>> ping is unsuccessful at this point >>> ** 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 2 >>> where is this kernel config file ????????? is it something that comes with the sources ??? i only got the binary distribution. >>> Without this line, you may get a 'device not configured' or >>> 'TIO...' error because the slip driver is not built into the >>> kernel. >>> >>> I uploaded the slip package a while ago (to several archives), but >>> was unaware of needing to notify the postmaster. They've probably >>> all been removed now. Slip packages are available from many FTP >>> sites; use archie to find the site nearest you. >>> what am i doing wrong ??? please help thanks Ramzi M. Al-Majid Computer Science Department Univ. of Colorado - Boulder ramzi@cs.colorado.edu Campus Box # 430 {ncar|nbires}!boulder!ramzi Boulder, CO 80309-0430 -- Ramzi M. Al-Majid Computer Science Department Univ. of Colorado - Boulder ramzi@cs.colorado.edu Campus Box # 430 {ncar|nbires}!boulder!ramzi Boulder, CO 80309-0430