X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4ed38b759ee993ec152f03f811276bea7d573980..a9fb45fda8f4db076ba2a3fca5d2c46e67798549:/openwrt/package/ppp/files/ifup.pppoe?ds=sidebyside diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index 111113122..da9a441ad 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -24,7 +24,6 @@ while :; do IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) MTU=${MTU:-1492} - MTU=${MTU:+ mtu $MTU mru $MTU} ifconfig $IFNAME up /usr/sbin/pppd nodetach \ @@ -33,9 +32,10 @@ while :; do usepeerdns \ defaultroute \ linkname $type \ + ipparam $type \ user "$USERNAME" \ password "$PASSWORD" \ - $MTU \ + mtu $MTU mru $MTU \ $IDLETIME \ $REDIAL \ nic-$IFNAME