Hi, all!
O.K. - I've managed to set up a SLIP connection, so I'm going to try to
describe an "easy" installation process. To install a slip connection you
need an ordinary NULL-modem cable - 3 wires (RX,TX,GND) will do. You also
need the dip program written by FvK. You can find it in the net-std stuff.
By the time you read this you should know enough to setup a static SLIP
connaction. If you want dialup connections read this doc & then have a look
at the man page to dip. This document assumes you will be using 2 linux machines.
To do a quick test of SLIP:
- connect the cable between the two machines
- decide on hostnames for the two machines [in this doc I'll call them mach1
& mach2]
- as root, run dip with the argument "-t" (Test).
- on mach1 type the following:
local mach1
remote mach2
port [line - ttyxx, can be tty64, tty65, ttys0,...]
speed 19200
mode SLIP
- when you type "mode SLIP", dip will exit into the background & mach1 will
be ready for SLIP connection
- on mach2 type the same thing with reversed hostnames (local mach2, remote
mach1)
- O.K - you can try it out now with a ping and/or telnet command...
- when you want to finish send a SIGINT to dip on both machines to shut down
the link & clean up
To put this stuff in /etc/rc.net:
- create script files for dip - the file name MUST end on .dip.
- e.g. mach1.dip for mach1 input on mach1, mach2.dip on mach2 with mach2
input.
- in /etc/rc.net add "/some/where/dip [scriptname]" where scriptname is the
full pathname of the script [ e.g /some/where/mach1, /some/where2/mach2]
note that when giving the path to dip you can leave out the .dip extension.
- reboot & you should have a SLIP connection set up :-> ...
Any comments, suggestions, etc. to me by E-MAIL to lucina@alpha.dcs.mff.uniba.cs
OR as a reply to this article on c.o.l.
Yet again - if you want dynamic [dialup] connections - see the man page on dip.
Martin Lucina| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| David Miller | Slow DOWN, please!!! |
| Masami Hiramatsu | Re: [RFC PATCH v4] Unified trace buffer |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Parag Warudkar | Re: 2.6.29-rc3: tg3 dead after resume |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
