I'm trying to set up a test site to use the WAP gateway (which I have
succesfully built). However, in trying to make a PPP connection from my WAP
phone to the Linux server I get an LCP terminated by peer error.

For outbound traffic I know the PPP works -- I can use it to connect to an
ISP. However, when I try to use my 6310 to dial in, I get the LCP
termination error. What I find strange is that I don't get any LCP
termination request packets (LCP TermReq), just the error message that the
peer closed the connection.

Here is the PPP stuff from the log file:

Aug 17 01:40:55 me kernel: PPP generic driver version 2.4.2
Aug 17 01:40:55 me pppd[1445]: pppd 2.4.1 started by root, uid 0
Aug 17 01:40:55 me pppd[1445]: pppd 2.4.1 started by root, uid 0
Aug 17 01:40:55 me pppd[1445]: using channel 1
Aug 17 01:40:56 me pppd[1445]: Using interface ppp0
Aug 17 01:40:56 me pppd[1445]: Using interface ppp0
Aug 17 01:40:56 me pppd[1445]: Connect: ppp0 <--> /dev/ttyS1
Aug 17 01:40:56 me pppd[1445]: Connect: ppp0 <--> /dev/ttyS1
Aug 17 01:40:56 me pppd[1445]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth pap> <magic 0x5e131c25> <pcomp> <accomp>]
Aug 17 01:40:56 me /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 17 01:40:56 me pppd[1445]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth pap> <magic 0x5e131c25> <pcomp> <accomp>]
Aug 17 01:40:58 me pppd[1445]: rcvd [LCP ConfReq id=0x2 <pcomp> <accomp>
<asyncmap 0x0>]
Aug 17 01:40:58 me pppd[1445]: sent [LCP ConfAck id=0x2 <pcomp> <accomp>
<asyncmap 0x0>]
Aug 17 01:40:58 me pppd[1445]: rcvd [PAP AuthReq id=0x1 user="web" password
=<hidden>]
Aug 17 01:41:00 me ppp(pam_unix)[1445]: session opened for user web by
(uid=0)
Aug 17 01:41:00 me pppd[1445]: user web logged in
Aug 17 01:41:00 me pppd[1445]: user web logged in
Aug 17 01:41:01 me pppd[1445]: local  IP address 192.168.2.2
Aug 17 01:41:01 me pppd[1445]: local  IP address 192.168.2.2
Aug 17 01:41:01 me pppd[1445]: remote IP address 192.168.2.1
Aug 17 01:41:01 me pppd[1445]: remote IP address 192.168.2.1
Aug 17 01:41:02 me pppd[1445]: LCP terminated by peer
Aug 17 01:41:02 me pppd[1445]: LCP terminated by peer
Aug 17 01:41:05 me ppp(pam_unix)[1445]: session closed for user web
Aug 17 01:41:05 me pppd[1445]: Connection terminated.
Aug 17 01:41:05 me pppd[1445]: Connection terminated.
Aug 17 01:41:05 me pppd[1445]: Connect time 0.1 minutes.
Aug 17 01:41:05 me pppd[1445]: Connect time 0.1 minutes.
Aug 17 01:41:05 me pppd[1445]: Sent 116 bytes, received 40 bytes.
Aug 17 01:41:05 me pppd[1445]: Sent 116 bytes, received 40 bytes.
Aug 17 01:41:05 me /etc/hotplug/net.agent: NET unregister event not
supported
Aug 17 01:41:07 me pppd[1445]: Exit.
Aug 17 01:41:07 me pppd[1445]: Exit.

Clearly there is a connection, and I can log in. Also, it seems strange
that I get some of the messages twice. I'm not sure why that is -- there is
only one process (1445). That doesn't happen for my ISP connection.

There is no traffic encapsulated within this that I can see -- the
bearerbox listens on its various ports but sees nothing.

I have no idea if there is anyway to see any diagnostics within the phone
itself. I get 'No response, try again' and that's all. The 7210 in addition
also says (briefly) 'Page not found', before saying 'No Response, try
again'.

Is this something others have seen? Any help trying to resolve this would
be greatfully received.

Cheers,

Phil Berry



Reply via email to