基于HandsomeMod编译随身wifi固件
  SUXXLkJ5ZHKh 2023年11月02日 36 0

首先要有良好的网络环境,懂得都懂

#v2raya

curl -Ls https://mirrors.v2raya.org/go.sh | sudo bash

sudo systemctl disable v2ray --now ### Xray 需要替换服务为 xray

内核安装完成。

上传v2raya安装包

sudo dpkg -i installer_debian_amd64_2.0.5.deb

sudo systemctl start v2raya.service

sudo systemctl enable v2raya.service#自启

####编译固件需要的依赖

sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint

#源码git库

git clone https://github.com/lkiuyu/x-wrt.git

git clone https://github.com/HandsomeMod/HandsomeMod.git --depth=1

####添加插件库

src-git kenzo https://github.com/kenzok8/openwrt-packages  

src-git small https://github.com/kenzok8/small  

src-git helloworld https://github.com/fw876/helloworld  

src-git openwrt_kiddin9 https://github.com/kiddin9/openwrt-packages

###构建命令

./scripts/feeds update -a   ###更新订阅

./scripts/feeds install -a   ###安装订阅插件

make menuconfig  ###进入菜单

make -j8 download V=s  ####下载依赖库

make V=s -j$(nproc)  ###开始编译

./scripts/feeds clean  ###清理缓存

rm -rf ./tmp && rm -rf .config######重新配置


#新人福利

无意侵权。

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  4koL3J55wyKx   2023年11月13日   38   0   0 icogitCentOS
  9E2BTpjt8nym   2023年12月06日   36   0   0 WindowsgitCentOS
SUXXLkJ5ZHKh
作者其他文章 更多