I'm modifiying the kernel source code (/linux/net/mac80211/mesh_hwmp.c) to add some signature authentication to the routing frames. After modifying the source code, do I have to build and install the kernel again for the changes to take effect?
Following are the steps I followed:
Downloaded the kernel from
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git
After downloading, copied the current config from the / boot directory in wireless-testing
$ cp /boot/config- `uname-r` ./.config
Ran
make menuconfig
and selected the following features: Networking -> Wireless -> Generic IEEE 802.11 Networking Stack (mac80211)Built it using
fakeroot make-kpkg - initrd kernel_image kernel_headers
After building the kernel, installed the created .deb packages (the core and its headers) using the command
$ sudo dpkg-i linux-*.deb
Did a reboot of the system
It is a time consuming process if I have to undergo this for every change that I make to the code (/net/mac80211/mesh_hwmp.c). I'm not sure if I'm overdoing by building the kernel again. Is it sufficient if I just run the Makefile(s) in mac80211 directory? Or, do I have to go through this process no matter what.
make-kpkg
? Are you load the mac80211 driver as a module? – Basile Starynkevitchmake-kpkg
following bydpkg -i linux-*.deb
. However, I'm still not seeing the debug messages. Is there something here that I'm obviously missing? – Maximus Decimus Meridius