mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:11:32 +02:00
ar71xx: create TL-WA901ND network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
53b106bac4
commit
e3ad4fdef0
@ -1,16 +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 none
|
|
||||||
|
|
||||||
config interface lan
|
|
||||||
option ifname lan
|
|
||||||
option type bridge
|
|
||||||
option proto static
|
|
||||||
option ipaddr 192.168.1.1
|
|
||||||
option netmask 255.255.255.0
|
|
@ -142,6 +142,11 @@ pb92)
|
|||||||
add_switch_vlan "eth0" "2" "0t 2"
|
add_switch_vlan "eth0" "2" "0t 2"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
tl-wa901nd)
|
||||||
|
set_interface_raw "eth" "eth0"
|
||||||
|
set_interface_lan "lan"
|
||||||
|
;;
|
||||||
|
|
||||||
tl-wr1043nd)
|
tl-wr1043nd)
|
||||||
set_interfaces_lan_wan "eth0.1" "eth0.2"
|
set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||||
add_switch "rtl8366rb" "1" "1"
|
add_switch "rtl8366rb" "1" "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user