Well, thought I'd post the barebones initial version of the Faq. Number and
stuffs way off, but so what...etc. Please edit out sections not relevant to
your posting- <keep in mind this is my initial draft, as of three hours
PLEASE! When replying to this, please edit out sections that arent relevant
to your post. Theres no point in reposting the whole document, for a
This is a rough outline of the FAQ I am composing. Composing as in, I am
gathering information from sources and throwing them together, hopefully
avoiding stepping on anyones toes, or infringing on copyrights, etc.
Please feel free to comment on sections, with suggestions for
questions, and suggestions for answers.
I know this is a bit wordy, etc, but this is a rough sketch, I intend
on making a large document first, then trimming it for accuracy and
Wow, I was amazed. I expected to begin a general purpose FAQ,
but it ended up being a DIP faq, since almost ALL the questions were
related to Dip, in the usegroups.
Sections which I have not started on but will once the main
body is done- These might be formed into two seperate FAQs.
A: Setting up a slipserver, using dip -i
B: PPP <software choices, howto setup, how it differs from SLIP>
Wow, this means I'll have to actually setup PPP, oh gawd.
C: Tia, ? <I dont know much about tia, myself, but hear a lot of
mention about it>
------------- Linux SLIP/CSLIP/(-PPP-) FAQ --------------------------
or- How to put your linux box on the internet.
or- How to use dip <at this stage:) for dialout.
- Paul Timmins -
- m...@ccs.neu.edu -
0 : What is Linux?
Linux is a freeware UNIX operating system for PC's.
<If anyone has a more concise SHORT!
definition of linux, feel free to post it>
Please pick up the Linux FAQ available in the usegroup
comp.os.linux.help. Please read the FAQs completely, and read
appropriate documents under
1 : What is SLIP anyhow, and how does CSLIP differ?
SLIP is a means of connecting you to a network,
via a serial device (a modem). It is a software issue,
not a hardware matter. Meaning, if you're running linux,
and have a modem, and a phone line, you can use SLIP.
On your end, you need a program called DIP. Most recent
version is Dip3.3.7-uri (I think... havent checked lately)
On the receiving end, you need a connection that will
initiate a slip connection, a SlipServer (will be an
ordinary modem port server, with additional software, such
as an annex server).
a: What do I need a provider for?
A provider gives you a connection to the internet,
well, of course, it may be a smaller network, but I'm making
You'll need an account on most Slipservers, though quite
a few universities allow free, unpassworded slip connections
to students. But these Universities firewall the systems,
so you can only connect to local machines. At the end of
this document I am composing a list of SLIP providers,
Two things you'll have to consider is static connections
versus dynamic connections. A static connection means
you will ALWAYS have the same IP address <for instance,
126.96.36.199> everytime you log in. Now, here at
Northeastern, we have dynamic slip, where your ip address changes
everytime you log in. Dynamic slip, again, is common in
Universities, yet less common in real providers.
Now, with a static connection, you can apply for a class
D address. Meaning, you have a name that is linked to your
IP address. Most providers will handle this process for you.
<Well, in short... I need a document to point to here>
b: What can I do via SLIP?
Things that I have done: telnet, ftp, rlogin, mosaic, archie, netrek,
<play muds and mushes:)>. You can read news too (But I prefer to run
my newsreader on another machine that I'm telnetted to, and make it
bear the brunt of the network load>
OF course it's slower. But you can have multiple programs all running
at the same time. Such as 5 telnets, and an ftp. Now, if you expect
to do anything functional on those telnet sessions while transferring
a file, your sorely mistaken.
<Average transfer speed for me- 14.4kbps modem=1.5 Kbytes/sec.>
c: Security Concerns via SLIP?
Same as for any other network connection-
<Any linux security documents I could point to here?>
(need info on TIA, misplaced my document)
e: Alternatives to SLIP?
<documents or contacts I could list for the above? Anyone?>
2 : Help Section or, so I got linux, a modem, a service, what do I do now?
: How do I set up the modem, IRQ, and speed?
For more information on setting up your device, consult-
or look at the man page for setserial.
Problems with the serial settings will manifest in forms such as
lost characters, no echoing of characters (the modem will dial
after fed an atdt string, but you will not see anything).
If you changed your IRQ, or use high speed modems, consult
at least the manpage for setserial first.
: '<hostname>: Unknown host', what does this mean?
The problem here is that the name in /etc/HOSTNAME is not
included in your /etc/hosts file. Please enter an entry into your /etc/hosts
file like this-
127.0.0.1 localhost <name in /etc/HOSTNAME>
: I've got everything ready to go. Now, what do I do?
So, before we try and write a script, we'll get things working.
Now heres what you do, run 'dip -t' from your shell prompt.
DIP> port cua* <where * is your com port -1. <so, dos com port 1 = cua0>>
This will drop you into terminal mode.
From here, type
And wait for your connect.
After the connect, give the chain of commands which initiates the SLIP
connection. For some machines you just give your username and password,
for others you just type SLIP. Whatever the case, do it.
then hit CTRL-] to drop you back into the DIP> prompt.
<control and ] keys at the same time>
DIP> get remote <remote address>
DIP> get local <local address, the number address assigned to YOUR machine>
DIP> get mtu <maximum transfer units you wish to use, play with figures>
DIP> mode CSLIP
<or, mode SLIP... try mode CSLIP first, as it is preferred... C standing
this should drop you back to your shell prompt. To test to make sure
it worked type-
: How do I write DIP Scripts?
Don't ask me why, but one night, after going INSANE trying to figure
out why a friends script didn't work, I typed send <text>\nr. And it
worked. This I don't know. \nr works to send a line, but \n should work
itself. Well, as they always say, if it aint broke, don't fix it.
Look at the sample script that comes with dip. <sample.dip>
Here is a copy of my script. (m...@ccs.neu.edu)
# Based off sample.dip.
# DOS Com 1= /dev/cua0, Com 2= /dev/cua1, ....
# Reset the modem and terminal line,
# This seems to cause trouble for some people!
# Place initialization strings here. This definately needs to be changed.
# It is not required, either. I just use these to make sure the modem is
# in working order. Otherwise I can abort.
# send ats11=60&f2\nr
# send atz\nr
wait OK 3
# Dial assumes hayes compatibility, sending ATD as the dialing string.
wait CONNECT 60
wait nnex 30
wait name: 10
get $remote remote
get $local remote
get $mtu 2000
print Local address is $local
print Remote address is $remote
b: Routed? What the hell does it do, and why does it hate me so?
<cataloguing problems and solutions people have had with routed, please
comment on this, I havent had many problems with it, I actually don't even
: What are the -v and -t flags for?
dip -v, dip -t.
Dip -v (debugging mode)gives you more output and information, I always
suggest using this flag, and dumping the output to a file.
Dip -t (test mode) puts you in an interactive mode.
dip -m <mtu> specifies the size of the mtu.
c: Extra things-
1: Autodialing upon boot
Look at the scripts in the directory /etc/rc.d
These scripts are initiated at boottime. Please place any files
you wish to be ran upon system boot in rc.local.
In my rc.local, I have a line that reads-
/sbin/dip -v /root/neuslip > /root/neuslip.out&
HEY! How come my modem doesnt do anything? Is it the irq or something?
<Try running setserial, and/or modifying an /etc/rc.d script>
3:Network tools, such as ping and traceroute, and how useful they are.
Ping and traceroute are useful in narrowing down problems.
Play with them, they're very simple to understand, and figure out.
No point to go into detail.
<Note on both- DON'T use them excessively as they do occupy bandwidth
and will annoy the heck out of an admin if you leave them running for
long periods of time>
5:How come I can connect to my gateway, but nowhere else?
<Show how to setup a default gateway, no problem>
Make sure you have a line reading 'default' in your dip script, right
before the mode command.
Optionally, you can type-
read more »