Below Instructions shows How to Load Kernel module in Linux
check whether module is Loaded or Not
if you don't know Exact Module Name then Check All Loaded Modules
root@system1:~# lsmod
Module Size Used by
nf_conntrack_ipv4 18850 1
nf_defrag_ipv4 12601 1 nf_conntrack_ipv4
xt_state 12514 1
nf_conntrack_ftp 13039 0
nf_conntrack 65203 3 nf_conntrack_ipv4,xt_state,nf_conntrack_ftp
xt_tcpudp 12531 1
x_tables 20679 4 xt_state,xt_tcpudp,iptable_filter,ip_tables
sctp 165508 2
libcrc32c 12510 1 sctp
nls_iso8859_1 12617 0
nls_cp437 12751 0
vfat 17166 0
fat 54411 1 vfat
snd_seq_dummy 12686 0
usb_storage 42478 0
uas 17476 0
i915 395739 1
drm_kms_helper 30737 1 i915
drm 183453 3 i915,drm_kms_helper
i2c_algo_bit 12980 1 i915
video 18434 1 i915
dm_crypt 22236 0
snd_intel8x0 33017 2
snd_ac97_codec 104623 1 snd_intel8x0
ac97_bus 12602 1 snd_ac97_codec
snd_pcm 72878 2 snd_intel8x0,snd_ac97_codec
snd_seq_midi 13132 0
snd_rawmidi 24215 1 snd_seq_midi
snd_seq_midi_event 14076 1 snd_seq_midi
snd_seq 50403 3 snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
snd_timer 23911 2 snd_pcm,snd_seq
snd_seq_device 13817 4 snd_seq_dummy,snd_seq_midi,snd_rawmidi,snd_seq
ppdev 12840 0
lp 13321 0
parport_pc 31867 1
shpchp 32187 0
snd 52787 11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse 72465 0
parport 34960 3 ppdev,lp,parport_pc
soundcore 12534 1 snd
mac_hid 13037 0
serio_raw 13027 0
snd_page_alloc 13709 2 snd_intel8x0,snd_pcm
dm_mirror 21585 0
dm_region_hash 15035 1 dm_mirror
dm_log 17871 2 dm_mirror,dm_region_hash
aufs 162169 0
usbhid 41119 0
hid 79842 1 usbhid
tg3 133921 0
floppy 59430 0
check whether module is Loaded or Not
if you don't know Exact Module Name then Check All Loaded Modules
root@system1:~# lsmod
Module Size Used by
nf_conntrack_ipv4 18850 1
nf_defrag_ipv4 12601 1 nf_conntrack_ipv4
xt_state 12514 1
nf_conntrack_ftp 13039 0
nf_conntrack 65203 3 nf_conntrack_ipv4,xt_state,nf_conntrack_ftp
xt_tcpudp 12531 1
x_tables 20679 4 xt_state,xt_tcpudp,iptable_filter,ip_tables
sctp 165508 2
libcrc32c 12510 1 sctp
nls_iso8859_1 12617 0
nls_cp437 12751 0
vfat 17166 0
fat 54411 1 vfat
snd_seq_dummy 12686 0
usb_storage 42478 0
uas 17476 0
i915 395739 1
drm_kms_helper 30737 1 i915
drm 183453 3 i915,drm_kms_helper
i2c_algo_bit 12980 1 i915
video 18434 1 i915
dm_crypt 22236 0
snd_intel8x0 33017 2
snd_ac97_codec 104623 1 snd_intel8x0
ac97_bus 12602 1 snd_ac97_codec
snd_pcm 72878 2 snd_intel8x0,snd_ac97_codec
snd_seq_midi 13132 0
snd_rawmidi 24215 1 snd_seq_midi
snd_seq_midi_event 14076 1 snd_seq_midi
snd_seq 50403 3 snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
snd_timer 23911 2 snd_pcm,snd_seq
snd_seq_device 13817 4 snd_seq_dummy,snd_seq_midi,snd_rawmidi,snd_seq
ppdev 12840 0
lp 13321 0
parport_pc 31867 1
shpchp 32187 0
snd 52787 11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse 72465 0
parport 34960 3 ppdev,lp,parport_pc
soundcore 12534 1 snd
mac_hid 13037 0
serio_raw 13027 0
snd_page_alloc 13709 2 snd_intel8x0,snd_pcm
dm_mirror 21585 0
dm_region_hash 15035 1 dm_mirror
dm_log 17871 2 dm_mirror,dm_region_hash
aufs 162169 0
usbhid 41119 0
hid 79842 1 usbhid
tg3 133921 0
floppy 59430 0
if you know what module you are Looking ex:ip_tables then Check whether that module loaded or not by below command
root@system1:~# lsmod | grep ip_tables
root@system1:~#
Not Loaded then Load Module
root@system1:~# modprobe ip_tables
Now check
root@bt:~# lsmod | grep ip_tables
ip_tables 17634 1 iptable_filter
x_tables 20679 4 xt_state,xt_tcpudp,iptable_filter,ip_tables
Success
0 comments:
Post a Comment