Add support Xiaomi R3G and RB03
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"order": 45,
|
"order": 45,
|
||||||
"items": [
|
"items": [
|
||||||
[ "nas", "filebrowser" ],
|
[ "nas", "filebrowser" ],
|
||||||
|
[ "services", "aria2" ],
|
||||||
[ "services", "samba4" ],
|
[ "services", "samba4" ],
|
||||||
[ "services", "transmission" ],
|
[ "services", "transmission" ],
|
||||||
[ "system", "diskman" ],
|
[ "system", "diskman" ],
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"order": 45,
|
"order": 45,
|
||||||
"items": [
|
"items": [
|
||||||
[ "nas", "filebrowser" ],
|
[ "nas", "filebrowser" ],
|
||||||
|
[ "services", "aria2" ],
|
||||||
[ "services", "samba4" ],
|
[ "services", "samba4" ],
|
||||||
[ "services", "transmission" ],
|
[ "services", "transmission" ],
|
||||||
[ "system", "diskman" ],
|
[ "system", "diskman" ],
|
||||||
|
|||||||
43
r3g.config
Normal file
43
r3g.config
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
CONFIG_TARGET_ramips=y
|
||||||
|
CONFIG_TARGET_ramips_mt7621=y
|
||||||
|
CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mi-router-3g=y
|
||||||
|
|
||||||
|
#include _addons.config
|
||||||
|
#include _base.config
|
||||||
|
#include _wifi_en.config
|
||||||
|
#include _printer.config
|
||||||
|
#include _samba.config
|
||||||
|
#include _torrents.config
|
||||||
|
#include _proxy.config
|
||||||
|
#include _argon.config
|
||||||
|
|
||||||
|
### Luci dashboard
|
||||||
|
CONFIG_PACKAGE_luci-mod-dashboard=y
|
||||||
|
CONFIG_PACKAGE_luci-i18n-dashboard-ru=y
|
||||||
|
|
||||||
|
### HDD tools
|
||||||
|
CONFIG_PACKAGE_smartmontools=y
|
||||||
|
CONFIG_PACKAGE_hdparm=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
|
||||||
|
|
||||||
|
### FileBrowser
|
||||||
|
CONFIG_PACKAGE_wget-ssl=y
|
||||||
|
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||||
|
|
||||||
|
### DNSMasq
|
||||||
|
CONFIG_PACKAGE_dnsmasq-full=y
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
19
r3g.netports
Normal file
19
r3g.netports
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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 'lan1'
|
||||||
|
option name 'LAN 1'
|
||||||
|
option type 'copper'
|
||||||
|
|
||||||
|
config port
|
||||||
|
option ifname 'lan2'
|
||||||
|
option name 'LAN 2'
|
||||||
|
option type 'copper'
|
||||||
16
r3g_menu.json
Normal file
16
r3g_menu.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"nas": {
|
||||||
|
"title": "NAS",
|
||||||
|
"order": 45,
|
||||||
|
"items": [
|
||||||
|
[ "nas", "filebrowser" ],
|
||||||
|
[ "services", "samba4" ],
|
||||||
|
[ "services", "aria2" ],
|
||||||
|
[ "services", "transmission" ],
|
||||||
|
[ "system", "diskman" ],
|
||||||
|
[ "services", "disks-info" ],
|
||||||
|
[ "services", "hd_idle" ],
|
||||||
|
[ "services", "minidlna" ]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
39
rb03.config
Normal file
39
rb03.config
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
CONFIG_TARGET_mediatek=y
|
||||||
|
CONFIG_TARGET_mediatek_mt7622=y
|
||||||
|
CONFIG_TARGET_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
|
||||||
|
|
||||||
|
#include _addons.config
|
||||||
|
#include _base.config
|
||||||
|
#include _wifi_en.config
|
||||||
|
###include _printer.config
|
||||||
|
#include _samba.config
|
||||||
|
#include _torrents.config
|
||||||
|
#include _proxy.config
|
||||||
|
#include _argon.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
|
||||||
|
|
||||||
|
### FileBrowser
|
||||||
|
CONFIG_PACKAGE_wget-ssl=y
|
||||||
|
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||||
|
|
||||||
|
### DNSMasq
|
||||||
|
CONFIG_PACKAGE_dnsmasq-full=y
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
24
rb03.netports
Normal file
24
rb03.netports
Normal file
@@ -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 'lan1'
|
||||||
|
option name 'LAN 1'
|
||||||
|
option type 'copper'
|
||||||
|
|
||||||
|
config port
|
||||||
|
option ifname 'lan2'
|
||||||
|
option name 'LAN 2'
|
||||||
|
option type 'copper'
|
||||||
|
|
||||||
|
config port
|
||||||
|
option ifname 'lan3'
|
||||||
|
option name 'LAN 3'
|
||||||
|
option type 'copper'
|
||||||
16
rb03_menu.json
Normal file
16
rb03_menu.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"nas": {
|
||||||
|
"title": "NAS",
|
||||||
|
"order": 45,
|
||||||
|
"items": [
|
||||||
|
[ "nas", "filebrowser" ],
|
||||||
|
[ "services", "samba4" ],
|
||||||
|
[ "services", "aria2" ],
|
||||||
|
[ "services", "transmission" ],
|
||||||
|
[ "system", "diskman" ],
|
||||||
|
[ "services", "disks-info" ],
|
||||||
|
[ "services", "hd_idle" ],
|
||||||
|
[ "services", "minidlna" ]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user