olmari: thanks for the link. I've never used an SVN repository before so I didn't know whether such a changelist is available by default (and this timeline URL is not over-adverised - I didn't find it in the Wiki under Development).
I've checked the changes since the 05.29 SP3 beta and it seems that the lcp-echo pppoe options are not among them. :-(
I'll not install the latest beta versions just to check on this one thing ... I'm happy that my router works now (I have only casual disconnects and that's not as serious as much I'd risk by switching to another beta version of DD-WRT ... who knows what things got broken in the latest builds).
Hey BrainSlayer
I have the same problem here (.ar); would be nice to have the option to configure the lcp-echo-failure.
The DSL link is up, but a'm disconnected from my ISP and the Router V24 18jun don't attempt to reconnect.
I do it with the ReSync from DMT whitout rebooting the MDM or the Router.
Thanks in advance
Carlos,
I don't know, I moved to Tomato 1.07, running over a month.
I've disconnection I guess from de ISP, I'm not shure.
But it reconnects in 1-2 minutes automatically, which not happens with WRT.
Best regards
Carlos (better in spanish/german language)
Joined: 06 Jun 2006 Posts: 7492 Location: Dresden, Germany
Posted: Tue Sep 04, 2007 12:58 Post subject:
dd-wrt does always a reconnect if pppoe gets terminated _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Yes. In my case it reconnects. However the disconnects happen every couple of minutes so it is very noticeable when the connection is down for a couple of seconds. I have yet to play an online game with my PPPoE connection but I have a feeling it's going to be impossible.
I love DDWRT and would hate to switch, how can I fix this problem!?
Joined: 06 Jun 2006 Posts: 7492 Location: Dresden, Germany
Posted: Tue Sep 04, 2007 14:37 Post subject:
the question is, why do you get disconnected. maybe your isp is fooling your or there is a problem with the adsl quality. v24 rc2 has some changes for pppoe in it. so try it out _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
A search will produce other similar situations as well.
I upgraded to SP2. It's been 18 minutes without a drop, so far so good. I set my settings as follows:
same problem here! i fixed it (hopefully) with the rc_startup script below:
cat /tmp/ppp/options.pppoe | sed -e "s/lcp-echo-failure 3/lcp-echo-failure 10/g" > /tmp/ppp/options.pppoe.new
if [ -f "/tmp/ppp/options.pppoe.new" ]; then
killall pppd
/usr/sbin/pppd file /tmp/ppp/options.pppoe.new > /dev/null
fi
its working, but every time i change something in the GUI the PPPoE link goes shortly down and afer this the new pppd process uses the original options.pppoe script. has anybody a better workaround or did i overlook a fault???
I'm not familiar with the Linux and scripting. Could you please explain in details how to implement your script and how to check that new "lcp-echo-failure" value accepted by router?
Posted: Fri Jun 10, 2016 17:59 Post subject: Disable LCP echo in options.pppoe for buggy lines
Add this script in administration->commands:Custom Script
Code:
#!/bin/sh
if [ -f "/tmp/ppp/options.pppoe" ]; then
cat "/tmp/ppp/options.pppoe" | sed -e "s/lcp-echo-failure 20/lcp-echo-failure 0/g" > /tmp/ppp/options.pppoe.gd
killall pppd
rm -f /tmp/ppp/options.pppoe
pppd file /tmp/ppp/options.pppoe.gd > /dev/null
fi
and this line in administration->management:cron
Code:
* * * * * root /tmp/custom.sh
The router will check every minute if pppd has started with LCP echo disabled. If not, it will restart pppd with custom options.
Works like a charm in TL-WR841ND v8