- Lab
- A Cloud Guru
Manage kernel modules and their parameters
In this exercise, you need to modify a kernel module to provide more information. *This course is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
Enable nf_conntrack time stamping in the running kernel.
Check to see if the module is loaded:
lsmod | grep nf_conntrack
View the parameters available for the
nf_conntrack
module:modinfo nf_conntrack
Verify the current setting of the timestamp parameter:
cat /sys/module/nf_conntrack/parameters/tstamp
Stop the firewall and unload the module:
systemctl stop firewalld
modprobe -r nf_conntrack
Load the module with timestamping enabled:
modprobe nf_conntrack tstamp=1
Verify the current setting of the timestamp parameter:
cat /sys/module/nf_conntrack/parameters/tstamp
-
Challenge
Make the change persist through a restart.
Make the change persist through a reboot:
echo "options nf_conntrack tstamp=1" > /etc/modprobe.d/nf_conntrack.conf
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.