Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with pppd over Null modem cable

57 views
Skip to first unread message

Kenneth W Lichtenberger

unread,
May 10, 2003, 2:49:13 PM5/10/03
to
I have been trying to get pppd to work over a null modem cable with no suce

Kenneth W Lichtenberger

unread,
May 10, 2003, 3:31:13 PM5/10/03
to
I have been trying to get pppd to work over a null modem cable with no
success.
I have PPP support ppp and support for async serial ports compiled into the
kernel.
I have been trying the flowing command:
on the first box
pppd crtscts /dev/ttyS0 9600 192.167.0.2:192.168.0.2
on the second box
pppd crtscts /dev/ttyS0 9600 192.168.0.2:192.167.0.2
there is no options file so all options are put in the command line

I would appreciate it if someone would tell me what I am doing wrong.

Thanks Allot
Kenneth W Lichtenberger
ken_t...@verizon.net

Horst Knobloch

unread,
May 10, 2003, 5:33:29 PM5/10/03
to
On Saturday 10 May 2003 21:31 , Kenneth W Lichtenberger wrote:

> I have been trying to get pppd to work over a null modem cable with no
> success.
> I have PPP support ppp and support for async serial ports compiled into
> the kernel.
> I have been trying the flowing command:
> on the first box
> pppd crtscts /dev/ttyS0 9600 192.167.0.2:192.168.0.2
> on the second box
> pppd crtscts /dev/ttyS0 9600 192.168.0.2:192.167.0.2
> there is no options file so all options are put in the command line
>
> I would appreciate it if someone would tell me what I am doing wrong.

box1> pppd /dev/ttyS0 9600 lock nodetach noauth debug
192.167.0.2:192.168.0.2

box2> pppd /dev/ttyS0 9600 lock nodetach noauth debug


HTH

Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn

Bill Unruh

unread,
May 12, 2003, 12:31:55 AM5/12/03
to
Kenneth W Lichtenberger <ken_t...@verizon.net> writes:

]I have been trying to get pppd to work over a null modem cable with no


]success.
]I have PPP support ppp and support for async serial ports compiled into the
]kernel.
]I have been trying the flowing command:
]on the first box
]pppd crtscts /dev/ttyS0 9600 192.167.0.2:192.168.0.2

Uh, why are you using an IP address which you have no right to?

192.167.x.x are addresses which are assigned and MUS only be used if
they have officially been assigned to you.
Use any 192.168.x.x or 10.x.x.x
Do this even if you are only on a private network.

Also, one machine runs the addresses, no need to do both.
lso one of your machines should probably wait for the other.

Ie, have the passive option.

Why 9600? That is absurdly slow.

]on the second box


]pppd crtscts /dev/ttyS0 9600 192.168.0.2:192.167.0.2
]there is no options file so all options are put in the command line

]I would appreciate it if someone would tell me what I am doing wrong.

And how do we know? I suspect you forgot to connect the two machines
with a serial cable. (null modem cable) but then you could have fogotten
to plug them into the wall for all we know.

Tell us what happens. Use the debug option and set up syslogd and tell
us eht edebugging output.


0 new messages