From 60b43f4b8a686c476bc664a8a487f4e910ea7dee Mon Sep 17 00:00:00 2001 From: Road <496814664@qq.com> Date: Wed, 29 Dec 2021 14:07:41 +0800 Subject: [PATCH] change config --- README.md | 56 ++++++++++------ openwrt.config | 176 ++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 173 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 5daa89f..2518ee7 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,51 @@ 大R杂货 迷你4G无线路由 双频WiFi支持5G 随身便携 OpenWrt系统 + MagicBox AC750 双频路由 QCA9531+9887 -配置:16M 闪存 / 128M内存 -## 硬件相关: -高通 QCA9531 550Mhz CPU + 9887 5G Wi-Fi 芯片, -16M闪存 / 128M内存 -433Mbps + 300Mbps 双频 Wi-Fi -USB 扩展口( LTE 版两个 / Wi-Fi 版一个) -两个百兆网口(默认 1WAN 1LAN) -TF 卡槽(Wi-Fi 版无) -LTE 版采用 Type-C 供电 / Wi-Fi 版采用 Micro USB 供电。 +![](https://raw.githubusercontent.com/Road-tech/Road-blog-Figure/main/2021/12/29-11-14-55-IMG_2409.JPG) + +## 硬件配置: + +- 高通 QCA9531 550Mhz CPU + 9887 5G Wi-Fi 芯片 + +- 16M闪存 / 128M内存 + +- 433Mbps + 300Mbps 双频 Wi-Fi + +- USB 扩展口( LTE 版两个 / Wi-Fi 版一个) + +- 两个百兆网口(默认 1WAN 1LAN) + +- TF 卡槽(Wi-Fi 版无) + +- LTE 版为 Type-C 供电 / Wi-Fi 版为 Micro USB 供电。 -4G LTE 版采用黑色尼龙材质3D打印外壳 -Wi-Fi 版继续采用亚克力外壳 +- 4G LTE 版为下图3D打印的黑色尼龙外壳 / Wi-Fi 版为上图亚克力外壳 + + ![](https://raw.githubusercontent.com/Road-tech/Road-blog-Figure/main/2021/12/29-11-14-45-IMG_2410.JPG) -## 固件相关 +- ## 固件相关 此固件基于原版openwrt 19.07,以纯净稳定为特色。 -考虑到9531的性能和闪存大小,只加入少量应用,没有加入任何爬墙功能(放不下也没意义)。 + +考虑到9531的性能和闪存大小,只加入少量应用,如果需要集成更多应用的版本,可以选择基于[coolsnowwolf](https://github.com/coolsnowwolf)的[lede稳定版](https://github.com/coolsnowwolf/openwrt)固件,[点击跳转](https://github.com/Road-tech/Openwrt-AC750-QCA9531-9887)。 + 默认集成LTE所需的kmod-usb-net、kmod-usb-net-rndis、usb-modeswitch驱动,默认添加WWAN网卡和防火墙,默认开启WIFI,开箱即用,无需手动配置。 + 如果需要定制,可以自行fork修改,都有详细备注。 ## Openwrt配置相关 -默认管理页面: 192.168.8.1 -默认密码: password -默认SSID:Road-MagicBox -LTE/4G 接口自动设置 +- 默认管理页面: 192.168.8.1 -自动编译脚本源自[P3TERX](https://github.com/P3TERX)/[Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt) -脚本使用说明: -[English](https://github.com/P3TERX/Actions-OpenWrt) | [中文](https://p3terx.com/archives/build-openwrt-with-github-actions.html) +- 默认密码: password +- 默认SSID:Road-MagicBox + +- LTE/4G 接口自动设置 + +## Openwrt 集成应用 + +自动编译脚本源自[P3TERX](https://github.com/P3TERX)/[Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt) +脚本使用说明:[English](https://github.com/P3TERX/Actions-OpenWrt) | [中文](https://p3terx.com/archives/build-openwrt-with-github-actions.html) diff --git a/openwrt.config b/openwrt.config index 28a4c46..bef3def 100644 --- a/openwrt.config +++ b/openwrt.config @@ -4252,7 +4252,7 @@ CONFIG_PACKAGE_libjson-c=y # CONFIG_PACKAGE_libkmod is not set # CONFIG_PACKAGE_libldns is not set # CONFIG_PACKAGE_libloragw is not set -# CONFIG_PACKAGE_libltdl is not set +CONFIG_PACKAGE_libltdl=y CONFIG_PACKAGE_liblua=y CONFIG_PACKAGE_liblucihttp=y CONFIG_PACKAGE_liblucihttp-lua=y @@ -4343,7 +4343,7 @@ CONFIG_PACKAGE_libnl-tiny=y # CONFIG_PACKAGE_libredblack is not set # CONFIG_PACKAGE_librouteros is not set # CONFIG_PACKAGE_libroxml is not set -# CONFIG_PACKAGE_librrd1 is not set +CONFIG_PACKAGE_librrd1=y # CONFIG_PACKAGE_librsocket-cpp is not set # CONFIG_PACKAGE_librtlsdr is not set # CONFIG_PACKAGE_libruby is not set @@ -4559,7 +4559,7 @@ CONFIG_PACKAGE_luci-mod-system=y # # CONFIG_PACKAGE_luci-app-acme is not set # CONFIG_PACKAGE_luci-app-adblock is not set -CONFIG_PACKAGE_luci-app-advanced-reboot=y +# CONFIG_PACKAGE_luci-app-advanced-reboot is not set # CONFIG_PACKAGE_luci-app-ahcp is not set CONFIG_PACKAGE_luci-app-aria2=y # CONFIG_PACKAGE_luci-app-attendedsysupgrade is not set @@ -4614,7 +4614,7 @@ CONFIG_PACKAGE_luci-app-opkg=y # CONFIG_PACKAGE_luci-app-radicale2 is not set # CONFIG_PACKAGE_luci-app-rosy-file-server is not set # CONFIG_PACKAGE_luci-app-rp-pppoe-server is not set -# CONFIG_PACKAGE_luci-app-samba is not set +CONFIG_PACKAGE_luci-app-samba=y # CONFIG_PACKAGE_luci-app-samba4 is not set # CONFIG_PACKAGE_luci-app-shadowsocks-libev is not set # CONFIG_PACKAGE_luci-app-shairplay is not set @@ -4624,7 +4624,7 @@ CONFIG_PACKAGE_luci-app-opkg=y # CONFIG_PACKAGE_luci-app-splash is not set # CONFIG_PACKAGE_luci-app-sqm is not set # CONFIG_PACKAGE_luci-app-squid is not set -# CONFIG_PACKAGE_luci-app-statistics is not set +CONFIG_PACKAGE_luci-app-statistics=y # CONFIG_PACKAGE_luci-app-tinyproxy is not set # CONFIG_PACKAGE_luci-app-transmission is not set # CONFIG_PACKAGE_luci-app-travelmate is not set @@ -4674,7 +4674,7 @@ CONFIG_PACKAGE_luci-proto-ppp=y # CONFIG_PACKAGE_luci-lib-httpprotoutils is not set CONFIG_PACKAGE_luci-lib-ip=y CONFIG_PACKAGE_luci-lib-ipkg=y -# CONFIG_PACKAGE_luci-lib-iptparser is not set +CONFIG_PACKAGE_luci-lib-iptparser=y # CONFIG_PACKAGE_luci-lib-jquery-1-4 is not set # CONFIG_PACKAGE_luci-lib-json is not set CONFIG_PACKAGE_luci-lib-jsonc=y @@ -4693,35 +4693,6 @@ CONFIG_PACKAGE_luci-lib-nixio_notls=y # CONFIG_PACKAGE_freifunk-policyrouting is not set # CONFIG_PACKAGE_freifunk-watchdog is not set # CONFIG_PACKAGE_meshwizard is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-bg is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ca is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-cs is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-de is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-el is not set -CONFIG_PACKAGE_luci-i18n-advanced-reboot-en=y -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-es is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-fr is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-he is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-hi is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-hu is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-it is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ja is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ko is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-mr is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ms is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-no is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-pl is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-pt is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-pt-br is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ro is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-ru is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-sk is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-sv is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-tr is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-uk is not set -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-vi is not set -CONFIG_PACKAGE_luci-i18n-advanced-reboot-zh-cn=y -# CONFIG_PACKAGE_luci-i18n-advanced-reboot-zh-tw is not set # CONFIG_PACKAGE_luci-i18n-aria2-bg is not set # CONFIG_PACKAGE_luci-i18n-aria2-ca is not set # CONFIG_PACKAGE_luci-i18n-aria2-cs is not set @@ -4896,6 +4867,64 @@ CONFIG_PACKAGE_luci-i18n-opkg-en=y # CONFIG_PACKAGE_luci-i18n-opkg-vi is not set CONFIG_PACKAGE_luci-i18n-opkg-zh-cn=y # CONFIG_PACKAGE_luci-i18n-opkg-zh-tw is not set +# CONFIG_PACKAGE_luci-i18n-samba-bg is not set +# CONFIG_PACKAGE_luci-i18n-samba-ca is not set +# CONFIG_PACKAGE_luci-i18n-samba-cs is not set +# CONFIG_PACKAGE_luci-i18n-samba-de is not set +# CONFIG_PACKAGE_luci-i18n-samba-el is not set +CONFIG_PACKAGE_luci-i18n-samba-en=y +# CONFIG_PACKAGE_luci-i18n-samba-es is not set +# CONFIG_PACKAGE_luci-i18n-samba-fr is not set +# CONFIG_PACKAGE_luci-i18n-samba-he is not set +# CONFIG_PACKAGE_luci-i18n-samba-hi is not set +# CONFIG_PACKAGE_luci-i18n-samba-hu is not set +# CONFIG_PACKAGE_luci-i18n-samba-it is not set +# CONFIG_PACKAGE_luci-i18n-samba-ja is not set +# CONFIG_PACKAGE_luci-i18n-samba-ko is not set +# CONFIG_PACKAGE_luci-i18n-samba-mr is not set +# CONFIG_PACKAGE_luci-i18n-samba-ms is not set +# CONFIG_PACKAGE_luci-i18n-samba-no is not set +# CONFIG_PACKAGE_luci-i18n-samba-pl is not set +# CONFIG_PACKAGE_luci-i18n-samba-pt is not set +# CONFIG_PACKAGE_luci-i18n-samba-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-samba-ro is not set +# CONFIG_PACKAGE_luci-i18n-samba-ru is not set +# CONFIG_PACKAGE_luci-i18n-samba-sk is not set +# CONFIG_PACKAGE_luci-i18n-samba-sv is not set +# CONFIG_PACKAGE_luci-i18n-samba-tr is not set +# CONFIG_PACKAGE_luci-i18n-samba-uk is not set +# CONFIG_PACKAGE_luci-i18n-samba-vi is not set +CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-samba-zh-tw is not set +# CONFIG_PACKAGE_luci-i18n-statistics-bg is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ca is not set +# CONFIG_PACKAGE_luci-i18n-statistics-cs is not set +# CONFIG_PACKAGE_luci-i18n-statistics-de is not set +# CONFIG_PACKAGE_luci-i18n-statistics-el is not set +CONFIG_PACKAGE_luci-i18n-statistics-en=y +# CONFIG_PACKAGE_luci-i18n-statistics-es is not set +# CONFIG_PACKAGE_luci-i18n-statistics-fr is not set +# CONFIG_PACKAGE_luci-i18n-statistics-he is not set +# CONFIG_PACKAGE_luci-i18n-statistics-hi is not set +# CONFIG_PACKAGE_luci-i18n-statistics-hu is not set +# CONFIG_PACKAGE_luci-i18n-statistics-it is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ja is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ko is not set +# CONFIG_PACKAGE_luci-i18n-statistics-mr is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ms is not set +# CONFIG_PACKAGE_luci-i18n-statistics-no is not set +# CONFIG_PACKAGE_luci-i18n-statistics-pl is not set +# CONFIG_PACKAGE_luci-i18n-statistics-pt is not set +# CONFIG_PACKAGE_luci-i18n-statistics-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ro is not set +# CONFIG_PACKAGE_luci-i18n-statistics-ru is not set +# CONFIG_PACKAGE_luci-i18n-statistics-sk is not set +# CONFIG_PACKAGE_luci-i18n-statistics-sv is not set +# CONFIG_PACKAGE_luci-i18n-statistics-tr is not set +# CONFIG_PACKAGE_luci-i18n-statistics-uk is not set +# CONFIG_PACKAGE_luci-i18n-statistics-vi is not set +CONFIG_PACKAGE_luci-i18n-statistics-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-statistics-zh-tw is not set # CONFIG_PACKAGE_luci-i18n-ttyd-bg is not set # CONFIG_PACKAGE_luci-i18n-ttyd-ca is not set # CONFIG_PACKAGE_luci-i18n-ttyd-cs is not set @@ -5918,7 +5947,8 @@ CONFIG_PACKAGE_ppp-mod-pppoe=y # CONFIG_PACKAGE_samba36-client is not set # CONFIG_PACKAGE_samba36-hotplug is not set # CONFIG_PACKAGE_samba36-net is not set -# CONFIG_PACKAGE_samba36-server is not set +CONFIG_PACKAGE_samba36-server=y +CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 # CONFIG_PACKAGE_samba4-admin is not set # CONFIG_PACKAGE_samba4-client is not set # CONFIG_PACKAGE_samba4-libs is not set @@ -6259,7 +6289,7 @@ CONFIG_PACKAGE_ttyd=y # CONFIG_PACKAGE_pgsql-cli-extra is not set # CONFIG_PACKAGE_pgsql-server is not set # CONFIG_PACKAGE_rrdcgi1 is not set -# CONFIG_PACKAGE_rrdtool1 is not set +CONFIG_PACKAGE_rrdtool1=y # CONFIG_PACKAGE_sqlite3-cli is not set # CONFIG_PACKAGE_unixodbc-tools is not set @@ -6295,7 +6325,75 @@ CONFIG_PACKAGE_ttyd=y # CONFIG_PACKAGE_cgroup-tools is not set # CONFIG_PACKAGE_cmdpad is not set # CONFIG_PACKAGE_coap-client is not set -# CONFIG_PACKAGE_collectd is not set +CONFIG_PACKAGE_collectd=y +# CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK is not set +# CONFIG_PACKAGE_collectd-mod-apache is not set +# CONFIG_PACKAGE_collectd-mod-apcups is not set +# CONFIG_PACKAGE_collectd-mod-ascent is not set +# CONFIG_PACKAGE_collectd-mod-bind is not set +# CONFIG_PACKAGE_collectd-mod-chrony is not set +# CONFIG_PACKAGE_collectd-mod-conntrack is not set +# CONFIG_PACKAGE_collectd-mod-contextswitch is not set +CONFIG_PACKAGE_collectd-mod-cpu=y +# CONFIG_PACKAGE_collectd-mod-csv is not set +# CONFIG_PACKAGE_collectd-mod-curl is not set +# CONFIG_PACKAGE_collectd-mod-df is not set +# CONFIG_PACKAGE_collectd-mod-disk is not set +# CONFIG_PACKAGE_collectd-mod-dns is not set +# CONFIG_PACKAGE_collectd-mod-email is not set +# CONFIG_PACKAGE_collectd-mod-entropy is not set +# CONFIG_PACKAGE_collectd-mod-ethstat is not set +# CONFIG_PACKAGE_collectd-mod-exec is not set +# CONFIG_PACKAGE_collectd-mod-filecount is not set +# CONFIG_PACKAGE_collectd-mod-fscache is not set +CONFIG_PACKAGE_collectd-mod-interface=y +# CONFIG_PACKAGE_collectd-mod-iptables is not set +# CONFIG_PACKAGE_collectd-mod-irq is not set +CONFIG_PACKAGE_collectd-mod-iwinfo=y +CONFIG_PACKAGE_collectd-mod-load=y +# CONFIG_PACKAGE_collectd-mod-logfile is not set +# CONFIG_PACKAGE_collectd-mod-lua is not set +# CONFIG_PACKAGE_collectd-mod-match-empty-counter is not set +# CONFIG_PACKAGE_collectd-mod-match-hashed is not set +# CONFIG_PACKAGE_collectd-mod-match-regex is not set +# CONFIG_PACKAGE_collectd-mod-match-timediff is not set +# CONFIG_PACKAGE_collectd-mod-match-value is not set +CONFIG_PACKAGE_collectd-mod-memory=y +# CONFIG_PACKAGE_collectd-mod-modbus is not set +# CONFIG_PACKAGE_collectd-mod-mqtt is not set +# CONFIG_PACKAGE_collectd-mod-mysql is not set +# CONFIG_PACKAGE_collectd-mod-netlink is not set +CONFIG_PACKAGE_collectd-mod-network=y +# CONFIG_PACKAGE_collectd-mod-nginx is not set +# CONFIG_PACKAGE_collectd-mod-ntpd is not set +# CONFIG_PACKAGE_collectd-mod-olsrd is not set +# CONFIG_PACKAGE_collectd-mod-openvpn is not set +# CONFIG_PACKAGE_collectd-mod-ping is not set +# CONFIG_PACKAGE_collectd-mod-postgresql is not set +# CONFIG_PACKAGE_collectd-mod-powerdns is not set +# CONFIG_PACKAGE_collectd-mod-processes is not set +# CONFIG_PACKAGE_collectd-mod-protocols is not set +# CONFIG_PACKAGE_collectd-mod-routeros is not set +CONFIG_PACKAGE_collectd-mod-rrdtool=y +# CONFIG_PACKAGE_collectd-mod-sensors is not set +# CONFIG_PACKAGE_collectd-mod-snmp is not set +# CONFIG_PACKAGE_collectd-mod-sqm is not set +# CONFIG_PACKAGE_collectd-mod-syslog is not set +# CONFIG_PACKAGE_collectd-mod-table is not set +# CONFIG_PACKAGE_collectd-mod-tail is not set +# CONFIG_PACKAGE_collectd-mod-tail-csv is not set +# CONFIG_PACKAGE_collectd-mod-tcpconns is not set +# CONFIG_PACKAGE_collectd-mod-teamspeak2 is not set +# CONFIG_PACKAGE_collectd-mod-ted is not set +# CONFIG_PACKAGE_collectd-mod-thermal is not set +# CONFIG_PACKAGE_collectd-mod-threshold is not set +# CONFIG_PACKAGE_collectd-mod-unixsock is not set +# CONFIG_PACKAGE_collectd-mod-uptime is not set +# CONFIG_PACKAGE_collectd-mod-users is not set +# CONFIG_PACKAGE_collectd-mod-vmem is not set +# CONFIG_PACKAGE_collectd-mod-wireless is not set +# CONFIG_PACKAGE_collectd-mod-write-graphite is not set +# CONFIG_PACKAGE_collectd-mod-write-http is not set # CONFIG_PACKAGE_coreutils is not set # CONFIG_PACKAGE_crconf is not set # CONFIG_PACKAGE_crelay is not set @@ -6503,4 +6601,4 @@ CONFIG_PACKAGE_usb-modeswitch=y # # font-utils # -# CONFIG_PACKAGE_fontconfig is not set \ No newline at end of file +# CONFIG_PACKAGE_fontconfig is not set