mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 22:46:15 +00:00
45b3c620e5
AC2400 Dual-Band Gigabit Wi-Fi Router base on ipq8064. https://www.linksys.com/support-product?sku=E8350 Specification: - Qualcomm dual-core IPQ8064 @ 1.4 GHz - 512 MB of RAM - 4 MB of SPI NOR MX25U3235F - 128 MB of NAND S34MS01G2 - Qualcomm QCA9880 2.4GHz 802.11bgn - Quantenna QSR1000 5GHz 802.11ac (no support) - 4 x 10/100/1000 Mbit/s w/ vlan support Ethernet - Qualcomm Atheros QCA8337 switch - 1 x 3.0 + 1 x 2.0 (combo with eSata port) - 115200, 8N1 internal serial console - Power, Reset, WPS and WLAN buttons - Power, WPS and WLAN leds - 12 VDC, 3 A power Installation: The installation must be done using web interface of the router. To achive this new firmware-utils tool was added to set correct magic headers for the factory images. Installation from vendor firmware: 1. Flash over the native Linksys WEB interface using factory image. Installation using recovery mode: 1. Power off the device and disconnect the WAN port. (Only LAN port to be connected) 2. Press & hold the "Reset" button 3. Power on the device & wait 10 seconds with pressed "Reset" button 4. Set IP Internet Protocol on your PC from 192.168.1.0/24 network (Router is on IP 192.168.1.1) 5. Open the Firmware Recovery page in your browser: http://192.168.1.1/index.shtml Firmware Recovery -> File Name -> Recovery & Reboot The device page in inbox: https://openwrt.org/inbox/toh/linksys/linksys_ea8350_1 Signed-off-by: Sergey Filippov <sergey.filippov@outlook.com> Link: https://github.com/openwrt/openwrt/pull/15798 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
128 lines
6.3 KiB
Plaintext
128 lines
6.3 KiB
Plaintext
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
askey,rt4230w-rev6)
|
|
ucidef_set_led_netdev "wan-port-link" "WAN-PORT-LINK" "qca8k-0.0:00:green:wan" "wan" "link_10 link_100 link_1000"
|
|
ucidef_set_led_netdev "wan-port-activity" "WAN-PORT-ACTIVITY" "qca8k-0.0:00:amber:wan" "wan" "tx rx"
|
|
ucidef_set_led_netdev "lan1-port-link" "LAN1-PORT-LINK" "qca8k-0.0:01:green:lan" "lan1" "link_10 link_100 link_1000"
|
|
ucidef_set_led_netdev "lan1-port-activity" "LAN1-PORT-ACTIVITY" "qca8k-0.0:01:amber:lan" "lan1" "tx rx"
|
|
ucidef_set_led_netdev "lan2-port-link" "LAN2-PORT-LINK" "qca8k-0.0:02:green:lan" "lan2" "link_10 link_100 link_1000"
|
|
ucidef_set_led_netdev "lan2-port-activity" "LAN2-PORT-ACTIVITY" "qca8k-0.0:02:amber:lan" "lan2" "tx rx"
|
|
ucidef_set_led_netdev "lan3-port-link" "LAN3-PORT-LINK" "qca8k-0.0:03:green:lan" "lan3" "link_10 link_100 link_1000"
|
|
ucidef_set_led_netdev "lan3-port-activity" "LAN3-PORT-ACTIVITY" "qca8k-0.0:03:amber:lan" "lan3" "tx rx"
|
|
ucidef_set_led_netdev "lan4-port-link" "LAN4-PORT-LINK" "qca8k-0.0:04:green:lan" "lan4" "link_10 link_100 link_1000"
|
|
ucidef_set_led_netdev "lan4-port-activity" "LAN4-PORT-ACTIVITY" "qca8k-0.0:04:amber:lan" "lan4" "tx rx"
|
|
;;
|
|
buffalo,wxr-2533dhp)
|
|
ucidef_set_led_wlan "wlan" "WLAN" "white:wireless" "phy0tpt"
|
|
ucidef_set_led_netdev "wan" "WAN" "white:internet" "wan"
|
|
;;
|
|
compex,wpq864)
|
|
ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1" "usb2-port1"
|
|
ucidef_set_led_usbport "pcie-usb" "PCIe USB" "green:usb-pcie" "usb3-port1"
|
|
;;
|
|
edgecore,ecw5410)
|
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy1tpt"
|
|
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy0tpt"
|
|
;;
|
|
extreme,ap3935)
|
|
ucidef_set_led_netdev "wan" "wan" "orange:lan1" "eth1"
|
|
ucidef_set_led_netdev "lan" "lan" "orange:lan2" "eth0"
|
|
;;
|
|
fortinet,fap-421e)
|
|
ucidef_set_led_netdev "eth1-100" "ETH1-100" "amber:eth1" "eth0" "link_100"
|
|
ucidef_set_led_netdev "eth1-1000" "ETH1-1000" "yellow:eth1" "eth0" "link_1000"
|
|
ucidef_set_led_netdev "eth2-100" "ETH2-100" "amber:eth2" "eth1" "link_100"
|
|
ucidef_set_led_netdev "eth2-1000" "ETH2-1000" "yellow:eth2" "eth1" "link_1000"
|
|
ucidef_set_led_wlan "wlan2g" "2.4G" "yellow:2g" "phy1tpt"
|
|
ucidef_set_led_wlan "wlan5g" "5G" "yellow:5g" "phy0tpt"
|
|
ucidef_set_led_usbport "usb" "USB" "amber:power" "usb1-port1" "usb2-port1"
|
|
;;
|
|
linksys,e8350-v1)
|
|
ucidef_set_led_wlan "wlan" "WLAN" "green:wifi" "phy0tpt"
|
|
;;
|
|
meraki,mr52)
|
|
ucidef_set_led_netdev "eth0" "eth0" "green:lan1" "eth0"
|
|
ucidef_set_led_netdev "eth1" "eth1" "green:lan2" "eth1"
|
|
;;
|
|
nec,wg2600hp)
|
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy1tpt"
|
|
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy0tpt"
|
|
ucidef_set_led_netdev "wan" "WAN" "green:active" "wan"
|
|
;;
|
|
nec,wg2600hp3)
|
|
ucidef_set_led_netdev "wan" "WAN" "green:active" "wan"
|
|
ucidef_set_led_netdev "wan-port-10" "WAN-PORT-10" "qca8k-0.0:00:green:wan-1" "wan" "tx rx link_10"
|
|
ucidef_set_led_netdev "wan-port-100" "WAN-PORT-100" "qca8k-0.0:00:green:wan-2" "wan" "tx rx link_100"
|
|
ucidef_set_led_netdev "wan-port-1000" "WAN-PORT-1000" "qca8k-0.0:00:green:wan-3" "wan" "tx rx link_1000"
|
|
ucidef_set_led_netdev "lan1-port-10" "LAN1-PORT-10" "qca8k-0.0:01:green:lan-1" "lan1" "tx rx link_10"
|
|
ucidef_set_led_netdev "lan1-port-100" "LAN1-PORT-100" "qca8k-0.0:01:green:lan-2" "lan1" "tx rx link_100"
|
|
ucidef_set_led_netdev "lan1-port-1000" "LAN1-PORT-1000" "qca8k-0.0:01:green:lan-3" "lan1" "tx rx link_1000"
|
|
ucidef_set_led_netdev "lan2-port-10" "LAN2-PORT-10" "qca8k-0.0:02:green:lan-1" "lan2" "tx rx link_10"
|
|
ucidef_set_led_netdev "lan2-port-100" "LAN2-PORT-100" "qca8k-0.0:02:green:lan-2" "lan2" "tx rx link_100"
|
|
ucidef_set_led_netdev "lan2-port-1000" "LAN2-PORT-1000" "qca8k-0.0:02:green:lan-3" "lan2" "tx rx link_1000"
|
|
ucidef_set_led_netdev "lan3-port-10" "LAN3-PORT-10" "qca8k-0.0:03:green:lan-1" "lan3" "tx rx link_10"
|
|
ucidef_set_led_netdev "lan3-port-100" "LAN3-PORT-100" "qca8k-0.0:03:green:lan-2" "lan3" "tx rx link_100"
|
|
ucidef_set_led_netdev "lan3-port-1000" "LAN3-PORT-1000" "qca8k-0.0:03:green:lan-3" "lan3" "tx rx link_1000"
|
|
ucidef_set_led_netdev "lan4-port-10" "LAN4-PORT-10" "qca8k-0.0:04:green:lan-1" "lan4" "tx rx link_10"
|
|
ucidef_set_led_netdev "lan4-port-100" "LAN4-PORT-100" "qca8k-0.0:04:green:lan-2" "lan4" "tx rx link_100"
|
|
ucidef_set_led_netdev "lan4-port-1000" "LAN4-PORT-1000" "qca8k-0.0:04:green:lan-3" "lan4" "tx rx link_1000"
|
|
;;
|
|
netgear,d7800 |\
|
|
netgear,r7500 |\
|
|
netgear,r7500v2 |\
|
|
netgear,r7800 |\
|
|
netgear,xr450 |\
|
|
netgear,xr500)
|
|
ucidef_set_led_usbport "usb1" "USB 1" "white:usb1" "usb1-port1" "usb2-port1"
|
|
ucidef_set_led_usbport "usb2" "USB 2" "white:usb2" "usb3-port1" "usb4-port1"
|
|
ucidef_set_led_netdev "wan" "WAN" "white:wan" "wan"
|
|
ucidef_set_led_ide "esata" "eSATA" "white:esata"
|
|
;;
|
|
nokia,ac400i)
|
|
ucidef_set_led_wlan "wlan5g" "5G" "green:wlan5g" "wlan0"
|
|
ucidef_set_led_wlan "wlan2g" "2.4G" "green:wlan2g" "wlan1"
|
|
ucidef_set_led_netdev "eth1" "ETH1" "green:eth1" "eth0"
|
|
ucidef_set_led_netdev "eth2" "ETH2" "green:eth2" "eth1"
|
|
ucidef_set_led_default "ctrl" "CTRL" "green:ctrl" "0"
|
|
ucidef_set_led_default "pwr" "PWR" "green:power" "1"
|
|
;;
|
|
tplink,ad7200)
|
|
ucidef_set_led_usbport "usb1" "USB 1" "blue:usb1" "usb1-port1" "usb2-port1"
|
|
ucidef_set_led_usbport "usb2" "USB 2" "blue:usb3" "usb3-port1" "usb4-port1"
|
|
ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan"
|
|
ucidef_set_led_netdev "lan" "lan" "blue:lan" "br-lan"
|
|
ucidef_set_led_wlan "wlan2g" "wlan2g" "blue:wlan2g" "phy2tpt"
|
|
ucidef_set_led_wlan "wlan5g" "wlan5g" "blue:wlan5g" "phy1tpt"
|
|
ucidef_set_led_netdev "wlan60g" "wlan60g" "blue:wlan60g" "wlan0"
|
|
;;
|
|
tplink,c2600)
|
|
ucidef_set_led_usbport "usb1" "USB 1" "white:usb_2" "usb1-port1" "usb2-port1"
|
|
ucidef_set_led_usbport "usb2" "USB 2" "white:usb_4" "usb3-port1" "usb4-port1"
|
|
ucidef_set_led_netdev "wan" "wan" "white:wan" "wan"
|
|
ucidef_set_led_netdev "lan" "lan" "white:lan" "br-lan"
|
|
;;
|
|
tplink,vr2600v)
|
|
ucidef_set_led_usbport "usb" "USB" "white:usb" "usb1-port1" "usb2-port1" "usb3-port1" "usb4-port1"
|
|
ucidef_set_led_netdev "lan" "lan" "white:lan" "br-lan"
|
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "white:wlan2g" "phy0tpt"
|
|
ucidef_set_led_wlan "wlan5g" "WLAN5G" "white:wlan5g" "phy1tpt"
|
|
ucidef_set_led_netdev "wan" "WAN" "white:wan" "wan"
|
|
;;
|
|
zyxel,nbg6817)
|
|
ucidef_set_led_netdev "wan" "WAN" "white:internet" "wan"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|