Skip to contentSkip to conversation

pppd connection timeout in Mesh network

DISCUSSION littleHeart 2 participants 3 messages Apr 20, 2009 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a problem with PPP connection timeout in my 3 nodes mesh networking system. Node 1 is wirelessly bridged to ADSL line and wireless mesh networked to Node 2 and Node 3. Node 1 always stays up connected and ppp, internet works fine. But node 2 and node 3 has problem with ppp connection timeout. Sometimes node 2 or node 3 has ppp vpn connection but lasts for few minutes and then gets disconnected. Following is the log message when trying to connect after disconnection.

Jan  1 00:01:09 OpenWrt user.info : using channel 1
Jan  1 00:01:09 OpenWrt user.info : Using interface ppp0
Jan  1 00:01:09 OpenWrt user.info : Connect: ppp0 <--> /dev/pts/0
Jan  1 00:01:39 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:42 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:45 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:48 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:51 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:54 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:01:57 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:02:00 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:02:03 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:02:06 OpenWrt user.info : sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x8db4b242> <pcomp> <accomp>]
Jan  1 00:02:09 OpenWrt user.info : LCP: timeout sending Config-Requests

Automatic reconnection failed with timeout for most of the time. When pppd command is launched manually it connects (using interface ppp1) well and stay connected.

Can anybody precise me what exactly wrong with the ppp connection goes disconnected and got connected when launched manually. ?

thanks

Signature · 2 lines
View this message in context: http://www.nabble.com/pppd-connection-timeout-in-Mesh-network-tp23136711p23136711.html
Sent from the linux-ppp mailing list archive at Nabble.com.
#1 lore raw

Selon littleHeart <[email protected]>:

Quoted 11 lines

Hi all,

I have a problem with PPP connection timeout in my 3 nodes mesh networking system. Node 1 is wirelessly bridged to ADSL line and wireless mesh networked to Node 2 and Node 3. Node 1 always stays up connected and ppp, internet works fine. But node 2 and node 3 has problem with ppp connection timeout. Sometimes node 2 or node 3 has ppp vpn connection but lasts for few minutes and then gets disconnected. Following is the log message when trying to connect after disconnection.

wich ppp configuration on the client side, on server side? wich version (ppdp, kernel)?

Gilles

#2 lore raw
In reply to littleHeart

Hi Gilles,

I am running pppd version 2.4.4 and Openwrt's Linux-2.6.26.2 on the wireless mesh boards. pppd options contains the following info

asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

I have no idea about ppp configuration on the long distance server side but sure its working fine and givingout services to other mesh clients.

The same wireless mesh boards works well on other mesh sites. I am experiencing problem only with this site. The ADSL line seems to work fine cos Node 1 stays connected since the day installed. Only node 2 and node 3 goes through (bridged with) Node 1 failed most of the time. ssh between node 1, node 2 and node 3 works perfectly and so wireless connection do.

log shows no reception of rcvd packets and LCP timeouts.

Quoted 19 lines · Gilles Espinasse

Selon littleHeart <[email protected]>:

Quoted 11 lines

Hi all,

I have a problem with PPP connection timeout in my 3 nodes mesh networking system.  Node 1 is wirelessly bridged to ADSL line and wireless mesh networked to Node 2 and Node 3. Node 1 always stays up connected and ppp, internet works fine. But node 2 and node 3 has problem with  ppp connection timeout. Sometimes node 2 or node 3 has ppp vpn connection but lasts for few minutes and then gets disconnected. Following is the log message when trying to connect after disconnection.

wich ppp configuration on the client side, on server side? wich version (ppdp, kernel)?

Gilles