chongshengb / padavan-build Goto Github PK
View Code? Open in Web Editor NEWPadavan 自动编译
Padavan 自动编译
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]
如题,麻烦大佬了,万分感谢
电脑没问题,手机ipv6下不能用
错误提示:
@github-actionsgithub-actions
/ build
.github#L1
No files were found with the provided path: /opt/images. No artifacts will be uploaded.
K2/PSG1218指示灯策略有点问题:
K2只有1个指示灯,用的是不通的颜色表示不同的状态。
目前无线LED对应的是黄色指示灯,wanLED对应的是蓝色指示灯。
在wifi开启(黄灯亮)并且连接到ISP/互联网(蓝色LED亮)的时候黄灯和蓝灯一起亮,那个颜色……实在是又黄又蓝好难受。
建议连接到ISP/互联网后蓝灯亮起的时候关闭黄灯。ISP/互联网掉线之后变回黄灯。
玩游戏会断流,蛮卡的
chongshengB/Padavan-build
自动编译出错了!
红米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里的型号的插件设置会提示以上错误,请问怎么能指定对应驱动版本的配置文件。
自编译的XY-C1固件,仅添加smartDNS和广告拦截功能,无法从网站下载adguardhome等更新,始终提示“AdGuardHome下载失败,请检查是否能正常访问github!程序将退出。”是因为没翻Q么
请问K2P硬改512,加了usb的自动编译需要修改哪些设置?
trojan-go兼容trojan客户端,希望能增加passwall和trojan-go支持。
如题 ,同求添加trojan go功能支持
怎样能够把tftp编译进固件呢?没找到tftp相关配置项
如题,想要启用udpxy但是启用失败。
6.4代码编译。SOCKS5代理无效,日志显示找不到程序。
网络信息:WAN,LAN显示:<% dump_eth_mib(); %>。无线正常
还有SmartDNS的上游https无效,2020.05.07的releases也有这个问题
SSR 节点当手动添加到 10 几个左右就会显示不出来,试过恢复出厂设置,还是不行。要清空所有节点后才可以。然后再添加几个后又出问题了。换了几个游览器,问题都一样。
自动编译的K2P固件 v2有问题提示:v2ray二进制文件下载失败,可能是地址失效或者网络异常!
求解!谢谢
如题,大大是否考虑过加载主题外观的功能
zerotier能否添加支持moon的功能,运行zerotier-cli orbit
权限不够?
btw,请问老毛子可以sudo
么?
源码更新20201015后编译失败
目前 AdGuard Home 已经更新到103.3,是否有必要跟着更新?不知道是否能更新一下适合RM2100的固件或告知更新办法,谢谢!
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.
大大你好,K2P硬改32+512+USB,并且要5.0驱动,对应型号名称是?是K2P-USB-5.0就好吗?
请教如何编译?
actions 里面一堆任务都没见到编译成功的.
大大您好,我使用您提供的项目自动编译斐讯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
谢谢。
修改型号为 K2P 是不是就是原版驱动 。 K2P_5.0 就是5.0的驱动 ? 如果编译 K2 ,是不是修改型号为 PSG1218 即可 ?
能设置不同设备的IP地址和wifi那些吗?
如题,已测试在breed下清楚后全新刷入,仍旧无法启动(一直亮蓝灯)
想用haproxy, k2p没有usb, 编辑了几次都失败。如果工作量太大,能不能提示下怎么编译
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
请问谁有解决方法
能不能增加ddnsto穿透?建议增加这个穿透
我编译的固件ss plus启动状态还是已停止,实际上也的确没效果,log里就看见个v2ray重启啥的。
这咋办啊
中兴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是一致的,其他两个未做测试。
日记记录:
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!
如题,大大有没有电报交流群😂
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.
默认地址是192.168.2.1,怎样改成别的
小米路由器AC2100编译的代号是不是R2100?
编译之后开了smartdns和trojan,结果返回了这个。
大大,X ray支持现在还未添加吧
用您的源码编译了K1/PSG1208的固件,功能一切正常。但是发现2.4G的指示灯一直没有亮,2.4Gwifi是正常的。
目前确认开启2.4Gwifi的时候亮的是5Gwifi和WAN口之间的那个灯。
有点强迫症,希望大佬能解决下。
需要做个打印服务器,但编译增加usb驱动始终不成功,请问如何操作才能开启USB驱动
大佬,jcg-ac856m,jcg-ac836pro和jcg-860m编译成功,但无法启动啊!修复下吧,感激感激!
( 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.