Building a Linux Distro From Scratch: WiFi Drivers & Firmware

Опубликовано: 29 Август 2023
на канале: Monkey see, monkey do
685
26

FULL SERIES:
   • You can endlessly watch the flame burns, t...  

==========================
Monkey See, Monkey Do LINUX
==========================
https://github.com/maksimKorzh/msmd-l...

================================================
VICI - Minimalist cross-platform terminal based text editor
================================================
https://github.com/maksimKorzh/vici

==================================
ED - The standard Linux Text Editor in Go
==================================
https://github.com/maksimKorzh/ed

====================
MY TOY TEXT EDITORS
====================

VI-like text editor in 100 lines of C++ code:
https://github.com/maksimKorzh/ved

Text editor in 50 lines of python:
https://github.com/maksimKorzh/v

VI-like text editor in 125 lines of python:
https://github.com/maksimKorzh/edit/b...

Text editor with python shell:
https://github.com/maksimKorzh/pi

Tiny vi-like text editor in only 125 lines of python code:
https://github.com/maksimKorzh/vip

Text editor with syntax highlighting:
https://github.com/maksimKorzh/code

Kilo text editor cone in C:
https://github.com/maksimKorzh/kilo-c...

Kilo text editor port to ESP32:
https://github.com/maksimKorzh/esp32-...

===============================================
TUTORIALS COVERING MOST OF THE ABOVE PROJECTS
===============================================
   • Revolutionary brand new approach to text e...  

=====================
SUPPORT THE CHANNEL
=====================
Patreon:   / code_monkey_king  
PayPal: [email protected]

==========
CONTENTS
==========

00:00 Intro
00:11 Target audience
00:48 Running ISO image from the previous tutorial
01:30 Listing network devices
02:08 Why there's no wlan0 interface?
02:45 Two essential things affecting the presence of the wireless interface
03:46 Figuring out the model of the WiFi adapter
05:48 Wifi drivers/modules might be external or embedded into the Linux Kernel
06:40 Listing Kernel modules (device drivers)
07:05 Searching for WiFi drivers
07:55 Additional WiFi drivers
08:45 Inspecting WiFi driver's info
10:25 Updating Linux Kernel configuration to support specific WiFi adapters
11:35 Realtek WiFi drivers added to the Linux Kernel
12:14 How do you know which drivers do you need for your specific hardware?
14:55 Inspecting default WiFi drivers for a given hardware
15:25 Enabling Linux Kernel Modules under the configuration file
17:05 Exploring available device drivers
18:00 Searching for specific WiFi drivers
19:00 A quick recap on steps to be taken to configure WiFi drivers
20:11 Eventual Linux Kernel configuration including WiFi drivers
21:20 Time to recompile the Kernel!
23:00 Updating Linux Kernel under the ISO image with a newly compiled one
24:20 Updating ISO image
24:55 Dealing with Firmware
25:15 How to figure out the actual Firmware requested by the Linux Kernel
26:24 Downloading specific Firmware sources
27:25 Reading Firmware README
28:00 Compiling WiFi Firmware
28:28 Creating Firmware directory under the RootFS
29:30 Installing WiFi Firmware to RootFS
31:00 Downloading & installing 'iw' command to RootFS
33:00 Downloading & installing 'wpa_supplicant' command to RootFS
35:00 Rebuilding ISO image one last time
35:30 Testing new ISO in QEMU
36:30 Burning ISO to USB flash drive
37:24 Why ISO image is so HUGE?
38:23 TESTING WIFI ON THE REAL HARDWARE
39:10 Detecting network devices
39:45 How to figure out the required firmware?
41:15 Inspecting Firmware one more time
41:47 Finding 'wlan0' interface and why it's already UP
42:10 A quick recap on '/init' script
43:20 Working with 'iw' command
43:35 Listing available WiFi networks
45:00 Creating 'wifi.conf' file
45:30 Inspecting 'wifi.conf' file
46:00 CONNECTING TO WIFI
46:35 Checking the connection to WiFi network
47:25 A quick recap on '/etc/network.sh' callback script
47:57 Obtaining IP address via 'udhcpc'
48:40 Pinging remote server
48:50 Making HTTP request with 'get'
49:30 Installing VIM
52:24 Testing VIM
53:02 Outro