change pppoa default mtu, fix typo in default config

SVN-Revision: 1820
This commit is contained in:
Felix Fietkau 2005-09-01 14:10:50 +00:00
parent d9ec2f4e16
commit 6fb5c7c88e
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ while :; do
IDLETIME=$(nvram get ppp_idletime) IDLETIME=$(nvram get ppp_idletime)
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
MTU=$(nvram get ppp_mtu) MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1492} MTU=${MTU:-1500}
MTU=${MTU:+ mtu $MTU mru $MTU} MTU=${MTU:+ mtu $MTU mru $MTU}
/usr/sbin/pppd nodetach \ /usr/sbin/pppd nodetach \

View File

@ -2,7 +2,7 @@
# Uncomment the following statements to change the network configuration # Uncomment the following statements to change the network configuration
## LAN configuration ## LAN configuration
# lan_ifame="br0" # lan_ifname="br0"
# lan_proto="static" # lan_proto="static"
# lan_ipaddr="192.168.1.1" # lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0" # lan_netmask="255.255.255.0"
@ -27,5 +27,5 @@
# atm_vci=35 # atm_vci=35
# ppp_username=my_username # ppp_username=my_username
# ppp_passwd=my_passwd # ppp_passwd=my_passwd
# ppp_mtu=1492 # ppp_mtu=1500

View File

@ -2,7 +2,7 @@
# Uncomment the following statements to override the default or nvram config # Uncomment the following statements to override the default or nvram config
## LAN configuration ## LAN configuration
# lan_ifame="br0" # lan_ifname="br0"
# lan_proto="static" # lan_proto="static"
# lan_ipaddr="192.168.1.1" # lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0" # lan_netmask="255.255.255.0"

View File

@ -2,7 +2,7 @@
# Uncomment the following statements to override the default or nvram config # Uncomment the following statements to override the default or nvram config
## LAN configuration ## LAN configuration
# lan_ifame="br0" # lan_ifname="br0"
# lan_proto="static" # lan_proto="static"
# lan_ipaddr="192.168.1.1" # lan_ipaddr="192.168.1.1"
# lan_netmask="255.255.255.0" # lan_netmask="255.255.255.0"