wifidog

1.搭建openwrt环境

此次环境搭建用的是ubuntu
1.sudo apt-get update

2.安装开发环境
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils libncurses5-dev ncurses-term zlib1g-dev gawk asciidoc libz-dev git-core uuid-dev libacl1-dev liblzo2-dev pkg-config libc6-dev curl libxml-parser-perl ocaml-nox (ubuntu 16.04)

sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip(ubuntu 18.04)

3.先新建个项目路径 再执行
git clone https://git.lede-project.org/source.git lede

4.进入可视化界面
cd lede
make menuconfig

 

2.编译

cd scripts
./feeds update -a
./feeds install -a
cd ..
make menuconfig打开菜单

target system选cpu
subtarget选开发板类型
target profile选设备型号

选好后退出保存
make V=99 --下载编译
posted @ 2021-08-31 01:44  小白小白小白小白  阅读(217)  评论(0编辑  收藏  举报