> 
> Hi,
> 
> Sometime ago I heard a way to "network" pcs over a serial cable rather than
> via LAN cards. Can anyone point me to this information? I'm thinking of
> 
> Linux<->Linux and possilbly another one that's Linux<->Win95

Linux<->Linux is quite easy, you will need a cable complying to one of the
following.

Two line connection, DTE = computer.
DTE             DTE
TxD 2           3
RxD 3           2

The above lines are crossed,
RTS 4           4
CTS 5           5
On both sides of the cable connect pins 4 and 5 togehter do not connect one
end to another, just a small connection on each connecter, short the pins
may be a beter word.

DSR 6
DCD 8
DTR 20
Connect these pins toghter also, the same applies here do not connet the
computers with wires on these pins.
SG 7 is ground, connect pin 7 phyisicly with a wire, you have 3 wires only
connecting the two computers.

Another way is a so call Nul modem cable.

DTE1    DTE2
2       3
3       2
4       5
5       4
6       
7       7
8       20
20      8

Pin 6 DTE1 short to 8
pin 6 DTE2 short to 8

You can possably buy NUL modem cables in some or other computer shop.

There are a couple of programs, slattach and dip both will configure the
port for use, you then configure the interface with ifconfig.

I used to use dip along with a small script with the commands therein, i
have lost all my past years of work not so long ago, so i can qoute the
exacht commands anymore, however something like the following should work.

#!/usr/sbin/dip

get $local  10.0.0.1
get $remote 10.0.0.2
netmask 255.0.0.0
port ttyS1
speed 34800
mode slip

Call the script what you want, ie start_seriel
chmod a+x start_seriel # make it executable
./start_seriel # start the ball rolling.

Use ifconfig (if needed to change the paramters of sl0).
A route should be automaticly added by dip as soon as both sides are up.

Now i am sure others will help you more, as i said its been a long time
sinds i have done things like this and i dont have my old example files
anymore.

man dip
man slattach
The README's would be /usr/doc/somewhere/*
Serial-HOWTO
Net-3-HOWTO
Networking-Overview-HOWTO (Low priority)
mini/PLIP (same as slip but over the Parallel port).

> 
> Thanks,
> Anthony
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to