Coder Social home page Coder Social logo

bendi's Introduction

  • 本地Ubuntu一键编译openwrt固件,

  • 一键制作.config配置文件,

  • 全程无脑操作,只要梯子质量过关就好了。

  • 说明:

  • 此本地Ubuntu一键编译脚本完全同步我的《云编译脚本》所有扩展,包含常用插件

  • github已筑墙,所以国内用户编译全程都需要梯子,请准备好梯子,使用大陆白名单或全局模式

  • mobaxterm<SSH工具下载>》 《FinalShell<SSH工具下载>》 《winscp<文件管理下载>

  • 推荐使用 Ubuntu 20.04 LTS 、Ubuntu 22.04 LTS(支持windons子系统Ubuntu、服务器版Ubuntu、桌面版Ubuntu)

  • 使用非root用户登录您的ubuntu系统,执行以下代码即可:


  • 为防止Ubuntu没安装curl,使用不了一键命令,请执行一次安装curl命令:
sudo apt-get update && sudo apt-get install -y curl wget

  • WSL Ubuntu、服务器版Ubuntu、桌面版Ubuntu 通用一键编译openwrt命令(短链接命令)
bash <(curl -fsSL git.io/local.sh)

  • 短链接命令,有时候会抽风的,用不了,如果用不了就用此命令
bash <(curl -fsSL https://github.com/281677160/bendi/raw/main/local.sh)












bendi's People

Contributors

281677160 avatar github-actions[bot] 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bendi's Issues

第90行else无法执行

if [[ "${UBUNTU_CODENAME}" =~ (bionic|focal|jammy) ]]; then

Nothing to do

else

其中 # Nothing to do改行需要具体代码否则执行报错

.config编译失败

Failed to connect to raw.githubusercontent.com port 443: Connection refused

CONFIG_TARGET_ROOTFS_PARTSIZE自定义不起作用

目前测试的是LEDE源码,其他的还没用过。

新版的默认是下面:
CONFIG_TARGET_KERNEL_PARTSIZE=32
CONFIG_TARGET_ROOTFS_PARTSIZE=600

修改想要的数值后,编译出来的固件仍然是默认的大小。
在固件配置窗口target imgaes里直接修改,出来的也是上面默认的大小。

PS:老版的都没有这个问题。

# IPV6、IPV4 选择问题请教

IPV6、IPV4 选择

export Enable_IPV6_function="0" # 编译IPV6固件(1为启用命令,填0为不作修改)
export Enable_IPV4_function="1" # 编译IPV4固件(1为启用命令,填0为不作修改)(如果跟IPV6一起开启的话,优先IPV6功能)

看后面的说明看糊涂了,请教:

1、如果两个选项都为1,是分别编译出来两个固件?如果都为0的话是什么结果呢?难道连ipv4都没有了?
改版之前知道想启用ipv6,只要Extra packages --->ipv6helper选上即可

2、现在想启用ipv4和ipv6的话,是两个都是1?还是只把ipv6选择为1就行了?

3、还有这句:如果跟IPV6一起开启的话,优先IPV6功能。 什么叫优先IPV6?那如果我想在启用IPV6的情况下,优先IPV4应该如何设置?

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.