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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2010, 11:19 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 15
Rep:
|
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
|
|
|
01-22-2010, 11:29 PM
|
#2
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
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
|
|
|
01-23-2010, 02:54 AM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
you might want to read the fedora docs !
http://docs.fedoraproject.org/
|
|
|
01-24-2010, 01:55 AM
|
#4
|
LQ Newbie
Registered: Jan 2010
Posts: 15
Original Poster
Rep:
|
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!!!
|
|
|
01-24-2010, 02:04 AM
|
#5
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
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
|
|
|
All times are GMT -5. The time now is 05:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|