受欢迎的博客标签

在Debian12操作系统下编译openwrt

Published

网上很多的编译openwrt的教程是在Ubuntu14或16的desktop版本下.

这次使用的是Debian12操作系统,内核版本号Linux debian 4.9.0-6-amd64,安装在虚拟机下Vmware

 

一、编译环境搭建
安装debian12,不安装desktop,步骤略。
更新debian系统

安装编译openwrt的必要软件。

sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip subversion mercurial zlib1g-dev gawk time

二、下载openwrt

sudo git clone https://git.openwrt.org/openwrt/openwrt.git

三、(可选)进入openwrt目录,下载并安装所有可用的feeds

cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a


四、运行menuconfig命令检查编译环境中缺失的软件包

make menuconfig


                        
原文链接:https://blog.csdn.net/cangtian7878/article/details/109897376

 

useful links

官方推荐使用 ubuntu 22.04 来编译 openwrt 镜像,所以需要准备一台虚拟机或物理机安装好系统,本次使用的是 ubuntu 22.04

https://www.nodeseek.com/post-37859-1

在本地使用windows 10+VMware+Debian编译OpenWRT系统

https://www.bilibili.com/read/cv15631875/