

Hi,

Here's how to use dip.  

First, on shasha, copy the file ~piatko/.slirprc to your home
directory (i.e. do this from your workstation).

>From your laptop you run the command:

$ dip -v -t

or you might need

$ /sbin/dip -v -t

if dip is not in your path.

This will bring you to the dip prompt which should look something like
this:

DIP[0]>

Type in the following commands

get $mtu 552
default
port modem
term

After typing "term" you will go into "terminal" mode (i.e you won't
see the DIP prompt any more).  From there dial in as you normally
would.  e.g.:

atdt 9954343
... Welcome to NYU ...
>> rlogin shasha

You *must* rlogin to shasha and not *telnet*.  Telnet does some
character translations that screws up slirp.  Rlogin works fine.

OK.  Now you are logged into shasha.  From your prompt, type the
following:

~piatko/bin/slirp

Slirp will print out a bunch of text and then hang there.  The two
important lines to look out for are the remote host address (which
should be the IP address of shasha 128.122.140.41) 
and your local "address" (which
most of the time is something like 10.0.2.15).  Press Ctrl-] (or maybe
it is Ctrl-[) to get out of terminal mode.  You'll come back to the
DIP prompt.  Now type:

get $remote <<IP address of shasha>>
get $local  << local address (probably 10.0.2.15) >>
mode CSLIP

This will bring you back to your shell prompt.  You should be ready to
go.  You can try it out by telnet shasha.cs.nyu.edu.  You should be
able to log right in.

Remember to suffix everything by "cs.nyu.edu" when telnet'ing etc.

There's some extra stuff that you can do by telneting to a special IP
address (it might be something like telnet 10.0.2.0 or 1 or something).  I
don't remember offhand because I almost never use it.  If I can dredge
up the number, I'll send it to you.

Later, when you are finished, and want to hang up, run the command:

dip -k

or 
/sbin/dip -k

This will kill the dip process.

I've written this all from memory, so you mileage may vary.  :)  I've
been meaning to write a script that would do this all for me, but I've
been incredibly lazy ...

Thanks,

Peter

----------------------------------------------------------------------
email : piatko@cs.nyu.edu
WWW   : http://cs.nyu.edu/phd_students/piatko
----------------------------------------------------------------------

