jhtwu / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Persistant propblem with l2tp. And now crashed pptp. #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Router always worked with pptp,and worked fine,but yesterday without any reason 
refused to connect.
Syslog

Dec 9 18:16:07 notice daemon pptp[31946]: anon log[ctrlp_disp:pptp_ctrl.c:737]: 
Received Start Control Connection Reply
Dec 9 18:16:07 notice daemon pptp[31946]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 1 'Start-Control-Connection-Request'
Dec 9 18:16:07 notice daemon pptp[31943]: anon 
log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Dec 9 18:16:07 notice daemon pptp[31943]: anon 
log[callmgr_main:pptp_callmgr.c:136]: control connection
Dec 9 18:16:07 notice daemon pptp[31943]: anon 
log[callmgr_main:pptp_callmgr.c:132]: IP: 85.21.0.97
Dec 9 18:16:06 notice daemon pptp[31901]: anon 
log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Dec 9 18:16:06 notice daemon pptp[31901]: anon 
log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed

I decided to try l2tp(Before it always crashed after 30 mins..)
and result
xl2tpd[32017]: network_thread: unable to find call or tunnel to handle packet. 
call = 40498, tunnel = 30100 Dumping.

Now i updated router to 1.5.2_BETA/ from draytek v2130_r2554.all v1.5.2_RC1L 
. Results: pptp still dont work. L2tp,crashes again every 10 mins.

xl2tpd[13384]: call_close: Call 3928 to 85.21.0.97 disconnected
Jan 1 03:06:12  debug   daemon  xl2tpd[13384]: child_handler : pppd exited for call 
40888 with code 19
Jan 1 03:06:22  debug   daemon  xl2tpd[13384]: pppd 14267 successfully terminated
Jan 1 03:06:22  debug   daemon  xl2tpd[13384]: Untrustingly terminating pppd: 
sending KILL signal to pid 14267
Jan 1 03:06:22  info    daemon  xl2tpd[13384]: control_finish: Connection closed to 
85.21.0.97, port 1701 (), Local: 47188, Remote: 7074
Jan 1 03:06:21  debug   daemon  xl2tpd[13384]: network_thread: unable to find call 
or tunnel to handle packet. call = 0, tunnel = 41125 Dumping.
Jan 1 03:08:06  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:06  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:06  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:06  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:06  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:06  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:06  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:06  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:06  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:06  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:05  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:05  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:05  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.
Jan 1 03:08:05  info    daemon  xl2tpd[19047]: Can not find tunnel 35238 (refhim=0)
Jan 1 03:08:05  debug   daemon  xl2tpd[19047]: network_thread: unable to find call 
or tunnel to handle packet. call = 8234, tunnel = 35238 Dumping.

Please,help me to fix that all.

Original issue reported on code.google.com by matro.exe on 10 Dec 2011 at 6:49

GoogleCodeExporter commented 9 years ago
Now updated on your's v2130_r2384.all 
And now,l2tp crashes with 

xl2tpd[1130]: udp_xmit failed with err=-1:Resource temporarily unavailable
Dec 10 10:09:22 debug   daemon  xl2tpd[1130]: network_thread: unable to find call 
or tunnel to handle packet. call = 4513, tunnel = 35302 Dumping.
Dec 10 10:09:22 info    daemon  xl2tpd[1130]: Can not find tunnel 35302 (refhim=0)
Dec 10 10:09:22 info    daemon  xl2tpd[1130]: Connection 0 closed to 85.21.0.97, 
port 1701 (Timeout)
Dec 10 10:09:22 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:22 notice  daemon  xl2tpd[1130]: Maximum retries exceeded for tunnel 
37296. Closing.
Dec 10 10:09:21 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:19 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:18 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:17 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:16 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:16 notice  daemon  xl2tpd[1130]: Connecting to host 85.21.0.97, port 
1701
Dec 10 10:09:16 debug   daemon  xl2tpd[1130]: network_thread: unable to find call 
or tunnel to handle packet. call = 0, tunnel = 35302 Dumping.
Dec 10 10:09:16 info    daemon  xl2tpd[1130]: Can not find tunnel 35302 (refhim=0)
Dec 10 10:09:15 debug   daemon  xl2tpd[1130]: Unable to deliver closing message 
for tunnel 35302. Destroying anyway.
Dec 10 10:09:14 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:13 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:12 err daemon  xl2tpd[1130]: udp_xmit failed with err=-1:Resource 
temporarily unavailable
Dec 10 10:09:12 debug   daemon  xl2tpd[1130]: get_call: can't find call 4513 in 
tunnel 35302 (ref=0/0)

Original comment by matro.exe on 10 Dec 2011 at 7:10

GoogleCodeExporter commented 9 years ago
I suggest use PPTP in 2130. It is faster.
My pptp works fine for latest beta. Maybe you also need to check the peer site ?

check if the pptp daemon is running properly
#ps | grep pptp

Original comment by jht...@gmail.com on 12 Dec 2011 at 3:53

GoogleCodeExporter commented 9 years ago
Hay. What about L2tp? it still dont work.  It crashes in 20 secs.. my provider 
Switches everyone to l2tp soon,and ill lose internet...

Original comment by matro.exe on 14 Jul 2013 at 2:27