Re: [gentoo-user] Ethernet Machination
On 2013-01-01 7:55 PM, Canek Peláez Valdés can...@gmail.com wrote: On Tue, Jan 1, 2013 at 6:50 PM, James wirel...@tampabay.rr.com wrote: So now that only one ethernet shows up, how do I prevent udev from renaming eth0 to eth3? Check /etc/udev/rules.d/70-persistent-net.rules. Probably the old (fried) ethernet card is listed there (along with other stuff). Leave out everything except your PCI card (the MAC address is how you tell them appart). Worst case, delete the file (after saving a copy), and see if udev automagically solves everything by itself. Also, be sure that you have completely disabled the integrated ethernet in the BIOS, otherwise gentoo/udev may still 'see' it even if it isn't working...
Re: [gentoo-user] Ethernet Machination
On Wed, Jan 2, 2013 at 7:53 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2013-01-01 7:55 PM, Canek Peláez Valdés can...@gmail.com wrote: On Tue, Jan 1, 2013 at 6:50 PM, James wirel...@tampabay.rr.com wrote: So now that only one ethernet shows up, how do I prevent udev from renaming eth0 to eth3? Check /etc/udev/rules.d/70-persistent-net.rules. Probably the old (fried) ethernet card is listed there (along with other stuff). Leave out everything except your PCI card (the MAC address is how you tell them appart). Worst case, delete the file (after saving a copy), and see if udev automagically solves everything by itself. Also, be sure that you have completely disabled the integrated ethernet in the BIOS, otherwise gentoo/udev may still 'see' it even if it isn't working... I once had an onboard NIC go bad, and the PCI NIC I substituted for it wouldn't work unless the onboard NIC was disabled. So disabling onboard hardware may or may not be a net positive. So long as there are no drivers available for the onboard NIC, it won't show up in the net subsystem, so udev won't tie it in under net rules. -- :wq
Re: [gentoo-user] Ethernet Machination
On 2013-01-02 10:24 AM, Michael Mol mike...@gmail.com wrote: I once had an onboard NIC go bad, and the PCI NIC I substituted for it wouldn't work unless the onboard NIC was disabled. So disabling onboard hardware may or may not be a net positive. ? That was confusing - unless you actually meant that the new PCI NIC you substituted for it wouldn't work unless the onboard NIC was ENabled... ? So long as there are no drivers available for the onboard NIC, it won't show up in the net subsystem, so udev won't tie it in under net rules. Ok, good to know, thanks...
Re: [gentoo-user] Ethernet Machination
On Wed, Jan 2, 2013 at 10:35 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2013-01-02 10:24 AM, Michael Mol mike...@gmail.com wrote: I once had an onboard NIC go bad, and the PCI NIC I substituted for it wouldn't work unless the onboard NIC was disabled. So disabling onboard hardware may or may not be a net positive. ? That was confusing - unless you actually meant that the new PCI NIC you substituted for it wouldn't work unless the onboard NIC was ENabled... ? I found your query confusing, and had to read my own text three times to catch it. Very strange how sometimes what we write can come out exactly the opposite of what we think we're writing. So long as there are no drivers available for the onboard NIC, it won't show up in the net subsystem, so udev won't tie it in under net rules. Ok, good to know, thanks... -- :wq
Re: [gentoo-user] Ethernet Machination
On Tue, Jan 1, 2013 at 6:50 PM, James wirel...@tampabay.rr.com wrote: Hello, Background: I have a gentoo system with a fried ethernet (interface) on an older motherboard. I installed a pci ethernet card that works fine for years. Lately, udev and the myriad of related upgrades, have made it so services (sshd, cupsd, etc) are wigged out now. So I rebuilt the 3.4.9 kernel to removed all ethernet drivers except the one on the pci card. All is fine with that. New problem: Udev renames the pci card from eth0 to eth3, so cupsd does not work and the system comes up with routing and the ethernet not set up as it should from the /etc/conf.d/net file: From Dmesg. systemd-udevd[1519]: renamed network interface eth0 to eth3 So now that only one ethernet shows up, how do I prevent udev from renaming eth0 to eth3? Check /etc/udev/rules.d/70-persistent-net.rules. Probably the old (fried) ethernet card is listed there (along with other stuff). Leave out everything except your PCI card (the MAC address is how you tell them appart). Worst case, delete the file (after saving a copy), and see if udev automagically solves everything by itself. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Ethernet Machination
On Tue, Jan 1, 2013 at 4:50 PM, James wirel...@tampabay.rr.com wrote: SNIP So now that only one ethernet shows up, how do I prevent udev from renaming eth0 to eth3? Probably remove any net-persistent rules that are hanging around. That should free up udev to do more of what you suspect. HTH, Mark mark@c2stable ~ $ ls -al /etc/udev/rules.d/ total 24 drwxr-xr-x 2 root root 4096 Jan 1 14:40 . drwxr-xr-x 3 root root 4096 Nov 26 17:33 .. -rw-r--r-- 1 root root0 Nov 26 17:31 .keep_sys-fs_udev-0 -rw-r--r-- 1 root root 79 Sep 26 06:19 51-android.rules -rw-r--r-- 1 root root 166 Nov 3 2011 60-ipod.rules -rw-r--r-- 1 root root 1196 May 5 2012 70-persistent-cd.rules -rw-r--r-- 1 root root 627 Nov 26 17:33 70-persistent-net.rules mark@c2stable ~ $