LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2010, 12:19 AM   #1
vincent.dang
LQ Newbie
 
Registered: Jan 2010
Posts: 15

Rep: Reputation: 0
does anyone know where to find the /etc/modprobe.conf and /proc/net/ipt_condition/ ..


Hi, I am linux newbie and using fedora core 11. I am struggling to find the /pro/net/ipt_condition and the modprobe.conf Does anyone know where they are?

If someone thinks that I lack of the module for ipt_condition so this is the outcome of my lismod command.
[root@linux net]# lsmod
Module Size Used by
ppp_deflate 4128 0
zlib_deflate 16992 1 ppp_deflate
ppp_async 7708 1
crc_ccitt 1588 1 ppp_async
ppp_generic 19440 6 ppp_deflate,ppp_async
slhc 4456 1 ppp_generic
fuse 49780 2
sco 9324 2
bridge 41488 0
stp 1944 1 bridge
llc 4780 2 bridge,stp
bnep 10888 2
l2cap 18884 3 bnep
bluetooth 44768 5 sco,bnep,l2cap
sunrpc 152352 1
ipt_LOG 4548 3
xt_limit 1812 7
ip6t_REJECT 3160 2
nf_conntrack_ipv6 11368 2
ip6table_filter 3132 1
ip6_tables 10712 1 ip6table_filter
ipv6 232288 26 ip6t_REJECT,nf_conntrack_ipv6
cpufreq_ondemand 6056 2
acpi_cpufreq 8224 0
dm_multipath 13512 0
uinput 6496 0
ppdev 6304 0
snd_hda_codec_analog 54964 1
arc4 1580 2
snd_hda_intel 24028 2
option 18892 1
ecb 2452 2
snd_hda_codec 54280 2 snd_hda_codec_analog,snd_hda_intel
usbserial 26764 4 option
firewire_ohci 19456 0
firewire_core 36556 1 firewire_ohci
yenta_socket 21228 1
pcspkr 2156 0
usb_storage 82556 0
serio_raw 4852 0
crc_itu_t 1580 1 firewire_core
snd_hwdep 6584 1 snd_hda_codec
rsrc_nonstatic 9784 1 yenta_socket
iwl3945 125016 0
joydev 8964 0
snd_pcm 62632 2 snd_hda_intel,snd_hda_codec
iTCO_wdt 10464 0
iTCO_vendor_support 2736 1 iTCO_wdt
snd_timer 17888 1 snd_pcm
snd 49056 10 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
mac80211 164704 1 iwl3945
tg3 91680 0
soundcore 5404 1 snd
lib80211 5064 1 iwl3945
snd_page_alloc 7644 2 snd_hda_intel,snd_pcm
cfg80211 30560 2 iwl3945,mac80211
parport_pc 22216 0
wmi 5868 0
tpm_infineon 7492 0
parport 28496 2 ppdev,parport_pc
tpm 11668 1 tpm_infineon
hp_accel 9440 0
tpm_bios 4924 1 tpm
lis3lv02d 6908 1 hp_accel
ata_generic 4264 0
pata_acpi 3620 0
i915 143984 2
drm 165948 2 i915
i2c_algo_bit 4804 1 i915
i2c_core 18016 3 i915,drm,i2c_algo_bit
video 17336 1 i915
output 2324 1 video

The other question is iptables needs the ip_conntrack module for connection tracking but I couldn't find that ip_conntrack in the lsmod but the iptables is still working fine. I can see the connection tracking by accessing the /pro/net/nf_conntrack. I am confusing here. So do we still need the ip_conntrack? and how can I see all the current and available modules in fc11?

Thanks for your time and for your help
 
Old 01-23-2010, 12:29 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
modprobe.conf is a file usually located in your /etc folder or in a folder called /etc/modprobe.d/

I can see the ipv6 conntracking module in your lsmod output, but I do not see the ipv4 module.

Note that you should be looking in /proc, rather than /pro though that appears to be just a small typo, since you claim to be able to see the conntracking by looking in there -- I just wanted to point that out for your reference.

As for seeing ALL the modules possibly available on your current system, have a look in /lib/modules/$(uname -r)/ as this is where all your kernel modules are kept.

If iptables is working fine for you, chances are good that all the modules it needs, are available. However, if you are doing any ipv4 connection tracking (like maybe for FTP or whatever) then I would expect the nf_conntrack module to appear somewhere. If you look in the module folder I told you about above, and find the nf_conntrack or ipt_conntrack module, try modprobing it, using the `modprobe` command, and it should then appear in the lsmod listing.

Also, if I could suggest something everyone will find helpful: please put [code] tags around long lists of stuff like that, as it will make it much easier to read

Best of success,
Sasha
 
Old 01-23-2010, 03:54 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
you might want to read the fedora docs !
http://docs.fedoraproject.org/
 
Old 01-24-2010, 02:55 AM   #4
vincent.dang
LQ Newbie
 
Registered: Jan 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Regarding modules missing, how can I get the modules and install it? Can I download modules from the internet? I tried googling for modules many times for downloading but it gives me a lot of unnecessary things. Some of them are about coding and some of them even suggest to recompile the kernel. I dont understand much about coding and I tried all the suggested solutions but still, I dont have the the modules I would like. I am talking about the ipt_condition, connrate, ipv4options of iptables. But the bottom line is how to get the module (download it from internet or have to recompile the kernel to choose the desired modules?) and how to install it?

Thanks everyone!!!
 
Old 01-24-2010, 03:04 AM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Not sure if I mentioned it earlier vincent, but I have never heard of "ipt_condition" nor "ipv4options" -- this doesn't mean they don't exist, but just make sure you are looking for exactly the correct names, or you'll never find them

And no, you cannot just download the modules from somewhere. Kernel modules are created from the kernel source code, which generally means you need to rebuild the kernel to get modules that you do not have.

Now, in the case of Iptables, it is a package in and of itself.

How to try to explain it... The kernel has a built-in interface, for connecting with and interacting with the iptables code. The iptables package contains all the bits and pieces needed to create the packet filtering tables, but your kernel needs to be configured properly to SUPPORT iptables. So, when you want to do something using the iptables package, iptables will tell the kernel "hey, I need you to plug this module in", and if the kernel does not have the module requested, you get an error. In this case, you need too rebuild the kernel, and select options which will give you the missing modules you are looking for.

I'm sorry if this is a bit confusing; I am getting tired and going to bed soon! I hope it makes sense though!
Kernel modules must be built from your kernel source; you cannot download them.

Sasha
 
Old 01-24-2010, 03:10 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
from the fedora docs and wiki
As i recall " modprobe" has been replaced by HAL at boot and the needed modules will be turned on if needed.
there is no real need to ad things to the config file
--- or ---
Are you talking about the 3d card drivers ? ie. akmod-nvidia.rpm


Fedora 11 and 12 ( even better) should auto detect hardware at boot
BUT seeing as Fedora is a TESTING and " let's see how far we can push it , till it brakes " and "lets get the NEWEST code and cludge it together and see if it works" distro....

some reading
http://www.mjmwired.net/resources/mjm-fedora-f11.html
http://www.mjmwired.net/resources/
http://www.fedoraforum.org/
http://docs.fedoraproject.org/
https://fedoraproject.org/wiki/Fedora_Project_Wiki
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe doesn't work; why is modprobe.conf deprecated in slack 12? aquilolumen Slackware 13 08-26-2007 03:05 AM
/proc/dev/net and /proc/net/dev problem ! Linux.tar.gz Slackware 1 05-23-2007 06:24 AM
Questions re - /etc/modprobe.d/modprobe.conf The_Outlander Slackware 9 12-12-2006 09:28 PM
modprobe.conf from modules.conf Vaxon Linux - Hardware 1 09-22-2004 06:22 AM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 04:40 AM


All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration