Re: Serial link???

Carlos Barros (cbf@redlider.com.uy)
Thu, 22 Apr 1999 08:35:50 -0300


On Wed, Apr 21, 1999 at 11:38:49AM -0500, John Alexander Sanabria Ordonez wrote:

> Hello:
>
> recently i bougth at serial cable, null modem, 9 pins, with the next
> connections between pins:
>
> 2-3
> 3-2
> 4-(6+1)
> 5-5
> (6+1)-4
> 7-8
> 8-7
>
> I configure the serial port with this command line:
> slattach /dev/cua0 # machine with slackware 3.3 -> MWS3.3
> slattach -p cslip -s 19200 /dev/cua0 & # MWS3.5

try better pppd:
the server

pppd /dev/ttyS0 115200 local local_IP:remote_IP proxy-arp

local_IP beeter to use the same as the eth0 or choose one IP
remote_IP is the IP that you assign to the remote point

and in the otherbox do:

pppd /dev/ttyS0 115200 local noipdefault -defaultroute

> ifconfig sl0 192.57.10.1 pointopoint 192.57.10.2 up # MWS3.3
> ifconfig sl0 192.57.10.2 pointopoint 192.57.10.1 up # MSW3.5
>
> I gave telnet in MWS3.3:
>
> telnet 192.57.10.2
> ...
> Network unreachable

> Somebody can give me pointers that how can resolv this problem? Why i
> can't to connect? What is the right cable configuration for null modem?

You forget to add the routes...

With pppd you dont have to add the routes.

Better than using /dev/cua* use /dev/ttyS*

more? man pppd ;-) or /usr/doc/HOWTO

-- 
Bye
    Carlos Barros.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu