From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GhMrX-0000tK-Ti for garchives@archives.gentoo.org; Tue, 07 Nov 2006 09:03:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA78xxDj023084; Tue, 7 Nov 2006 09:00:00 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA78v6xq016304 for ; Tue, 7 Nov 2006 08:57:06 GMT Received: by ug-out-1314.google.com with SMTP id z38so1255778ugc for ; Tue, 07 Nov 2006 00:57:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:message-id:content-type:content-transfer-encoding; b=OZ9ZR4fy6qZtFdBYR3F8J1BkgRFvyf/5nDRO5Z7Y1V5w/lVMSk/xpUiLeDJuHQGKBdYJ6L8kqAm+dTEc9rkKmqXUArPhyWmV+HYlg0Zgz59+TodSXCZzYLWOJXSxLrR7I8H2UbaqalcaQsveEU0a3+e9xRjJVFufa+G49LemFEg= Received: by 10.67.89.5 with SMTP id r5mr8755495ugl.1162889825459; Tue, 07 Nov 2006 00:57:05 -0800 (PST) Received: from lappy ( [86.140.42.138]) by mx.google.com with ESMTP id s7sm6172671uge.2006.11.07.00.57.04; Tue, 07 Nov 2006 00:57:05 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Changing the NIC name Date: Tue, 7 Nov 2006 07:41:55 +0000 User-Agent: KMail/1.9.1 References: <17CD9CE4C0FA574A8B29EF02D49B385D2A954B@srvexch-01.mcaschool.local> <200611061934.13990.grimlog@gmx.de> In-Reply-To: <200611061934.13990.grimlog@gmx.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Message-Id: <200611070741.55938.michaelkintzios@gmail.com> Content-Type: multipart/signed; boundary="nextPart1609252.gL31Gm9NJN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c5b6ee6a-cede-48be-884b-9b199c312df6 X-Archives-Hash: 758b9be4a794b75b42e81aadd4ca993f --nextPart1609252.gL31Gm9NJN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 06 November 2006 18:34, Michael Schreckenbauer wrote: > Am Montag, 6. November 2006 15:09 schrieb Timothy A. Holmes: > > As the machine built, the realtech is eth0 and the intel is eth1 > > I would like to reverse those two names, so that snort can use the > > higher capacity card for its sniffer. I am not quite sure where to look > > even to begin this process. > > "nameif" does this. > > # equery b nameif > [ Searching for file(s) nameif in *... ] > sys-apps/net-tools-1.60-r12 (/sbin/nameif) > > # nameif Or, if you're struggling with udev and you intend to run a slim installatio= n=20 you could also try setting it up in your /etc/conf.d/net: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D # OPTIONAL MODULES # INTERFACE RENAMING # There is no consistent device renaming scheme for Linux. # The preferred way of naming devices is via the kernel module directly or # by using udev (http://www.reactivated.net/udevrules.php) # If you are unable to write udev rules, then we do provide a way of renami= ng # the interface based on it's MAC address, but it is not optimal. # Here is how to rename an interface whose MAC address is 00:11:22:33:44:55 # to foo1 #rename_001122334455=3D"foo1" # You can also do this based on current device name - although this is not # recommended. Here we rename eth1 to foo2. #rename_eth1=3D"foo2" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D HTH. =2D-=20 Regards, Mick --nextPart1609252.gL31Gm9NJN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFUDjD5Fp0QerLYPcRAoggAJ0ZIqHB13HRdt/pJbWSQdGnD00/kQCfaMLX GjfEn4zyw8F6tvFxBGlvCP4= =IpvU -----END PGP SIGNATURE----- --nextPart1609252.gL31Gm9NJN-- -- gentoo-user@gentoo.org mailing list