Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How can I make OPNSense load kernel module at startup?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can I make OPNSense load kernel module at startup? (Read 8844 times)
park0kyung0won
Newbie
Posts: 24
Karma: 2
How can I make OPNSense load kernel module at startup?
«
on:
November 19, 2018, 06:31:30 pm »
I have a mellanox 10 gbe NIC and it requires mlx5 and mlx5en modules to function
So I had to type "kldload mlx5en" manually in CLI
I wanted to automate this by writing entry in "/boot/loader.conf" but it is being
flushed at every reboot
How can I setup my OPNSense to load certain kernel module at startup?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How can I make OPNSense load kernel module at startup?
«
Reply #1 on:
November 20, 2018, 06:18:14 am »
Use /boot/loader.conf.local as /boot/loader.conf comment at the top suggest... or better yet use System: Settings: Tunables.
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How can I make OPNSense load kernel module at startup?
«
Reply #2 on:
November 20, 2018, 06:20:49 am »
PS: Made this a little clearer...
https://github.com/opnsense/core/commit/95ef3e91
Logged
park0kyung0won
Newbie
Posts: 24
Karma: 2
Re: How can I make OPNSense load kernel module at startup?
«
Reply #3 on:
November 21, 2018, 11:38:08 am »
Tank you very much!
Logged
AveryFreeman
Newbie
Posts: 23
Karma: 2
Re: How can I make OPNSense load kernel module at startup?
«
Reply #4 on:
January 27, 2021, 08:50:32 pm »
Quote from: franco on November 20, 2018, 06:20:49 am
PS: Made this a little clearer...
https://github.com/opnsense/core/commit/95ef3e91
I'm confused, the ReadTheDocs page says System-> Settings-> Tunables is for sysctl configuration parameters
How can it be for /boot/loader.conf and /etc/sysctl.conf at the same time?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How can I make OPNSense load kernel module at startup?
«
Reply #5 on:
January 28, 2021, 10:15:47 am »
Magic.... or just
https://github.com/opnsense/core/issues/2083
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How can I make OPNSense load kernel module at startup?