How to build an OpenWrt image // Compile and Install for Raspberry Pi 4B

Опубликовано: 06 Март 2025
на канале: Dev Odyssey
38,312
733

Support Me

Get a discount on Ekster Products
https://shop.ekster.com/devodyssey or discount code "DEV" at checkout!
(PAID Link)

Follow me on Twitter and Facebook
  / dev_odyssey  
  / dev0dyssey  

Description

Welcome back to Dev Odyssey Home Networking! In this episode, we learn how to create our own custom image of OpenWrt. You might be wondering, why would you build a custom image of OpenWrt? With a custom built image of OpenWrt, you can preconfigure your router so that it’s ready to go out of the box. All you have to do is power it on. If there is any configuration you have to do afterwards, a custom image reduces post deployment configuration time. Custom images also make upgrading a breeze. Upgrading with a custom image lets you add packages and new configurations to your existing instance, during the upgrade process without using opkg.

To build OpenWrt, you will need the following.

A Linux/GNU based operating system
At least 2 GB or RAM, and at least 10 to 15 GB of disk space.
4 Core CPU

For this video, I’ll be using:
Debian 11.2 Bullseye VM
8 GB of RAM
50 GB of disk space
4 Core CPU

Links

Build System Setup
https://openwrt.org/docs/guide-develo...

Build System Usage
https://openwrt.org/docs/guide-develo...

UCI Defaults
https://openwrt.org/docs/guide-develo...

00:00 Intro
00:36 Why Build OpenWrt
01:12 Build Requirements
01:40 Prepare Build Environment
03:00 Clone Source Code
05:07 Customize Image
08:02 Choose Packages
10:40 Customize Settings
15:16 Build Image
16:43 Outro

Attributions

Music | "Eternal Sunshine" by LiQWYD & Luke Bergs
LiQWYD:
▶spoti.fi/2RPd66h
▶   / liqwyd  
▶www.instagram.com/liqwyd
▶www.patreon.com/LiQWYD
Luke:
▶Youtube: bit.ly/3ozy6uk
▶Spotify: spoti.fi/37O7TkS
▶Soundcloud: bit.ly/37JG9hB
▶Facebook: bit.ly/2JOvnhT
▶Instragram: bit.ly/2JKGqsy

Hammer Icons
Freepik - Flaticon
https://www.flaticon.com/free-icons/h...

Debian is a registered trademark owned by Software in the Public Interest, Inc.
OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)

#OpenWrt #Compile