public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Meino.Cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Loading, modules, via, /ec/conf.d/modules, minimalisticly
Date: Sun, 10 May 2015 11:48:33 +0200	[thread overview]
Message-ID: <20150510094833.GB4144@solfire> (raw)
In-Reply-To: <554F2611.2010905@gmail.com>

Stephan Müller <fruktopus@gmail.com> [15-05-10 11:36]:
> Am 10.05.2015 um 11:12 schrieb Meino.Cramer@gmx.de:
> > Hi,
> > 
> > I need to load some extra modules "manually" when
> > my Linux box boots to get access to an embedded 
> > system. These modules need to be added to 
> > /etc/conf.d/modules for various reasons.
> > 
> > The modules are:
> > 
> > ipt_MASQUERADE          1037  2 
> > nf_nat_masquerade_ipv4  1785  1 ipt_MASQUERADE
> > iptable_nat             1578  1 
> > nf_nat_ipv4             4811  1 iptable_nat
> > nf_nat                 11442  2 nf_nat_ipv4,nf_nat_masquerade_ipv4
> > nf_conntrack_ipv4      11964  1 
> > nf_defrag_ipv4          1395  1 nf_conntrack_ipv4
> > nf_conntrack           61998  4 nf_nat,nf_nat_ipv4,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
> > 
> > 
> > How can I distinguish those modules from this list, which need 
> > to be listed in /etc/conf.d/modules from those, which get pulled in by
> > these?
> > 
> > Best regards
> > mcc
> > 
> 
> First it does no harm to load modules directly which would be pulled in as dependency anyways.
> From the the above lsmod you can leave out those, which have a nonempty used by column. That would be
> 
>    ipt_MASQUERADE
>    iptable_nat
>    nf_conntrack_ipv4
> 
> To get more complete information on dependencies you can look at
> 
>     $ modinfo ipt_MASQUERADE
> 
> etc. However to get full information you have to look at
> 
>     $ cat /lib/modules/$(uname -r)/modules.dep
> 
> This gives a complete list of dependencies.
> 
> 
>  ~frukto
> 

Hi Stephan,

thanks for the informations! :)

Best regards,
Meino




      reply	other threads:[~2015-05-10  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-10  9:12 [gentoo-user] Loading, modules, via, /ec/conf.d/modules, minimalisticly Meino.Cramer
2015-05-10  9:34 ` Stephan Müller
2015-05-10  9:48   ` Meino.Cramer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150510094833.GB4144@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox