最近刚接触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真心难看。
# 新建一个名为 openwrt 的用户 修改用户默认的 Shell apt install -y sudo usermod -s /bin/bash openwrt 切换用户拉取代码 su openwrt...src-git liuran001 https://github.com/liuran001/openwrt-packages 固件主题 rm -rf package/lean/luci-theme-argon...%d") @ OpenWrt /g" package/lean/default-settings/files/zzz-default-settings # 修改默认主题 sed -i "s/luci-theme-bootstrap.../luci-theme-argon/g" feeds/luci/collections/luci/Makefile 执行 make menuconfig 命令进入编译菜单 菜单简要说明 # 选择 CPU...--> Protocols --> luci-proto-ipv6 LuCI --> Protocols --> luci-proto-ppp # 开启适用于 VMware 的 VMware Tools
/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.
/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...........................
/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/
本文将详解如何把花生壳PHTunnel封装成一个OpenWrt标准组件,并编译到自己的OpenWrt固件中,实现内网穿透功能。...PHTunnel-luci-app组件制作 功能 PHTunnel运行后,需要进行扫码登录,管理,解绑等操作,这些都是需要正常使用花生壳的交互操作,openwrt提供的luci是实现交互的最佳选择,也是最正式的方式...,下面来制作基于luci的PHTunnel组件。...LUCI页面 完成核心函数库后,接下来就是根据luci的架构进行开发。...PHTunnel-luci-app组件 选择以上两个组件,充分编译后,即可在本地的luci界面上使用PHTunnel了。
一、系统特性与适用场景OpenWRT 是专为嵌入式设备设计的Linux发行版,支持5000+路由器型号,提供包管理、防火墙配置、VPN搭建等高级功能。...硬件兼容性验证访问OpenWRT硬件支持列表 ,输入路由器型号查询兼容性(示例:Xiaomi AX6000)2....update opkg install nano --force-depends方法3:离线IPK包安装使用WinSCP将.ipk文件上传至/tmp目录执行安装命令:opkg install /tmp/luci-app-wol.ipk...后,访问测试网站验证拦截效果测试2:VPN服务搭建通过luci-app-openvpn创建加密隧道,使用客户端连接测试:# OpenVPN配置示例 client dev tun proto udp remote.../mirrors.ustc.edu.cn\/openwrt/g' /etc/opkg/distfeeds.conf六、延伸学习OpenWRT官方文档Luci界面开发指南 声明:本教程仅适用于已解锁Bootloader
@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
_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.
修改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
下面我们使用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
下载镜像 地址: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
安装并配置好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
前面写了篇关于OpenWrt上DNS配置的,说了下作为路由器上网时,各种dns配置,对上网的影响,详见DNS基本知识以及OpenWrt路由器DNS配置详解。...前面说的OpenWrt上的DNS配置,也是针对这部分的配置和优化。...这个包在OpenWrt自身带的软件仓库里面没有,需要手动到github上去下载。 项目地址:https://github.com/sirpdboy/luci-app-ddns-go。...另外不管什么架构,还需要选择luci-app-ddns-go(图形界面)和luci-i18n-ddns-go-zh-cn(中文支持) 下载之后传到了路由器上,或者路由器上用wget/curl命令直接下载...DDNS-GO配置 安装了luci-app-ddns-go,刷新下浏览器页面,在服务下可以看到DDNS-GO菜单,点进去,如果服务没启动,将服务启动,另外,启用web服务,指定dns解析服务器,我们用了