ppp & lqr problem - Warning: lqr_RecvEcho: Got packet size 6, expecting 12 !

Alen Sarkinovic alen at smartnet.ba
Sun Apr 9 20:34:34 UTC 2006



I'm using freeBSD 5.5-PRERELEASE #1 with pppd version 2.3 patch level 5 for
pppoe termination on cable network system for a long time but today one of
our customers reported problem regarding reconection every 2 minutes.
Actualy customer is trying to connect InnoMedia MTA 3328-2R device
(Net2Phone Service) using build in pppoe client software.

I get this error from ppp.log ->

Apr  7 13:55:04 cps3 ppp[68876]: Command: default: set server
/var/run/ppp/tun%d ******** 0177
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Listening at local socket
/var/run/ppp/tun127.
Apr  7 13:55:04 cps3 ppp[68876]: Command: default: enable echo
Apr  7 13:55:04 cps3 ppp[68876]: Command: default: enable lqr
Apr  7 13:55:04 cps3 ppp[68876]: Command: default: set lqrperiod 10
Apr  7 13:55:04 cps3 ppp[68876]: Command: default: set cd 5
Apr  7 13:55:04 cps3 ppp[68876]: Phase: PPP Started (direct mode).
Apr  7 13:55:04 cps3 ppp[68876]: Phase: bundle: Establish
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: closed -> opening
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: Link is a netgraph node
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: Connected!
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: opening -> carrier
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: carrier -> lcp
Apr  7 13:55:04 cps3 ppp[68876]: Phase: bundle: Authenticate
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: his = none, mine = PAP
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Pap Input: REQUEST (xxxxxx)
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Radius: Request sent
Apr  7 13:55:04 cps3 ppp[68876]: Warning: lqr_RecvEcho: Got packet size 6,
expecting 12 !
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Radius(auth): ACCEPT received
Apr  7 13:55:04 cps3 ppp[68876]: Phase:  VJ enabled
Apr  7 13:55:04 cps3 ppp[68876]: Phase:  Session-Timeout 43200
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Pap Output: SUCCESS
Apr  7 13:55:04 cps3 ppp[68876]: Phase: deflink: lcp -> open
Apr  7 13:55:04 cps3 ppp[68876]: Phase: bundle: Network
Apr  7 13:55:04 cps3 ppp[68876]: Phase: Radius(acct): START data sent
Apr  7 13:55:15 cps3 ppp[68876]: Warning: lqr_RecvEcho: Got packet size 6,
expecting 12 !
Apr  7 13:55:24 cps3 ppp[68876]: Warning: lqr_RecvEcho: Got packet size 6,
expecting 12 !
Apr  7 13:55:34 cps3 ppp[68876]: Warning: lqr_RecvEcho: Got packet size 6,
expecting 12 !
Apr  7 13:55:44 cps3 ppp[68876]: Warning: lqr_RecvEcho: Got packet size 6,
expecting 12 !
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: ** Too many LCP ECHO
packets lost **
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: open -> lcp
Apr  7 13:56:04 cps3 ppp[68876]: Warning: ff02:83::/32: Change route failed:
errno: Network is unreachable
Apr  7 13:56:04 cps3 ppp[68876]: Phase: Radius(acct): STOP data sent
Apr  7 13:56:04 cps3 ppp[68876]: Phase: bundle: Terminate
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: Disconnected!
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: Connect time: 60 secs:
10464 octets in, 52655 octets out
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: 81 packets in, 90 packets
out
Apr  7 13:56:04 cps3 ppp[68876]: Phase:  total 1051 bytes/sec, peak 10001
bytes/sec on Fri Apr  7 13:55:40 2006
Apr  7 13:56:04 cps3 ppp[68876]: Phase: deflink: lcp -> closed
Apr  7 13:56:04 cps3 ppp[68876]: Phase: bundle: Dead
Apr  7 13:56:04 cps3 ppp[68876]: Phase: PPP Terminated (normal).


Here is ppp configuration->

su-2.05b# more /etc/ppp/ppp.conf
default:
 set timeout 600 # default is 180 sec (idle)
 set log Phase Chat Command LQM LCP
 set openmode passive
 enable pap                                     #turn on chap and pap
accounting
 allow mode direct                              #turn on ppp bridging
 enable proxy                                   #turn on ppp proxyarping
(redundant of above???)
 disable ipv6cp                                 #we don't use ipv6, don't
want the errors
 set mru 1492                                   #set mru below 1500 (PPPoE
MTU issue)
 set mtu 1492                                   #set mtu below 1500 (PPPoE
MTU issue)
 disable deflate pred1 mppe vj
 deny deflate pred1 mppe
 set ifaddr 10.0.0.1 xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxx  #Specify my wifi
gateway IP as well as DHCP pool range
 set radius /etc/radius.conf                    #turn on radius auth and use
this file
 accept dns                                     #turn on dns
cacheing/forwarding
 set dns xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
 set server /var/run/ppp/tun%d "" 0177
 enable echo
 enable lqr echo
 set lqrperiod 10
 #set cd 5
 #!bg /etc/ppp/log.sh INTERFACE HISADDR


Anyone have any suggestions ?





More information about the freebsd-isp mailing list