Coder Social home page Coder Social logo

gngpp / actions-openwrt Goto Github PK

View Code? Open in Web Editor NEW
46.0 1.0 15.0 23.79 MB

Lean♂DHDAXCW Actions OpenWrt for Nanopi R5C/R4SE/X86

License: GNU General Public License v3.0

Shell 40.95% Makefile 59.00% Dockerfile 0.05%
lede nanopi openwrt lean luci r5c r4se r4s x86 ci

actions-openwrt's Introduction

Actions-OpenWrt

支持在线升级,自动扩容根分区

若非扩容升级则去掉参数EXPAND

  • SSH进入终端
# 会保存配置备份
EXPAND=true bash +x ~/update.sh

# 跳过备份
EXPAND=true SKIP_BACK=1 bash +x ~/update.sh

# 默认走代理下载,如不需要代理下载固件,执行下面命令
EXPAND=true USE_PROXY=false bash +x ~/update.sh

# 默认使用gh.flyinbug.top/gh代理,自定义代理执行下面命令
EXPAND=true PROXY=gh.flyinbug.top/gh bash +x ~/update.sh
  • R4SE 默认网卡rtl8821cu driver + GPU (对超频电压微调过,特别适体质垃圾的RK3399,暂时不存在跑大带宽/pcdn重启/死机之类)
  • R5C 默认m.2网卡mt7921 driver + GPU + HDMI Output
  • x86-64 默认AX201 driver

编译依赖(非自托管请不要fork我的项目)

sudo apt update -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev vpnc \
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz aria2 lib32gcc-s1 \
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils \
rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev libfuse-dev zstd npm

curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
newgrp - docker
  • 本地编译
git clone https://github.com/gngpp/Actions-OpenWrt && cd Actions-OpenWrt
MODEL=x86-64 bash +x build.sh

默认编译配置

预览

image image

actions-openwrt's People

Contributors

dhdaxcw avatar gngpp avatar lone-wind avatar medyma avatar milespoupart avatar zonyitoo 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

actions-openwrt's Issues

编译alist出错,之前还出现这个提示

WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-drm-i915', which does not exist
make[2]: Entering directory '/home/magi/Actions-OpenWrt/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/magi/Actions-OpenWrt/openwrt/scripts/config'

NAT环回无效

端口转发启用了NAT环回,但在内网中使用域名无法访问内网nas等设备,外网访问NAS设备正常。
删除过DOCKER,在/etc/sysctl.conf中添加net.bridge.bridge-nf-call-arptables=0 net.bridge.bridge-nf-call-ip6tables=0 net.bridge.bridge-nf-call-iptables=0,使用socat端口转发,这几种方法都无效。求教!

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.