[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network and serial port



Hey Bob, how are things in happy valley? Anyway, I've done what you're talking about
many times (for head-to-head linux Quaking!).  Here's whatcha do: I'll assume your
network uses the 192.168.1.0 network and your setup is this:

 BoxA (192.168.1.1)     BoxB (192.168.1.2)        BoxC (192.168.1.3)
       |-------- ethernet -------|    |------- serial ------|
                                   /dev/ttyS0           /dev/ttyS0

On BoxB run the following script:

#!/bin/bash
while true
do
    /usr/sbin/pppd /dev/ttyS0 115200 nodetach noauth proxyarp passive asyncmap 0
192.168.1.2:192.168.1.3
done

on BoxC run a similar script:

#!/bin/bash
while true
do
    /usr/sbin/pppd /dev/ttyS0 115200 nodetach noauth defaultroute asyncmap 0
192.168.1.3:192.168.1.2
done

(the pppd lines above are not supposed to be line-wrapped but I'm guess my naughty
mailer will do this)

That should do the trick.

Robert Kerr wrote:

> I've got my two desktop computers networked using 10base2 and they are
> working nicely, now I'd like to add my laptop into the system.  I don't
> have a network pcmcia card, but I do have a null modem cable.  I think  I
> should be able to use it to network my little laptop into the system, can
> someone point me in the right direction to get it setup?
>
> -bob
>
> Cananyonepleasetellmehowtofixmyspacebar?
> **********************************************************************
> * Robert Kerr, The morphing guy.  *    368 Clyde Building, BYU       *
> * rakerr@sandia.gov               *        Provo, Utah  84602        *
> * Robert_Kerr@byu.edu             *      Phone: (801) 378-2029       *
> * http://www.et.byu.edu/~kerrr    *      Fax: (801) 378-4449         *
> **********************************************************************
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

--
Jens B. Jorgensen
jjorgens@bdsinc.com



Reply to: