mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 19:18:37 +02:00
change pppoa default mtu, fix typo in default config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1820 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7338f65c77
commit
37bdab8d57
@ -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 \
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user