1 |
wellsi |
1.1 |
diff -up e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept.keep_external e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept |
2 |
|
|
--- e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept.keep_external 2010-10-06 09:35:50.000000000 -0600 |
3 |
|
|
+++ e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipcp-accept 2010-10-06 09:36:10.000000000 -0600 |
4 |
|
|
@@ -0,0 +1,2 @@ |
5 |
|
|
+ipcp-accept-local |
6 |
|
|
+ipcp-accept-remote |
7 |
|
|
diff -up e-smith-base-5.2.0/root/var/service/wan/run.pppoe.keep_external e-smith-base-5.2.0/root/var/service/wan/run.pppoe |
8 |
|
|
--- e-smith-base-5.2.0/root/var/service/wan/run.pppoe.keep_external 2007-01-26 18:56:31.000000000 -0700 |
9 |
|
|
+++ e-smith-base-5.2.0/root/var/service/wan/run.pppoe 2010-10-06 09:38:09.000000000 -0600 |
10 |
|
|
@@ -23,9 +23,10 @@ exec 2>&1 |
11 |
|
|
|
12 |
|
|
. run.pppoe.conf |
13 |
|
|
|
14 |
|
|
+extaddr=$(/sbin/e-smith/config getprop ExternalInterface IPAddress) |
15 |
|
|
|
16 |
|
|
exec \ |
17 |
|
|
/usr/local/bin/softlimit -m $PPPD_MLIMIT \ |
18 |
|
|
/usr/bin/setsid \ |
19 |
|
|
- /usr/sbin/pppd \ |
20 |
|
|
+ /usr/sbin/pppd ${extaddr:+$extaddr:} \ |
21 |
|
|
file pppoe.pppd.conf |