Networking Forums

Networking Forums > Computer Networking > Linux Networking > rehat linux9.0 ppp error messages

Reply
Thread Tools Display Modes

rehat linux9.0 ppp error messages

 
 
abelard
Guest
Posts: n/a

 
      07-31-2007, 12:58 AM
hi, all
these days, I tried to test ppp link between two redhat
linux9.0(using null modem connection), acoording Chapter 29. Using PPP
across a null modem (direct serial) connection in PPP-HWOTO,,
but when I type
[root@localhost ~]# pppd /dev/ttyS0 nodetach
I got the following messages:

using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
<pcomp> <a ccomp>]
LCP: timeout sending Config-Requests

I have done the following things:
1. the client(using minicom) can login into the server(using
agetty),
2.the configurations about server ppp as follows:
/etc/ppp/options:
lock
auth

/etc/ppp/options.ttyS0
lock
local
crtscts
debug
asyncmap 0
passive
proxyarp
192.168.1.1:192.168.1.10
netmask 255.255.255.0
ms-dns 192.168.1.1
require-pap
38400

/etc/ppp/pap-secrets
ppp * 123pcz *

3. the configuration about client ppp as follow
/etc/ppp/options:
lock

/etc/ppp/options.ttyS0
38400
crtscts
debug
local
user ppp
noauth

/etc/ppp/pap-secrets
ppp * 123pcz *

any replys are welcom, thks!

 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      07-31-2007, 03:27 PM
abelard <(E-Mail Removed)> wrote:
> hi, all
> these days, I tried to test ppp link between two redhat
> linux9.0(using null modem connection), acoording Chapter 29. Using PPP
> across a null modem (direct serial) connection in PPP-HWOTO,,


What kind of nullmodem, a 3-wire or full nullmodem?

I guess you know that a nullmodem is not a "direct serial" connection
in the pin-to-same-pin sense.

> but when I type
> [root@localhost ~]# pppd /dev/ttyS0 nodetach
> I got the following messages:


> using channel 3
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyS0
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
> <pcomp> <a ccomp>]


[repeated 9 more times]

> LCP: timeout sending Config-Requests


No response means that the "server" pppd is unable to respond or that
LCP messages are being lost or corrupted.

> I have done the following things:
> 1. the client(using minicom) can login into the server(using
> agetty),
> 2.the configurations about server ppp as follows:
> /etc/ppp/options:
> lock
> auth


> /etc/ppp/options.ttyS0
> lock
> local
> crtscts


If you use local then you should use xonxoff, not crtscts. If you use
crtscts then you should not use xonxoff or local. The options local and
xonxoff are for a 3-wire nullmodem and crtscts is for a full nullmodem.

> debug
> asyncmap 0


Just a heads-up: If it turns out that you need to use xonxoff then you
should not specify asyncmap.

> passive
> proxyarp
> 192.168.1.1:192.168.1.10
> netmask 255.255.255.0
> ms-dns 192.168.1.1
> require-pap


Not related to the current problem but you might also need

remotename ppp

> 38400


> /etc/ppp/pap-secrets
> ppp * 123pcz *


> 3. the configuration about client ppp as follow
> /etc/ppp/options:
> lock


> /etc/ppp/options.ttyS0
> 38400
> crtscts
> debug
> local


The server comments regarding local, xonxoff, and crtscts also apply to
the "client."

> user ppp
> noauth


> /etc/ppp/pap-secrets
> ppp * 123pcz *


> any replys are welcom, thks!


Finally, be sure ttyS0 is the correct serial port for the nullmodem cable
and is correctly configured.

Regards-
--
Clifford Kite
/* Editing with vi is a lot better than using a huge swiss army knife.
Use =} to wrap paragraphs in vi. Or put map ^] !}fmt -72^M in
~/.exrc and use ^] to wrap to 72 columns or whatever you choose. */
 
Reply With Quote
 
abelard
Guest
Posts: n/a

 
      08-02-2007, 03:39 AM
On 7 31 , 11 27 , Clifford Kite <k...@not.available.tld> wrote:
> abelard <crocodilian2...@163.com> wrote:
> > hi, all
> > these days, I tried to test ppp link between two redhat
> > linux9.0(using null modem connection), acoording Chapter 29. Using PPP
> > across a null modem (direct serial) connection in PPP-HWOTO,,

>
> What kind of nullmodem, a 3-wire or full nullmodem?
>
> I guess you know that a nullmodem is not a "direct serial" connection
> in the pin-to-same-pin sense.
>
> > but when I type
> > [root@localhost ~]# pppd /dev/ttyS0 nodetach
> > I got the following messages:
> > using channel 3
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyS0
> > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x50ae4299>
> > <pcomp> <a ccomp>]

>
> [repeated 9 more times]
>
> > LCP: timeout sending Config-Requests

>
> No response means that the "server" pppd is unable to respond or that
> LCP messages are being lost or corrupted.
>
> > I have done the following things:
> > 1. the client(using minicom) can login into the server(using
> > agetty),
> > 2.the configurations about server ppp as follows:
> > /etc/ppp/options:
> > lock
> > auth
> > /etc/ppp/options.ttyS0
> > lock
> > local
> > crtscts

>
> If you use local then you should use xonxoff, not crtscts. If you use
> crtscts then you should not use xonxoff or local. The options local and
> xonxoff are for a 3-wire nullmodem and crtscts is for a full nullmodem.
>
> > debug
> > asyncmap 0

>
> Just a heads-up: If it turns out that you need to use xonxoff then you
> should not specify asyncmap.
>
> > passive
> > proxyarp
> > 192.168.1.1:192.168.1.10
> > netmask 255.255.255.0
> > ms-dns 192.168.1.1
> > require-pap

>
> Not related to the current problem but you might also need
>
> remotename ppp
>
> > 38400
> > /etc/ppp/pap-secrets
> > ppp * 123pcz *
> > 3. the configuration about client ppp as follow
> > /etc/ppp/options:
> > lock
> > /etc/ppp/options.ttyS0
> > 38400
> > crtscts
> > debug
> > local

>
> The server comments regarding local, xonxoff, and crtscts also apply to
> the "client."
>
> > user ppp
> > noauth
> > /etc/ppp/pap-secrets
> > ppp * 123pcz *
> > any replys are welcom, thks!

>
> Finally, be sure ttyS0 is the correct serial port for the nullmodem cable
> and is correctly configured.
>
> Regards-
> --
> Clifford Kite
> /* Editing with vi is a lot better than using a huge swiss army knife.
> Use =} to wrap paragraphs in vi. Or put map ^] !}fmt -72^M in
> ~/.exrc and use ^] to wrap to 72 columns or whatever you choose. */


thank you Clifford Kite!
For your reply, now my two pc(with rhd linux 9.0) can communicat with
each other across ppp successfully. As you metioned, I deleted
crtscts and added xonxoff to the file options.ttyS0.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error messages shane Windows Networking 0 07-12-2004 04:34 AM
Error messages shane Windows Networking 0 07-12-2004 04:34 AM
Too many error messages!! What are they? =?Utf-8?B?Q2hyaXN0eQ==?= Windows Networking 3 04-17-2004 02:15 AM
error messages marta Windows Networking 0 12-31-2003 02:24 AM
ERROR MESSAGES MICHAEL Windows Networking 1 12-05-2003 02:01 PM



1 2 3 4 5 6 7 8 9 10 11