Obtain kernel config from currently running OpenWrt system

if you compiled the option "Kernel .config support" into a custom kernel configuration when you built it, then you can zcat /proc/config.gz to get the kernel config

If you compiled the option CONFIG_INCLUDE_CONFIG ("Include build configuration in firmware") then the config will be located in /etc/build.config.

1 Like