From 10aafd381edf98d6409b7459a5bea390acd55dc7 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 1 Sep 2005 14:10:50 +0000 Subject: [PATCH] change pppoa default mtu, fix typo in default config git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1820 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ppp/files/ifup.pppoa | 2 +- target/linux/package/openwrt/files/ar7/etc/config/network | 4 ++-- target/linux/package/openwrt/files/brcm/etc/config/network | 2 +- target/linux/package/openwrt/files/soekris/etc/config/network | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/ppp/files/ifup.pppoa b/package/ppp/files/ifup.pppoa index 7fac6ccac..449c6d53d 100644 --- a/package/ppp/files/ifup.pppoa +++ b/package/ppp/files/ifup.pppoa @@ -24,7 +24,7 @@ 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} /usr/sbin/pppd nodetach \ diff --git a/target/linux/package/openwrt/files/ar7/etc/config/network b/target/linux/package/openwrt/files/ar7/etc/config/network index 1e7bb8e71..9487a7426 100644 --- a/target/linux/package/openwrt/files/ar7/etc/config/network +++ b/target/linux/package/openwrt/files/ar7/etc/config/network @@ -2,7 +2,7 @@ # Uncomment the following statements to change the network configuration ## LAN configuration -# lan_ifame="br0" +# lan_ifname="br0" # lan_proto="static" # lan_ipaddr="192.168.1.1" # lan_netmask="255.255.255.0" @@ -27,5 +27,5 @@ # atm_vci=35 # ppp_username=my_username # ppp_passwd=my_passwd -# ppp_mtu=1492 +# ppp_mtu=1500 diff --git a/target/linux/package/openwrt/files/brcm/etc/config/network b/target/linux/package/openwrt/files/brcm/etc/config/network index 84720852d..ee8e02043 100644 --- a/target/linux/package/openwrt/files/brcm/etc/config/network +++ b/target/linux/package/openwrt/files/brcm/etc/config/network @@ -2,7 +2,7 @@ # Uncomment the following statements to override the default or nvram config ## LAN configuration -# lan_ifame="br0" +# lan_ifname="br0" # lan_proto="static" # lan_ipaddr="192.168.1.1" # lan_netmask="255.255.255.0" diff --git a/target/linux/package/openwrt/files/soekris/etc/config/network b/target/linux/package/openwrt/files/soekris/etc/config/network index 8383edbb5..5682cfe62 100644 --- a/target/linux/package/openwrt/files/soekris/etc/config/network +++ b/target/linux/package/openwrt/files/soekris/etc/config/network @@ -2,7 +2,7 @@ # Uncomment the following statements to override the default or nvram config ## LAN configuration -# lan_ifame="br0" +# lan_ifname="br0" # lan_proto="static" # lan_ipaddr="192.168.1.1" # lan_netmask="255.255.255.0"