Coder Social home page Coder Social logo

xuy132 / actions-openwrt-helloworld Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lancenas/actions-openwrt-helloworld

0.0 0.0 0.0 104 KB

Actions使用Lean's lede源码编译含helloworld服务固件

Home Page: https://mtom.ml/798.html

License: MIT License

Shell 100.00%

actions-openwrt-helloworld's Introduction

actions-openwrt-helloworld

LICENSE GitHub Stars GitHub Forks

  • 感谢 P3TERX/Actions-OpenWrtcoolsnowwolf/lede

  • 通过创建流程文件,在线编译helloworld服务固件;

  • 第一代passwall源码完全停止开发(开源源码已经移除),基于vuejs脚本语言、焕新UI设计的第二代passwall由Lienol等大神们在私有库闭源开发中,看情况和心情,只有极小可能性以后某天开源,不要过分期待。

  • 修改流程文件REPO_URL: 不同库地址(默认lean的https://github.com/coolsnowwolf/lede.git或Lienol的https://github.com/Lienol/openwrt);REPO_BRANCH: 不同分支 (以Lienol OpenWrt源码为例分支dev-master 激进;dev-19.07 OpenWrt官方平稳版;dev-lean-lede lean的源码)。

  • 通过修改diy-part1.sh文件修改feeds.conf.default配置。默认添加fw876/helloworld
    有能力可以添加包含passwalllienol-openwrt-package试试。

  • 通过修改diy-part2.sh文件可以自定义默认IP,登陆密码等。按我的需要现在的默认IP为192.168.1.11

  • 在 Actions 页面选择Build OpenWrt,然后点击Run Workflow按钮,即可开始编译。(如果需要 SSH 连接则把SSH connection to Actions的值改为true)

  • 在触发工作流程后,默认SSH_ACTIONS: true在 Actions 页面等待执行到SSH connection to Actions步骤,会出现下面信息:


    To connect to this session copy-n-paste the following into a terminal or browser:

    ssh [email protected]

    https://tmate.io/t/Y26QeagDtsPXp2mT6me5cnMRd


  • 复制 SSH 连接命令粘贴到终端内执行,或者复制链接在浏览器中打开使用网页终端,登陆云menuconfig。

  • 命令:cd openwrt && make menuconfig

  • 新手参考OpenWrt MenuConfig设置和LuCI插件选项说明

  • 完成后按快捷键Ctrl+D或执行exit命令退出,后续编译工作将自动进行。

  • 这样比较灵活,可以根据路由器硬件通过云menuconfig自定义配置固件,不需要再导出.config和上传

  • 进阶玩法请看P3TERX的博客中文教程

使用同步.config多流程编译移步Actions-Lean-OpenWrt

actions-openwrt-helloworld's People

Contributors

lancenas avatar

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.