最近刚接触openwrt,配置环境、编译都弄了好久。用了现成的zedboard开发板可以正常运行。 考虑到产品上有无线模块,为了以后集成信息显示,想在web上展示无线模块和SIM卡的基本信息。...网上找了luci-app的例子,参考了https://github.com/4IceG/luci-app-3ginfo-lite这个项目,看了下大致上能满足需求。...项目地址https://github.com/qiuweichao/luci-app-modem-info 版权属于:咖啡走糖 本文链接:https://www.qwc-lmhhj.cn/archives
github.com/fw876/helloworld 4.改完之后如下 src-git packages https://github.com/coolsnowwolf/packages src-git luci...https://github.com/coolsnowwolf/luci src-git routing https://git.openwrt.org/feed/routing.git;openwrt...-19.07 #src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-19.07 src-git helloworld
feeds.conf.default文件 (以下是2021年8月21日的文件) src-git packages https://github.com/coolsnowwolf/packages src-git luci...https://github.com/coolsnowwolf/luci src-git routing https://git.openwrt.org/feed/routing.git src-git...telephony https://git.openwrt.org/feed/telephony.git #src-git video https://github.com/openwrt/video.git...#src-git targets https://github.com/openwrt/targets.git #src-git oldpackages http://git.openwrt.org/...packages.git #src-link custom /usr/src/openwrt/custom-feed 可以发现并没有XXRPlus或PassWall,自行添加XXRPlus或PassWall
-19.07src-git luci https://github.com/openwrt/luci.git;openwrt-19.07src-git routing https://github.com.../openwrt-routing/packages.git;openwrt-19.07src-git telephony https://github.com/openwrt/telephony.git...://github.com/kenzok8/openwrt-packagessrc-git small https://github.com/kenzok8/small这些可以让你获得更多的 luci-app...在这个界面中,我们要选择好以下内容:Target System -- 根据你的开发板CPU指令集选择Subtarget -- 根据开发板说明书选择Target Profile -- 根据开发板说明书选择LuCI...--> Collections -> luci -- 一个运行在开发板上的带web界面的应用,建议勾选LuCI --> Themes -> luci-theme-argon -- 推荐勾选,界面会好看一些配置完成后
从官方安装更新 openwrt for pogoplug 第一部分 (不需要自己编译) 至从看到openwrt官网支持Pogoplu后(消息来源:godiy),我就想把破狗重装了一遍。...刷机前提: 一,要安装的openwrt能通过luci来刷新包:也就是能刷“openwrt-oxnas-pogoplug-pro-squashfs-sysupgrade.tar”,play4fun...root@OpenWrt:/etc/config# opkg list|grep luci-theme luci-theme-bootstrap – git-14.352.03206-43c395a... luci-theme-openwrt – git-14.352.03206-43c395a-1 – OpenWrt.org 推荐安装luci-theme-bootstrap,...第4个luci-theme-openwrt真心难看。
/barrier_breaker/14.07/at91/generic/packages/base src/gz barrier_breaker_luci http://downloads.openwrt.org.../barrier_breaker/14.07/at91/generic/packages/luci src/gz barrier_breaker_management http://downloads.openwrt.org.../barrier_breaker/14.07/at91/9g20/packages/base src/gz barrier_breaker_luci http://downloads.openwrt.org.../barrier_breaker/14.07/at91/9g20/packages/luci src/gz barrier_breaker_management http://downloads.openwrt.org...Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/luci/Packages.gz.
/barrier_breaker/14.07/ramips/mt7620a/packages/base src/gz attitude_adjustment_packages http://openwrt.sangbo.pub.../barrier_breaker/14.07/ramips/mt7620a/packages/packages/ src/gz attitude_adjustment_luci http://openwrt.sangbo.pub.../barrier_breaker/14.07/ramips/mt7620a/packages/luci/ src/gz attitude_adjustment_management http://openwrt.sangbo.pub.../barrier_breaker/14.07/ramips/mt7620a/packages/routing/ src/gz openwrt_dist http://openwrt-dist.sourceforge.net.../releases/ramips/packages src/gz openwrt_dist_luci http://openwrt-dist.sourceforge.net/releases/luci/
/feeds/packages.index' Updating feed 'luci' from 'https://github.com/openwrt/luci.git' ....../feeds/luci.index' Updating feed 'routing' from 'https://github.com/openwrt-routing/packages.git' .....OpenSSH server LuCI ---> 1. Collections ---> -*- luci 5....Translations ---> luci-i18n-chinese..........................Themes ---> luci-theme-bootstrap...........................
本文将详解如何把花生壳PHTunnel封装成一个OpenWrt标准组件,并编译到自己的OpenWrt固件中,实现内网穿透功能。...PHTunnel-luci-app组件制作 功能 PHTunnel运行后,需要进行扫码登录,管理,解绑等操作,这些都是需要正常使用花生壳的交互操作,openwrt提供的luci是实现交互的最佳选择,也是最正式的方式...,下面来制作基于luci的PHTunnel组件。...LUCI页面 完成核心函数库后,接下来就是根据luci的架构进行开发。...PHTunnel-luci-app组件 选择以上两个组件,充分编译后,即可在本地的luci界面上使用PHTunnel了。
@OpenWrt:~# opkg install luci-i18n-base-zh-cn Installing luci-i18n-base-zh-cn (git-20.306.44214-6ad517e...Downloading http://downloads.openwrt.org/releases/19.07.4/packages/x86_64/luci/luci-i18n-base-zh-cn_git...-1 - Material Theme luci-theme-openwrt - git-20.306.44214-6ad517e-1 - LuCI OpenWrt.org theme # 主题下载(也可安装...4中的方法在software中下载) root@OpenWrt:~# opkg install luci-theme-material Installing luci-theme-material (git...Downloading http://downloads.openwrt.org/releases/19.07.4/packages/x86_64/luci/luci-theme-material_git
修改opkg源 vim opkg.conf ## 对应路径替换为如下: src/gz openwrt_core http://mirrors.ustc.edu.cn/lede/releases/18.06.4.../targets/x86/64/packages src/gz openwrt_base http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages.../x86_64/base src/gz openwrt_luci http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/luci...src/gz openwrt_packages http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/packages src.../gz openwrt_routing http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/routing src/gz openwrt_telephony
_lafite http://downloads.pandorabox.com.cn/pandorabox/packages/mipsel_24kec_dsp/lafite src/gz 17.01_luci...http://downloads.pandorabox.com.cn/pandorabox/packages/mipsel_24kec_dsp/luci src/gz 17.01_mtkdrv http...http://openwrt-dist.sourceforge.net/packages/OpenWrt/base/ramips_24kec src/gz openwrt_dist_luci http...://openwrt-dist.sourceforge.net/packages/OpenWrt/luci 补充 自动推荐DNS解析 cat /etc/config/dhcp config dhcp...option ra 'server' list 'dhcp_option' '6,114.114.114.114,223.5.5.5' KMS opkg install vlmcsd luci-app-vlmcsd
Install and configure WireGuard in OpenWRT....First, install all the required packages. opkg update opkg install wireguard luci-proto-wireguard luci-app-wireguard...Luci can do the following configuration....192.168.9.0/24, 192.168.234.0/24 Endpoint = ddns.example.com:51820 Then the generated pubkey through the Web Luci...configuration to the OpenWRT above on the line.
方法 在 OpenWRT 的 /www/luci-static/resources/ 路径下创建相应的文件。.../www/luci-static/resources/ - /resources/custom_style.css - /fonts/SarasaFixedSC-Regular.ttf - /preload.../custom_css_loader.js 文件介绍 custom_css_loader.js 用于加载 CSS 文件到 OpenWRT。
下载镜像 地址:https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi 选择对应版本镜像下载,解压,刷入sd卡 配置 配置ip 刷入后默认...opkg update 设置中文 下载中文语言包的方法:System-Software–Software-Actions,在Download and install package右边的文本框里输入:luci-i18n-chinese...或在software搜索zh-cn base下载安装 安装主题 luci-theme-material argon 安装挂载点 opkg install block-mount 扩展空间.../overlay/* /mnt/overlay 然后在页面,选择系统->挂载点 讲刚刚的硬盘新建,设置为overlay挂载,重启 更换国内(清华的)软件源: sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn.../openwrt_' /etc/opkg/distfeeds.conf 安装frpc frpc luci-app-frpc luci-i18n-frpc-zh-cn
下面我们使用OpenWrt SDK Docker的方式进行编译。...-it openwrtorg/sdk:ramips-mt76x8-21.02.1 /bin/bash Docker PowerShell 这个时候,PowerShell就进入了Container内的openwrt.../scripts/feeds install luci-app-passwall 编译 编译 #这个是清洁编译 make package/luci-app-passwall/{clean,compile...} -j4 #这个是可以看到具体流程的可以看到错误 make package/luci-app-passwall/compile V=99 从容器内复制到电脑内 Step 1 确认文件夹路径和有多少个ipk.../bin/packages/mipsel_24kc/kenzo/luci-app-passwall_4.44_all.ipk d:\Apps 将该镜像保存 你可以将该镜像保存,并上传到Docker Hub
MosDNS介绍 一个 DNS 转发器 via IrineSistiana / mosdns 配置环境我的MosDNS是运行在旁路由(旁路网关)的OpenWRT上,具体环境如下:OpenWRT: ImmortalWrt...23.05.3 r27917-81a1f98d5b / LuCI openwrt-23.05 branch git-24.092.44091-d24c2e3内核版本:5.15.162架构:X86/64MosDNS...下载或克隆三个yaml文件,OpenWRT放到/etc/mosdns文件夹内。如果是luci-app-mosdns,需要选择使用自定义配置文件。...cn.txt、geosite_gfw.txt、geosite_cn.txt以及geoip_private.txt ,OpenWRT用户可以通过luci-app-mosdns的GeoData Export...如果系统为OpenWRT,也可以直接修改dnsmasq的dns重定向到5333来使用。具体使用方法根据自己需要进行修改。修改的具体位置位于config_custom.yaml文件最底部。
安装并配置好WireGuard (2)配置多Peers方案 那么现在开始吧,目前系统是使用了最新的OpenWRT 19.07.0-rc1, 应该同时适用于OpenWrt 18.06.4 先贴个实现2个Peers...连接后的拓扑 1.在OpenWRT安装并配置好WireGuard 先安装好本次所需的全部软件 opkg update opkg install wireguard luci-proto-wireguard...luci-app-wireguard 预设WireGuard参数与网段 WG_IF="wg0" WG_PORT="51820" WG_ADDR="192.168.9.1/24" WG_ADDR定义的网段不要和内网已有的网段冲突...接下来的配置都可以通过Luci去完成了。...AllowedIPs = 192.168.9.0/24, 192.168.234.0/24 Endpoint = ddns.example.com:51820 然后将其生成的pubkey通过Web Luci
领取专属 10元无门槛券
手把手带您无忧上云