GithubHelp home page GithubHelp logo

ffuqiangg / build_openwrt Goto Github PK

View Code? Open in Web Editor NEW
28.0 2.0 14.0 1.99 MB

Build Openwrt for Phicomm N1 with actions

Shell 100.00%
clash immortalwrt n1 openwrt passwall homeproxy lede v2raya sing-box dae

build_openwrt's Introduction

本项目用于编译打包 斐讯N1 使用的 OpenWrt ImmortalWrt LEDE 固件。

说明

  • 由于仓库的代码大部分时间都处于不可用的状态,所以并不建议 fork 使用。除非能够自行排查和修复错误。
  • 固件不定时更新,更新通知可关注 Telegram 频道 N1 Openwrt firmware,下载前往 Releases
  • 默认 IP:192.168.1.99, 默认密码:password
  • 插件包含:PassWall,OpenClash,Homeproxy ImmortalWrt 23.05,v2rayA,MosDNS,硬盘休眠,KMS,FileBrowser,Frpc,网络共享,FTP服务器,DockerMan,DocKer Compose,UPNP,VerySync,DAED ImmortalWrt 23.05,DAED-Next OpenWrt 23.05
  • 固件对一些命令进行了简化,如 ungz = tar -xvzf777 = chmod -R 777mkdirg = 创建并进入目录bd = 回到之前目录 等,详情可查看仓库 patch/files/etc/shinit 文件。
  • 在终端里输入命令起始部分再通过键盘 ↑ ↓ 可以匹配执行过的历史命令快速输入。
  • 如果你在使用 docker 等内存占用较大的应用时,觉得当前盒子的内存不够使用,可以创建 swap 虚拟内存,将 /mnt/mmcblk2p4 磁盘空间的一定容量虚拟成内存来使用。通过命令 openwrt-swap 创建 swap,默认大小为 1GB 也可以手动设置 swap 大小,命令为 openwrt-swap N N 为希望的 swap 大小数字,单位 GB。
  • 刷机方法:将固件写入U盘,插入设备并从U盘启动。进入终端输入命令 openwrt-install-amlogic 然后根据屏幕提示完成刷机。
  • 升级固件/内核:将固件/内核文件(内核文件须包含 dtb-xxx.tar.gz, modules-xxx.tar.gz, boot-xxx.tar.gz 文件)放入 /mnt/mmcblk2p4 目录,终端输入命令 openwrt-update-amlogic 升级固件,openwrt-kernel 升级内核。

Tip

OpenWrt 23.05 纯 Sing-Box 核心使用方法阅读 sing-Box 使用文档,LEDE,ImmortalWrt 18.06 固件使用 Sing-Box 裸跑可到 Telegram 频道下载替换文件。

感谢

  • 本项目固件编译方法来自于 P3TERXActions-OpenWrt 项目。
  • 固件打包解决方案以及面向路由优化的内核源码源自 Flippy 大佬的多个开源项目。
  • 打包及内核编译参考了 Ophub 的开源项目中的代码。
  • shell 脚本参考了爆操老哥 BreakingsYAOF 项目的代码。
  • 感谢 OpenWrt , Immortalwrt , LEDE 等项目对开源路由的贡献。

build_openwrt's People

Contributors

ffuqiangg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

build_openwrt's Issues

fork后更改config,自动编译出错

错误:
The workflow is not valid. .github/workflows/build-openwrt.yml (Line: 165, Col: 11): Unrecognized named-value: 'success'. Located at position 71 within expression: steps.codes.outputs.package_repo == 'ophub' && env.PACKAGED_STATUS == success

lede和immortalwrt-master都出现

还是不成功,麻烦大佬看看

问题出在这一步
Upload firmware to release:
Run ncipollo/release-action@main
with:
tag: lede-2023.08.13-0154
bodyFile: release.txt
artifacts: /opt/openwrt_packit/output/*

generateReleaseNotes: false
makeLatest: legacy
omitBody: false
omitBodyDuringUpdate: false
omitDraftDuringUpdate: false
omitName: false
omitNameDuringUpdate: false
omitPrereleaseDuringUpdate: false
removeArtifacts: false
replacesArtifacts: true
skipIfReleaseExists: false
token: ***
updateOnlyUnreleased: false

env:
FEEDS_CONF: config/lede/feeds.conf.default
CONFIG_FILE: config/lede/config
DIY1_SH: config/lede/diy1.sh
DIY2_SH: config/lede/diy2.sh
TZ: Asia/Shanghai
COMPILE_DATE: R23.08.12
PACKAGED_OUTPUTPATH: /opt/openwrt_packit/output
PACKAGED_OUTPUTDATE: 08.13.0154
PACKAGED_STATUS: success
GITHUB_TOKEN:
Error: Error 403: Resource not accessible by integration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.