X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fgeneric%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=e9822d5fca2aad49781cbb7f7367a30f791b7b78;hp=f868d8dc94a8938c0077116adebe8a59254a5450;hb=c459d5a710d7b74fa94721ea9f5c3fa985fef961;hpb=5fc28ef47959c1256f2553d507224bb481b08494 diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index f868d8dc94..e9822d5fca 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -27,11 +27,16 @@ ath79_setup_interfaces() devolo,dvl1750x|\ dlink,dap-1330-a1|\ dlink,dap-1365-a1|\ + dlink,dap-2230-a1|\ + dlink,dap-2660-a1|\ + dlink,dap-2680-a1|\ + dlink,dap-3320-a1|\ dlink,dir-505|\ - engenius,eap300-v2|\ + engenius,eap1200h|\ + engenius,eap600|\ engenius,ecb1200|\ engenius,ecb1750|\ - engenius,ecb350-v1|\ + engenius,ecb600|\ enterasys,ws-ap3705i|\ glinet,gl-ar300m-lite|\ glinet,gl-usb150|\ @@ -41,6 +46,12 @@ ath79_setup_interfaces() netgear,ex7300|\ ocedo,koala|\ ocedo,raccoon|\ + openmesh,mr600-v1|\ + openmesh,mr600-v2|\ + openmesh,mr900-v1|\ + openmesh,mr900-v2|\ + openmesh,mr1750-v1|\ + openmesh,mr1750-v2|\ pcs,cap324|\ pisen,ts-d084|\ pisen,wmb001n|\ @@ -61,6 +72,7 @@ ath79_setup_interfaces() tplink,re450-v2|\ tplink,re450-v3|\ tplink,tl-wr902ac-v1|\ + ubnt,bullet-ac|\ ubnt,bullet-m-ar7240|\ ubnt,bullet-m-ar7241|\ ubnt,bullet-m-xw|\ @@ -95,7 +107,10 @@ ath79_setup_interfaces() alfa-network,n5q|\ devolo,dvl1200e|\ devolo,dvl1750e|\ - ocedo,ursus) + engenius,enstationac-v1|\ + engenius,ews511ap|\ + ocedo,ursus|\ + ubnt,unifi-ap-outdoor-plus) ucidef_set_interface_lan "eth0 eth1" ;; avm,fritz4020|\ @@ -149,7 +164,10 @@ ath79_setup_interfaces() comfast,cf-e120a-v3|\ comfast,cf-e314n-v2|\ compex,wpj531-16m|\ + openmesh,om2p-v4|\ + openmesh,om2p-hs-v4|\ plasmacloud,pa300|\ + plasmacloud,pa300e|\ tplink,cpe210-v1|\ tplink,cpe220-v2|\ tplink,cpe220-v3|\ @@ -183,7 +201,12 @@ ath79_setup_interfaces() "0@eth0" "2:wan" "3:lan" "4:lan" ;; dlink,dap-2695-a1) - ucidef_add_switch "switch0" "0@eth0" "2:lan" "3:wan" "6@eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan" "3:wan" "6@eth1" + ;; + dlink,dap-3662-a1) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan:2" "2:lan:1" "6@eth1" ;; dlink,dch-g020-a1) ucidef_add_switch "switch0" \ @@ -201,6 +224,7 @@ ath79_setup_interfaces() dlink,dir-842-c3|\ dlink,dir-859-a1|\ engenius,epg5000|\ + sitecom,wlr-7100|\ tplink,archer-c2-v3|\ tplink,tl-wr1043nd-v4|\ tplink,tl-wr1043n-v5) @@ -217,19 +241,15 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "1:wan" "2:lan:3" "3:lan:2" ;; - engenius,enh202-v1) - ucidef_set_interface_wan "eth0" + engenius,eap300-v2) ucidef_add_switch "switch0" \ - "0@eth1" "4:lan:1" + "0@eth0" "1:lan" ;; engenius,ens202ext-v1) - ucidef_set_interface_wan "eth1" + ucidef_set_interface_lan "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan" ;; - engenius,ews511ap) - ucidef_set_interface_lan "eth0 eth1" "dhcp" - ;; etactica,eg200) ucidef_set_interface_lan "eth0" "dhcp" ;; @@ -244,7 +264,6 @@ ath79_setup_interfaces() iodata,wn-ac1600dgr2|\ iodata,wn-ag300dgr|\ pcs,cr5000|\ - sitecom,wlr-7100|\ wd,mynet-n750) ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" @@ -253,6 +272,11 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "5:wan" "6@eth1" "4:lan" ;; + meraki,mr12) + ucidef_set_interface_lan "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan" + ;; mercury,mw4530r-v1|\ tplink,archer-a7-v5|\ tplink,archer-c6-v2|\ @@ -375,6 +399,10 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" ;; + ubnt,aircube-ac) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan:1" "3:lan:2" "5:lan:3" "4:wan" + ;; ubnt,aircube-isp) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ @@ -471,7 +499,15 @@ ath79_setup_macs() lan_mac=$(mtd_get_mac_text "mp" 0x1) label_mac=$lan_mac ;; - dlink,dap-2695-a1) + dlink,dap-2230-a1|\ + dlink,dap-2660-a1|\ + dlink,dap-2680-a1|\ + dlink,dap-3320-a1) + lan_mac=$(mtd_get_mac_ascii bdcfg "lanmac") + label_mac=$lan_mac + ;; + dlink,dap-2695-a1|\ + dlink,dap-3662-a1) label_mac=$(mtd_get_mac_ascii bdcfg "wlanmac") ;; dlink,dir-825-b1) @@ -509,19 +545,6 @@ ath79_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) label_mac=$lan_mac ;; - engenius,enh202-v1|\ - ubnt,airrouter|\ - ubnt,bullet-m-ar7240|\ - ubnt,bullet-m-ar7241|\ - ubnt,nanobridge-m|\ - ubnt,nanostation-loco-m|\ - ubnt,nanostation-m|\ - ubnt,picostation-m|\ - ubnt,powerbridge-m|\ - ubnt,rocket-m|\ - ubnt,unifi) - label_mac=$(cat /sys/class/ieee80211/phy0/macaddress) - ;; engenius,epg5000) lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) @@ -602,6 +625,18 @@ ath79_setup_macs() wan_mac=$(mtd_get_mac_text mac 0x18) label_mac=$wan_mac ;; + ubnt,airrouter|\ + ubnt,bullet-m-ar7240|\ + ubnt,bullet-m-ar7241|\ + ubnt,nanobridge-m|\ + ubnt,nanostation-loco-m|\ + ubnt,nanostation-m|\ + ubnt,picostation-m|\ + ubnt,powerbridge-m|\ + ubnt,rocket-m|\ + ubnt,unifi) + label_mac=$(cat /sys/class/ieee80211/phy0/macaddress) + ;; ubnt,litebeam-ac-gen2|\ ubnt,nanobeam-ac-gen2|\ ubnt,powerbeam-5ac-500|\