手动构建OpenWrt

#代理 #Linux #系统 #路由 #Router 系统环境:Ubuntu 18.04 x64

# 更新同步索引文件并安装部分依赖
sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex git gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx-ucl libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync zlib1g-dev node-uglify libncurses5-dev patch mkisofs


git clone https://github.com/coolsnowwolf/lede.git # 或者用官方库https://github.com/openwrt/openwrt.git
cd lede/package/	# openwrt 官方库是 packages
git clone https://github.com/kenzok8/small.git	# 部分应用
git clone https://github.com/kenzok8/openwrt-packages.git # 部分应用


cd ../
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig	# 配置选择需要的功能

make -j8 download V=s
make -j1 V=s # (-j1 后面是线程数。第一次编译推荐用单线程)即可开始编译你要的固件了。

二次编译:

如果需要重新配置:


更新失败,没有可用的节点信息

找不到 microsocks,无法启动…

ShadowsocksR Plus+ not running 插件跟系统版本不一至

lede版本编辑后root密码为password

最后更新于