mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
change pppoa default mtu, fix typo in default config
SVN-Revision: 1820
This commit is contained in:
parent
d9ec2f4e16
commit
6fb5c7c88e
@ -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…
Reference in New Issue
Block a user