From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 518AF138CD1 for ; Sun, 10 May 2015 09:48:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF3B9E088B; Sun, 10 May 2015 09:48:36 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0D6DE085B for ; Sun, 10 May 2015 09:48:35 +0000 (UTC) Received: from localhost ([84.133.143.187]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MYOCL-1Yml7I3pRp-00V5G9 for ; Sun, 10 May 2015 11:48:34 +0200 Date: Sun, 10 May 2015 11:48:33 +0200 From: Meino.Cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Loading, modules, via, /ec/conf.d/modules, minimalisticly Message-ID: <20150510094833.GB4144@solfire> References: <20150510091208.GA4144@solfire> <554F2611.2010905@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <554F2611.2010905@gmail.com> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:qpul3+XFPv3VI5vKlP9wHSCMpLchClY6xfErH3z3QESq75Kkdm5 S8NcPpmrGkYuRPTIiejEwhd63lHa6kbRJOxL4SBrDM0Pk6CWtrq9tMQI4qY8nAztGLSgeM4 D5+0IRQ4IiK6iL8O9BTym8yPHeu6/RWSUQD2t821JyYbV5HZipbmQol+rBAZPDIhg8u8Q8a DTOawrIijdMyhSZ9UPVTw== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 2478df1a-592e-4ce9-8b11-1fb30f40c94a X-Archives-Hash: 0c9e450d1a370084d9469479d2dde82f Stephan M=FCller [15-05-10 11:36]: > Am 10.05.2015 um 11:12 schrieb Meino.Cramer@gmx.de: > > Hi, > >=20 > > I need to load some extra modules "manually" when > > my Linux box boots to get access to an embedded=20 > > system. These modules need to be added to=20 > > /etc/conf.d/modules for various reasons. > >=20 > > The modules are: > >=20 > > ipt_MASQUERADE 1037 2=20 > > nf_nat_masquerade_ipv4 1785 1 ipt_MASQUERADE > > iptable_nat 1578 1=20 > > nf_nat_ipv4 4811 1 iptable_nat > > nf_nat 11442 2 nf_nat_ipv4,nf_nat_masquerade_ipv4 > > nf_conntrack_ipv4 11964 1=20 > > nf_defrag_ipv4 1395 1 nf_conntrack_ipv4 > > nf_conntrack 61998 4 nf_nat,nf_nat_ipv4,nf_nat_masquerade_ip= v4,nf_conntrack_ipv4 > >=20 > >=20 > > How can I distinguish those modules from this list, which need=20 > > to be listed in /etc/conf.d/modules from those, which get pulled in by > > these? > >=20 > > Best regards > > mcc > >=20 >=20 > First it does no harm to load modules directly which would be pulled in a= s dependency anyways. > From the the above lsmod you can leave out those, which have a nonempty u= sed by column. That would be >=20 > ipt_MASQUERADE > iptable_nat > nf_conntrack_ipv4 >=20 > To get more complete information on dependencies you can look at >=20 > $ modinfo ipt_MASQUERADE >=20 > etc. However to get full information you have to look at >=20 > $ cat /lib/modules/$(uname -r)/modules.dep >=20 > This gives a complete list of dependencies. >=20 >=20 > ~frukto >=20 Hi Stephan, thanks for the informations! :) Best regards, Meino