teraapi DD-WRT Novice
Joined: 27 May 2012 Posts: 1
|
Posted: Sun May 27, 2012 11:58 Post subject: Idle time Auto-disconnection |
|
Hi,
I wish to fix below. Currently (when ppp_demand=1 & PPPoE), "pppd file /tmp/ppp/options.pppoe" not started.
src/router/services/networking/network.c @3405
"idle %s\n"
- "10.112.112.112:10.112.112.113\n"
"lcp-echo-interval %d\n"
"lcp-echo-failure 10\n"
- "ipcp-accept-remote\n"
- "ipcp-accept-local\n"
- "connect true\n" "ktune\n", idletime,
+ , idletime,
Idle Disconnection ON:
nvram set ppp_idletime=[min] (example (10min): nvram set ppp_idletime=10)
nvram set ppp_demand=1
nvram commit
Press Config button in http://[router]/Services.asp
Off:
nvram set ppp_demand=0
nvram commit
Press Config button in http://[router]/Services.asp
Tips:
When can't connection, Run command ("pppd file /tmp/ppp/options.pppoe") in "http://[router]/Diagnostics.asp". |
|