标签:网络 pppoe add 备份 radio efault int auto wireless
openwrt 19 网络配置备份网络配置文件
root@OpenWrt:~# cat /etc/config/network
config interface ‘loopback‘
option ifname ‘lo‘
option proto ‘static‘
option ipaddr ‘127.0.0.1‘
option netmask ‘255.0.0.0‘
config globals ‘globals‘
option ula_prefix ‘fdd8:1c62:ce10::/48‘
config interface ‘lan‘
option type ‘bridge‘
option proto ‘static‘
option ip6assign ‘60‘
list dns ‘114.114.114.114‘
option netmask ‘255.255.255.0‘
option ipaddr ‘192.168.7.1‘
config interface ‘WAN‘
option proto ‘pppoe‘
option ifname ‘eth0‘
option type ‘bridge‘
option username ‘123456789‘
option ipv6 ‘auto‘
option password ‘123456789‘
无线配置文件
root@OpenWrt:/etc/config# cat wireless
config wifi-device ‘radio0‘
option type ‘mac80211‘
option path ‘platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1‘
option legacy_rates ‘0‘
option channel ‘auto‘
option country ‘CN‘
option hwmode ‘11g‘
config wifi-iface ‘default_radio0‘
option device ‘radio0‘
option network ‘lan‘
option mode ‘ap‘
option ssid ‘OpenWrt‘
option encryption ‘none‘
option short_preamble ‘0‘
标签:网络 pppoe add 备份 radio efault int auto wireless
原文地址:https://blog.51cto.com/calm780/2520755