change pppoa default mtu, fix typo in default config

SVN-Revision: 1820
master
Felix Fietkau 20 years ago
parent d9ec2f4e16
commit 6fb5c7c88e
  1. 2
      openwrt/package/ppp/files/ifup.pppoa
  2. 4
      openwrt/target/linux/package/openwrt/files/ar7/etc/config/network
  3. 2
      openwrt/target/linux/package/openwrt/files/brcm/etc/config/network
  4. 2
      openwrt/target/linux/package/openwrt/files/soekris/etc/config/network

@ -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 \

@ -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

@ -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"

@ -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"

Loading…
Cancel
Save