Giter Site home page Giter Site logo

padavan-build's Introduction

Padavan-build说明

现在不需要新建Release了,已经更改了脚本,直接fork,修改好之后,点击右上角的 Star 星星按钮即可开始自动编译(自己点击才会编译)。

padavan-build's People

Contributors

chongshengb 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

padavan-build's Issues

红米2100编译出错

红米2100出错提示:
Target kernel config (/opt/rt-n56u/trunk/configs/boards/RM2100/kernel-3.4.x-5.0.config) not found! Terminate.
Error: Process completed with exit code 1.

现在C大padavan源码的 /opt/rt-n56u/trunk/configs/boards/RM2100/ 目录下分为了 kernel-3.4.x-5.0.3.0.config和kernel-3.4.x-5.0.4.0.config两个文件,直接修改yml里的型号的插件设置会提示以上错误,请问怎么能指定对应驱动版本的配置文件。

Zerotier相关

zerotier能否添加支持moon的功能,运行zerotier-cli orbit权限不够?
btw,请问老毛子可以sudo么?

编译出错

Run cd /opt/hostedtoolcache/go
cd /opt/hostedtoolcache/go
rm -rf /opt/hostedtoolcache/go/1.14.12
mv 1.15.5 1.14.12
shell: /bin/bash -e {0}
mv: cannot stat '1.15.5': No such file or directory
Error: Process completed with exit code 1.

可以移植haproxy过来吗

想用haproxy, k2p没有usb, 编辑了几次都失败。如果工作量太大,能不能提示下怎么编译

v2ray编译报错 Error 2 什么问题啊,望赐教

( cd /opt/rt-n56u/trunk/user/v2ray/"v2ray.com/core/main";
sed -i
' s/_ "v2ray.com/core/main/json"/// &/; /// _ "v2ray.com/core/main/jsonem"/s/// //; s/_ "v2ray.com/core/main/json"/// &/;'
distro/all/all.go ;
GOOS=linux GOARCH=mipsle go build -ldflags "-w -s" -o /opt/rt-n56u/trunk/user/v2ray/bin/v2ray;
)
make[2]: *** [build_v2ray] Error 2
Makefile:30: recipe for target 'build_v2ray' failed
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/v2ray'
make[1]: *** [all] Error 2
Makefile:235: recipe for target 'all' failed
make: *** [user_only] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:202: recipe for target 'user_only' failed
Error: Process completed with exit code 2.

RM2100固件ssrplus 异常

日记记录:

Welcome to trojan 1.16.0Welcome to trojan 1.16.0

Welcome to trojan 1.16.0
Welcome to trojan 1.16.0
2020-07-05 13:15:06 Welcome to trojan 1.16.0 Started!
2020-07-05 13:15:07 Global_Socks5:Can't find program, can't start!
Welcome to trojan 1.16.0
Welcome to trojan 1.16.0
Welcome to trojan 1.16.0
Welcome to trojan 1.16.0
2020-07-05 13:15:53 Welcome to trojan 1.16.0 Started!
2020-07-05 13:15:53 Global_Socks5:Can't find program, can't start!

编译固件安装后无法从github下载更新

自编译的XY-C1固件,仅添加smartDNS和广告拦截功能,无法从网站下载adguardhome等更新,始终提示“AdGuardHome下载失败,请检查是否能正常访问github!程序将退出。”是因为没翻Q么

AdGuard Home更新问题

目前 AdGuard Home 已经更新到103.3,是否有必要跟着更新?不知道是否能更新一下适合RM2100的固件或告知更新办法,谢谢!

NEWIFI-MINI SOCKS5代理 网络信息 BUG

6.4代码编译。SOCKS5代理无效,日志显示找不到程序。
网络信息:WAN,LAN显示:<% dump_eth_mib(); %>。无线正常

还有SmartDNS的上游https无效,2020.05.07的releases也有这个问题

请求适配中兴E8820S路由器

中兴E8820S配置同B70,输入B70对应的breed之后WAN/LAN口均正常。
目前的问题有2个:
1、E8820S的4个LAN口在路由器管理页面只显示3个lan口。不显示的那个lan口实际插上网线是能够正常使用的,只是不显示。
2、原装的3个LED灯不亮,分别是power、2.4G/WPS、5G/WPS
3、背面有wifi、WPG、RESET3个键,其中RESET和B70是一致的,其他两个未做测试。

斐讯K1/PSG1218适配的2.4G灯不对

用您的源码编译了K1/PSG1208的固件,功能一切正常。但是发现2.4G的指示灯一直没有亮,2.4Gwifi是正常的。
目前确认开启2.4Gwifi的时候亮的是5Gwifi和WAN口之间的那个灯。

有点强迫症,希望大佬能解决下。

驱动版本问题

修改型号为 K2P 是不是就是原版驱动 。 K2P_5.0 就是5.0的驱动 ? 如果编译 K2 ,是不是修改型号为 PSG1218 即可 ?

请教如何编译?

请教如何编译?

actions 里面一堆任务都没见到编译成功的.

RM2100 固件 SSR 【节点管理】异常

SSR 节点当手动添加到 10 几个左右就会显示不出来,试过恢复出厂设置,还是不行。要清空所有节点后才可以。然后再添加几个后又出问题了。换了几个游览器,问题都一样。

K2 如何开启USB

需要做个打印服务器,但编译增加usb驱动始终不成功,请问如何操作才能开启USB驱动

PSG1218固件编译问题

大大您好,我使用您提供的项目自动编译斐讯K2固件,在将2.4G wifi驱动从默认的v2.7.2.0修改为v3.0.4.0时出现问题,编译无法成功,相关操作如下:

已添加 sed -i '/CONFIG_FIRMWARE_WIFI2_DRIVER/d' .config 删除原配置项,
并已添加 echo "CONFIG_FIRMWARE_WIFI2_DRIVER=3.0" >> .config 重新定义所需2.4G WIFI驱动版本。

经排查,若不添加上述两行,只整合其他功能,则可以成功编译并输出固件。

具体出错记录在2000行左右,我把附近的记录附上了:

    New MBSSID mode support (MT76X2_AP_MBSS_NEW_MBSSID_MODE) [Y/n] y
  AP-Client support (MT76X2_AP_APCLI) [Y/n] y
    AP-Client TGn Cert support (MT76X2_AP_APCLI_CERT) [N/y] n
    AP-Client Auto Bandwidth Support (MT76X2_AP_APCLI_AUTO_BW) [N/y] n
    MAC Repeater Mode support (MT76X2_AP_MAC_REPEATER) [N/y] n
  Wireless Mixed Bridge Mode (MWDS) (MT76X2_AP_MWDS) [N/y] n
  Smart Mesh (MT76X2_AP_SMART_MESH) [N/y] n
  AirPlay support (MT76X2_AP_AIRPLAY) [N/y] n
  DFS support (MT76X2_AP_DFS) [N/y] n
  Carrier Detection support (MT76X2_AP_CARRIER) [N/y] n
  Green AP mode support (MT76X2_AP_GREENAP) [N/y] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[3]: *** [silentoldconfig] Error 1
/opt/rt-n56u/trunk/linux-3.4.x/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 2
/opt/rt-n56u/trunk/linux-3.4.x/Makefile:489: recipe for target 'silentoldconfig' failed
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'.  Stop.
make[1]: Leaving directory '/opt/rt-n56u/trunk/linux-3.4.x'
make: *** [linux] Error 1
Makefile:150: recipe for target 'linux' failed
##[error]Process completed with exit code 2.

此外也附上编译时我用的build-padavan.yml:
https://github.com/tenasama/Padavan-build/actions/runs/65789270/workflow

谢谢。

最新的master代码编译v2ray失败

Makefile:30: recipe for target 'build_v2ray' failed
make[2]: *** [build_v2ray] Error 2
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/v2ray'
Makefile:235: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:202: recipe for target 'user_only' failed
make: *** [user_only] Error 2
Error: Process completed with exit code 2.

psg1218编译后刷机,无法启动,亮红灯无网络(有线/无线)

psg1218编译后刷机,无法启动,亮红灯无网络(有线/无线)

psg1218最新fork后修改编译,文件修改了固件config部分,没有增删:

#修改TNAME: K2P-5.0 中的K2P-5.0为你需要编译的型号,注意名称要与configs/templates/目录下的名字相同
name: Build Padavan

on: 
  release:
    types: [published]
  push:
    tags:
    - 'v*'
  #  branches: 
  #    - master
#  schedule:
#    - cron: 0 8 * * 5
  watch:
    types: [started]

jobs:
  build:
    runs-on: ubuntu-18.04
    if: github.event.repository.owner.id == github.event.sender.id

    steps:
    - name: Checkout
      uses: actions/checkout@master
    - name: Initialization environment
      env:
        DEBIAN_FRONTEND: noninteractive
      run: |
        sudo apt-get update
        sudo apt-get -y install unzip libtool-bin curl cmake gperf gawk flex bison nano xxd \
        cpio git python-docutils gettext automake autopoint texinfo build-essential help2man \
        pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev libncurses5-dev libltdl-dev gcc-multilib
    - name: Clone source code
      run: |
        git clone --depth=1 https://github.com/chongshengB/rt-n56u.git /opt/rt-n56u
        cd /opt/rt-n56u/toolchain-mipsel
        sh dl_toolchain.sh
        mkdir -p /opt/images/
    - name: Build Firmware
      env:
        TNAME: "PSG1218" #NEWIFI-MINI MI-MINI MI-3 OYE-001 YK-L1 JCG-AC836M 5K-W20
      run: |
        cd /opt/rt-n56u/trunk
        if [ ! -f configs/templates/$TNAME.config ] ; then
        echo "configs/templates/$TNAME.config not found "
        exit 1
        fi
        cp -f configs/templates/$TNAME.config .config
        sed -i 's/CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=n/CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y/g' .config
        ################################################################################################
        #因不同型号配置功能不一样,所以先把配置项删除,如果你自己要添加其他的,也要写上删除这一条,切记!!!
        ################################################################################################
        sed -i '/CONFIG_FIRMWARE_INCLUDE_MENTOHUST/d' .config #删除配置项MENTOHUST
        sed -i '/CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT/d' .config #删除配置项SCUTCLIENT
        sed -i '/CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS/d' .config #删除配置项SS plus+
        sed -i '/CONFIG_FIRMWARE_INCLUDE_SSSERVER/d' .config #删除配置项SS server
        sed -i '/CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER/d' .config #删除配置项DNSFORWARDER
        sed -i '/CONFIG_FIRMWARE_INCLUDE_ADBYBY/d' .config #删除配置项adbyby plus+
        sed -i '/CONFIG_FIRMWARE_INCLUDE_FRPC/d' .config #删除配置项adbyby plus+
        sed -i '/CONFIG_FIRMWARE_INCLUDE_FRPS/d' .config #删除配置项adbyby plus+
        sed -i '/CONFIG_FIRMWARE_INCLUDE_TUNSAFE/d' .config #删除配置项adbyby plus+
        sed -i '/CONFIG_FIRMWARE_INCLUDE_ALIDDNS/d' .config #删除配置项阿里DDNS
        sed -i '/CONFIG_FIRMWARE_INCLUDE_SMARTDNS/d' .config
        sed -i '/CONFIG_FIRMWARE_INCLUDE_SRELAY/d' .config
        sed -i 's/CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=n/CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y/g' .config
        ######################################################################
        #以下选项是定义你需要的功能(y=集成,n=忽略),重新写入到.config文件
        ######################################################################
        echo "CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n" >> .config #MENTOHUST
        echo "CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=n" >> .config #SCUTCLIENT
        echo "CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS=y" >> .config #SS plus+
        echo "CONFIG_FIRMWARE_INCLUDE_SSSERVER=n" >> .config #SS server
        echo "CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER=n" >> .config #DNSFORWARDER
        echo "CONFIG_FIRMWARE_INCLUDE_ADBYBY=y" >> .config #adbyby plus+
        echo "CONFIG_FIRMWARE_INCLUDE_FRPC=n" >> .config #内网穿透FRPC
        echo "CONFIG_FIRMWARE_INCLUDE_FRPS=n" >> .config #内网穿透FRPS
        echo "CONFIG_FIRMWARE_INCLUDE_TUNSAFE=n" >> .config #TUNSAFE
        echo "CONFIG_FIRMWARE_INCLUDE_ALIDDNS=n" >> .config #阿里DDNS
        echo "CONFIG_FIRMWARE_INCLUDE_SMARTDNS=y" >> .config #smartdns
        echo "CONFIG_FIRMWARE_INCLUDE_SMARTDNSBIN=n" >> .config #smartdns二进制文件
        echo "CONFIG_FIRMWARE_INCLUDE_V2RAY=n" >> .config #集成v2ray执行文件(3.8M左右),如果不集成,会从网上下载下来执行,不影响正常使用
        echo "CONFIG_FIRMWARE_INCLUDE_TROJAN=n" >> .config #集成trojan执行文件(1.1M左右),如果不集成,会从网上下载下来执行,不影响正常使用
        echo "CONFIG_FIRMWARE_INCLUDE_KOOLPROXY=n" >> .config #KP广告过滤
        echo "CONFIG_FIRMWARE_INCLUDE_CADDY=n" >> .config #在线文件管理服务
        echo "CONFIG_FIRMWARE_INCLUDE_CADDYBIN=n" >> .config #集成caddu执行文件,此文件有13M,请注意固件大小。如果不集成,会从网上下载下来执行,不影响正常使用
        echo "CONFIG_FIRMWARE_INCLUDE_KUMASOCKS=n" >> .config #可以不集成
        echo "CONFIG_FIRMWARE_INCLUDE_ADGUARDHOME=n" >> .config
        echo "CONFIG_FIRMWARE_INCLUDE_SRELAY=n" >> .config #可以不集成
        echo "CONFIG_FIRMWARE_INCLUDE_IPT2SOCKS=n" >> .config
        echo "CONFIG_FIRMWARE_INCLUDE_MICROSOCKS=n" >> .config
        echo "CONFIG_FIRMWARE_INCLUDE_WYY=n" >> .config #网易云解锁
        echo "CONFIG_FIRMWARE_INCLUDE_WYYBIN=n" >> .config #网易云解锁GO版本执行文件(4M多)注意固件超大小,不集成会自动下载
        echo "CONFIG_FIRMWARE_INCLUDE_ZEROTIER=n" >> .config #zerotier ~1.3M
        #########################################################################################
        #自定义添加其它功能请参考源码configs/templates/目录下的config文件。按照上面的格式添加即可
        #格式如下:
        #sed -i '/自定义项/d' .config
        #echo "自定义项=y" >> .config
        #########################################################################################
        sudo ./clear_tree
        sudo ./build_firmware_modify $TNAME 0
        sudo mv -f images/*.trx /opt/images/
    - name : Upload packages
      uses: actions/upload-artifact@master
      if: always()
      with:
        name: Padavan-packages
        path: /opt/images

ss plus启动不了

我编译的固件ss plus启动状态还是已停止,实际上也的确没效果,log里就看见个v2ray重启啥的。
这咋办啊

无法自动编译, Initialization environment 失败

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/lib32asan4_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
Fetched 19.1 MB in 3s (5465 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libx32asan4_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/lib32ubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libx32ubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/lib32cilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libx32cilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/lib32mpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/lib32gcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libx32gcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/gcc-7-multilib_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 52.177.174.250 80]

K2/PSG1218指示灯适配问题

K2/PSG1218指示灯策略有点问题:
K2只有1个指示灯,用的是不通的颜色表示不同的状态。
目前无线LED对应的是黄色指示灯,wanLED对应的是蓝色指示灯。
在wifi开启(黄灯亮)并且连接到ISP/互联网(蓝色LED亮)的时候黄灯和蓝灯一起亮,那个颜色……实在是又黄又蓝好难受。
建议连接到ISP/互联网后蓝灯亮起的时候关闭黄灯。ISP/互联网掉线之后变回黄灯。

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.