X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8cecd99d4a179c37aa4b841667524054392ebaad..a32eb2e9dafb837e4c6e1abebd64a2cd9e3c7296:/openwrt/package/ppp/files/ifup.pppoa?ds=sidebyside diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index dc08aa545..51b0fe334 100644 --- a/openwrt/package/ppp/files/ifup.pppoa +++ b/openwrt/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,8 @@ while :; do IDLETIME=$(nvram get ppp_idletime) IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) - MTU=${MTU:-1492} - MTU=${MTU:+ mtu $MTU mru $MTU} + MTU=${MTU:-1500} - ifconfig $IFNAME up /usr/sbin/pppd nodetach \ plugin pppoatm.so ${VPI:-8}.${VCI:-35} \ usepeerdns \ @@ -35,7 +33,7 @@ while :; do linkname $type \ user "$USERNAME" \ password "$PASSWORD" \ - $MTU \ + mtu $MTU mru $MTU \ $IDLETIME \ $REDIAL