WHAT IS
SLiRP is a free TCP/IP emulator over the (C)SLIP/PPP link-level
protocols which allows a normal user with a shell account on a UNIX
system to act like a real (C)SLIP/PPP account. This means you can use
programs like Netscape, Mosaic, ftp etc. from your home machine with
only a shell account.
Computer Services does not support this program and recommends you
use your own ISP service to connect to the Internet.
SLiRP is not bug free. We have identified a problem with binary
file transfers where the very last byte doesn't get saved to a file.
Therefore, consider this VERY unreliable for FTP and software downloads
using your web browser.
Setting up a SLIP line, especially with an emulator like SLiRP is not
an easy task. Computer Services does not support this product at this
time due to the complexity of this product and the differences in all
of the SLIP client software packages on the market today. With each
package, setup will be different. You may want to read the
SLiRP Home Page,
the
Slirp manual and
configuration notes for
some pointers. In addition, as we and others encounter different setups,
we will document them here. To put it another way, SLiRP is
experimental, not supported by Computer Services, and may be withdrawn
from the system without notice if problems develop.
When using SLiRP on hopi, please remember the following points:
However, this makes it difficult for a connection on the Internet to find
your PC. For example, if you run an FTP server on your PC. This is
actually a good feature. Improper setup of an FTP server on your home
computer opens it up for intruders from the Internet to get into it. (It
is possible to do it if you really want to, "man slirp" on hopi for
the instructions).
Set your home computer's IP settings to the following values:
This is where it gets ugly. The steps you will take are:
If you use PPP, you can cause slirp to hang up gracefully by creating
a .slirprc file in your home directory and put the line "ppp_exit" in
the file. Then just disconnect your session.
UPDATE: Development of slirp may start again.
Last page update: 19 October 1999
Specific Examples
Below are links to examples of how to do this with specific programs and platforms.
If you get SLiRP running on a platform/program not mentioned here,
please help out others and document how it is done and email it to
gti@hopi.dtcc.edu.
Technical Information
You MUST exec slirp, don't just run it. You may lose
data if you fail to heed this caution. Read below for details.
Yeah, yeah, yeah, no problem. So what is it then?
SLiRP is a pseudo SLIP/PPP emulator. It is not the real thing. In order
for your home computer to work on the Internet, it must have its own
IP address. SLiRP works around this by assigning your home computer
a fake IP address of 10.0.2.15. Stuff you send to the "net" is
translated into the host IP address at Delaware Tech and sent out. Data
meant to your PC is routed up to it via SLiRP. To all hosts on the Internet,
you will appear to be originating from the host you run SLiRP on, not
your PC.
What do I need to use this?
You need SLIP or PPP software for your home computer. Commercial Internet
packages come with this software. Personal Netscape Navigator sells for
about $39 in most computer stores and has a SLIP dialer included in it
as well as an Internet email program and other goodies. This runs under
Windows or a Mac.
I have SLIP or PPP at home, now what?
stty local ^\
This allows you to get back to the terminal server with the CTRL-\ key
combo. NOTE: If your terminal and/or script supports sending a BREAK
key down the line, the above step is not needed.
dli set session passall
fg
exec slirp (or
exec slirp -P if
you want to run PPP)
How do you make this thing quit?
Not easily! To quit SLiRP, you need to send 5 zeroes (0) down the line,
one second apart. You can't do this if you are telnet'd, since the
zeroes will be wrapped in an IP packet. You need to quit all of
your network programs, like telnet, web browser, etc, and then rerun
your original telecom program. Then press the zero key five times
with a second between each press. Pulling the phone line out of the
wall will probably also work, but I'm too paranoid to trust it myself!

Source Document: None
Official URL for this page:
http://www.stanton.dtcc.edu/stanton/cs/slirp/
Page Maintained by: George Imburgia
Originally developed by Ken Weavering