mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:27:42 +02:00
ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with a single ethernet interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28818 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a36f263be
commit
15334c9058
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -1,11 +0,0 @@
|
||||
config 'interface' 'loopback'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
|
||||
config 'interface' 'eth'
|
||||
option 'ifname' 'eth0'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '192.168.1.1'
|
||||
option 'netmask' '255.255.255.0'
|
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -1,12 +0,0 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
@ -55,6 +55,16 @@ set_interface_loopback
|
||||
board=$(ar71xx_board_name)
|
||||
|
||||
case "$board" in
|
||||
aw-nr580 |\
|
||||
bullet-m |\
|
||||
eap7660d |\
|
||||
rb-411 |\
|
||||
tl-wa901nd-v2 |\
|
||||
tl-wr703n |\
|
||||
wp543)
|
||||
set_interface_lan "eth0"
|
||||
;;
|
||||
|
||||
*)
|
||||
set_interfaces_lan_wan "eth0" "eth1"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user