options.pppoe

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Goto page Previous  1, 2
Author Message
muzso
DD-WRT Novice


Joined: 03 Jun 2007
Posts: 3

PostPosted: Fri Jun 08, 2007 21:25    Post subject: Reply with quote
I saw there's a new SP3 beta with 06-07-2007 date. Does it already contain the new lcp-echo-* options? Rolling Eyes
Sponsor
olmari
DD-WRT Guru


Joined: 24 Oct 2006
Posts: 1447
Location: Finland

PostPosted: Fri Jun 08, 2007 23:52    Post subject: Reply with quote
Why don't you look for yourself?

http://svn.dd-wrt.com:8000/dd-wrt/timeline
muzso
DD-WRT Novice


Joined: 03 Jun 2007
Posts: 3

PostPosted: Sun Jun 10, 2007 17:16    Post subject: Reply with quote
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).
tempengro
DD-WRT User


Joined: 09 Aug 2006
Posts: 150

PostPosted: Sat Jun 16, 2007 18:20    Post subject: Reply with quote
So will my router finally stop disconnecting from the internet randomly now?

Which SP3 build should I use?
tempengro
DD-WRT User


Joined: 09 Aug 2006
Posts: 150

PostPosted: Tue Jun 19, 2007 21:36    Post subject: Reply with quote
bump
cbiz
DD-WRT Novice


Joined: 25 Jun 2007
Posts: 2

PostPosted: Mon Jun 25, 2007 12:02    Post subject: Reply with quote
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,

BTW, very, very nice job this SW!!
blan
DD-WRT Novice


Joined: 03 Sep 2007
Posts: 5

PostPosted: Mon Sep 03, 2007 16:44    Post subject: Reply with quote
Bump,
Any progress with this? I just moved to DSL and get the random disconnects as well.
cbiz
DD-WRT Novice


Joined: 25 Jun 2007
Posts: 2

PostPosted: Mon Sep 03, 2007 17:05    Post subject: Reply with quote
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)
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7492
Location: Dresden, Germany

PostPosted: Tue Sep 04, 2007 12:58    Post subject: Reply with quote
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
blan
DD-WRT Novice


Joined: 03 Sep 2007
Posts: 5

PostPosted: Tue Sep 04, 2007 13:49    Post subject: Reply with quote
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!?
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7492
Location: Dresden, Germany

PostPosted: Tue Sep 04, 2007 14:37    Post subject: Reply with quote
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
blan
DD-WRT Novice


Joined: 03 Sep 2007
Posts: 5

PostPosted: Wed Sep 05, 2007 0:05    Post subject: Reply with quote
I don't know why it drops but it is not an isolated case:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=12911

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:
blan
DD-WRT Novice


Joined: 03 Sep 2007
Posts: 5

PostPosted: Wed Sep 05, 2007 14:18    Post subject: Reply with quote
Update:
Problem still happens. Seems like it happens around every 20 minutes. It disconnects and reconnects. Boo.
Any ideas?

Can we have an "always on" settings like other routers?
itisme
DD-WRT Novice


Joined: 23 Oct 2007
Posts: 2

PostPosted: Tue Oct 23, 2007 19:52    Post subject: Reply with quote
keks wrote:
hi

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?
understracker
DD-WRT User


Joined: 28 Oct 2014
Posts: 51

PostPosted: Fri Jun 10, 2016 17:59    Post subject: Disable LCP echo in options.pppoe for buggy lines Reply with quote
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
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum