How to Add Kernel Modules to FreeNAS
FreeNAS is a free and open source Network Attached Storage (NAS) operating system based on FreeBSD. Using FreeNAS, advanced users can create their own networked mass storage device with pre-existing hardware instead of having to purchase a dedicated and expensive NAS.
Since FreeNAS does not run on a single type of hardware, kernel modules may need to be loaded for the operating system to function properly. As FreeNAS is a derivative of FreeBSD, kernel modules can be added using the same commands.
Open a terminal window and use SSH to connect to your FreeNAS box like you would during set-up. If your FreeNAS system is not a headless (without a monitor), you can log in locally instead.
Run the "su" command, then enter the Administrator password to become the root user.
- FreeNAS is a free and open source Network Attached Storage (NAS) operating system based on FreeBSD.
- Open a terminal window and use SSH to connect to your FreeNAS box like you would during set-up.
Enter "kldload module" where "module" is the name of the module you need to load. Optionally, add the "-v" parameter to view more details about the module.
- Modules are stored in the "/boot/kernel/" directory and have a ".ko" file extension.
Chad Anderson began writing professionally in 2009. He primarily contributes articles on technology and outdoor topics for various websites. His areas of interest include Linux and open-source software along with cycling and other outdoor sports. Anderson holds a Bachelor of Arts in English literature from the University of Nevada in Reno.