From 99b70e3c42a917bb1bd4a703705ecdf4a17b7472 Mon Sep 17 00:00:00 2001 From: remittor Date: Thu, 19 Oct 2023 15:40:38 +0300 Subject: [PATCH] Add rb06 target --- rb06.config | 34 ++++++++++++++++++++++++++++++++++ rb06.netports | 24 ++++++++++++++++++++++++ rb06_menu.json | 26 ++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 rb06.config create mode 100644 rb06.netports create mode 100644 rb06_menu.json diff --git a/rb06.config b/rb06.config new file mode 100644 index 0000000..564b851 --- /dev/null +++ b/rb06.config @@ -0,0 +1,34 @@ +CONFIG_TARGET_mediatek=y +CONFIG_TARGET_mediatek_filogic=y +CONFIG_TARGET_mediatek_filogic_DEVICE_xiaomi_redmi-router-ax6000-stock=y + +#include _addons.config +#include _base.config +#include _wifi_en.config +#include _proxy.config +#include _argon.config +#include _vpn.config + +### Luci dashboard +CONFIG_PACKAGE_luci-mod-dashboard=y +CONFIG_PACKAGE_luci-i18n-dashboard-ru=y + +### Network Ports viewer +CONFIG_PACKAGE_luci-app-tn-netports=y +CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y + +### Network traffic +CONFIG_PACKAGE_luci-app-sqm=y +CONFIG_PACKAGE_luci-i18n-sqm-ru=y + +### TimeControl +#CONFIG_PACKAGE_luci-app-timecontrol=m + +### DNSMasq +CONFIG_PACKAGE_dnsmasq-full=y + +### Network speed test tools +CONFIG_PACKAGE_luci-app-netspeedtest=y + + + diff --git a/rb06.netports b/rb06.netports new file mode 100644 index 0000000..f1b6a8f --- /dev/null +++ b/rb06.netports @@ -0,0 +1,24 @@ +config global 'global' + option default_additional_info '0' + option default_h_mode '1' + option hv_mode_switch_button '1' + +config port + option ifname 'wan' + option name 'WAN' + option type 'copper' + +config port + option ifname 'lan2' + option name 'LAN 1' + option type 'copper' + +config port + option ifname 'lan3' + option name 'LAN 2' + option type 'copper' + +config port + option ifname 'lan4' + option name 'LAN 3' + option type 'copper' diff --git a/rb06_menu.json b/rb06_menu.json new file mode 100644 index 0000000..3f4a00e --- /dev/null +++ b/rb06_menu.json @@ -0,0 +1,26 @@ +{ + "nas": { + "title": "NAS", + "order": 45, + "items": [ + [ "nas", "filebrowser" ], + [ "services", "samba4" ], + [ "services", "aria2" ], + [ "services", "transmission" ], + [ "system", "diskman" ], + [ "services", "disks-info" ], + [ "services", "hd_idle" ], + [ "services", "minidlna" ] + ] + }, + "vpn": { + "title": "VPN", + "order": 70, + "items": [ + [ "vpn", "openvpn" ], + [ "status", "wireguard" ], + [ "services", "shadowsocks-libev" ], + [ "services", "shadowsocks" ] + ] + } +}