Fading Coder

One Final Commit for the Last Sprint

Adding a Custom Package to the OpenWrt Build System

Background OpenWrt provides a well-structured build framework. To add a custom package, place a standard Makefile in the designated directory, and the build system will automatically parse it and compile the source using the appropriate toolchains. Custom packages reside under the SDK root at the pa...

Customizing Client Hostnames in OpenWrt DHCP Interface

OpenWrt's default DHCP list doesn't always display client hostnames properly, particularly for iOS devices. This can be inconvenient, so let's add a custom hostname column that alows users to set and modify aliases for connected devices. The enhancement includes: A new "Customized Hostname"...

Applying Patches to OpenWrt Source Code

Applying Patches to a Package OpenWrt utilizes the quilt tool to manage patches for its source packages. This allows you to download the upsteram source, verify it, and then apply your custom modifications before compilation. For this example, we'll assume a develpoment environment based on Ubuntu 1...

Configuring Package Repositories in OpenWrt

Editing Package Feeds Configuration OpenWrt uses opkg for package management. The package repository locations are defined in /etc/opkg/distfeeds.conf. To modify the feeds, open this file with a text editor: vi /etc/opkg/distfeeds.conf Updating Repository URLs Comment out or replace the default repo...