*BSD News Article 20605


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!sdd.hp.com!network.ucsd.edu!news.cerf.net!benton.prepress.com!nuntius
From: Bob Costa <costa@benton.prepress.com>
Subject: Re: Comm and otherthings...
Message-ID: <1993Sep8.163042.19643@prepress.com>
Sender: usenet@prepress.com (Usenet login)
Nntp-Posting-Host: costa.prepress.com
Organization: Prepress Technologies
X-Useragent: Nuntius v1.1b2
References: <CCzro2.LG@sugar.NeoSoft.COM>
Date: Wed, 8 Sep 1993 16:30:42 GMT
Lines: 43


1) While using TIP and connecting to another system, if you find the
return key is not working try using control-J.  If that works then it
probably means you need to turn off the parity on tip.  You do this in
the /etc/remote file.  it should read "pa=none" such as the following:

com1d:dv=/dev/com1:sp#38400:pa=none:


(i'm doing this from memory)
2) part a
Do a "netstat -i".    If you don't see an sl0 in the list, then you must
configure slip into your kernel.  Look at the end of your kernel
configuration file.  You should see a line toward the end of the file
that has an "sl 0" in it.  Change it to "sl 1" or "sl 2" (depending on
how many slip interfaces you intend to use).  This of course all assumes
you know how to compile your own kernel and install it.

2) part b
Now the way that you connect to the interface is:

slattach -s 2400 /dev/com1
ifconfig sl0 inet x.x.x.x y.y.y.y   
                  (where x.x.x.x your computer's IP and  y.y.y.y is the
remote comp's IP)
route add default y.y.y.y

This will connect the com port to sl0, set up the static routing tables,
and route all packets to the remote computer.  Assuming the other
computer has configured everything correctly you should now be able to
"ping y.y.y.y".  If ping just sits there then something is wrong.  Do a
"man netstat" to see how you can monitor packets comming in and out.

The first time you configure slip, things can be real confusing.  Good
luck.  

                                                             >>>>
                                                             |     
                                                [-]_[-]_[-]_[-]
                                                \    61613    /
costa@benton.prepress.com                        |    / \    |     
-------------------------------------------------|    | |    |------------
            What do you mean this thing supports only two IRQ's !?!