X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e10a12ea4479295bcd6085340240796f65069b4a..cb753468257923266ca392c7aae28b4161eef976:/package/ppp/files/ifup.pppoa diff --git a/package/ppp/files/ifup.pppoa b/package/ppp/files/ifup.pppoa index dc08aa545..449c6d53d 100644 --- a/package/ppp/files/ifup.pppoa +++ b/package/ppp/files/ifup.pppoa @@ -10,7 +10,7 @@ type=$1 exit } -for module in slhc ppp_generic pppox pppoatm; do +for module in slhc ppp_generic pppoatm; do /sbin/insmod $module 2>&- >&- done @@ -24,10 +24,9 @@ while :; do IDLETIME=$(nvram get ppp_idletime) IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) - MTU=${MTU:-1492} + MTU=${MTU:-1500} MTU=${MTU:+ mtu $MTU mru $MTU} - ifconfig $IFNAME up /usr/sbin/pppd nodetach \ plugin pppoatm.so ${VPI:-8}.${VCI:-35} \ usepeerdns \