Where is eth0/eth1/assigned -
I am still struggling with this f10 install. It appeared that the NIC in eth0 was no good. I pulled it out and left the second card which was/is eth1. It looks to me like that designation eth1 might be changed to eth0 using ethtool but if so, I can't find the right command. I have used service-config-network to set it up as 192.168.1.10 and eth1, network-scripts is set up for eth1. but no matter what I do a ping to another computer yields "Network is unreachable." This is a wired connection. I've tried a different cat5 cable. "ethtools eth1" looks ok compared to the other computers. Not sure what I have missed but it would be simpler perhaps if I could convince the NIC that it was eth0 instead of eth1 but I can't determine how that is set. Any help appreciated. I am about at wits end. Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
> > I am still struggling with this f10 install. It appeared that the > NIC in eth0 was no good. I pulled it out and left the second card > which was/is eth1. > > It looks to me like that designation eth1 might be changed to eth0 > using ethtool but if so, I can't find the right command. > > I have used service-config-network to set it up as 192.168.1.10 and > eth1, network-scripts is set up for eth1. but no matter what I do a > ping to another computer yields "Network is unreachable." > > This is a wired connection. I've tried a different cat5 cable. > "ethtools eth1" looks ok compared to the other computers. Not sure > what I have missed but it would be simpler perhaps if I could > convince the NIC that it was eth0 instead of eth1 but I can't > determine how that is set. > > Any help appreciated. I am about at wits end. Actually, it's probably in your /etc/modprobe.conf file. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org To be notified of updates to the web site, visit: https://www.bubbanfriends.org/mailman/listinfo/site-update or send a blank email message to: site-update-subscr...@bubbanfriends.org -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Mike Burger wrote: I am still struggling with this f10 install. It appeared that the NIC in eth0 was no good. I pulled it out and left the second card which was/is eth1. It looks to me like that designation eth1 might be changed to eth0 using ethtool but if so, I can't find the right command. I have used service-config-network to set it up as 192.168.1.10 and eth1, network-scripts is set up for eth1. but no matter what I do a ping to another computer yields "Network is unreachable." This is a wired connection. I've tried a different cat5 cable. "ethtools eth1" looks ok compared to the other computers. Not sure what I have missed but it would be simpler perhaps if I could convince the NIC that it was eth0 instead of eth1 but I can't determine how that is set. Any help appreciated. I am about at wits end. Actually, it's probably in your /etc/modprobe.conf file. /etc/modprobe.conf is an empty file? Do I need to use it to change the eth designation? Don't know how but ... Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
> Mike Burger wrote: >>> I am still struggling with this f10 install. It appeared that the >>> NIC in eth0 was no good. I pulled it out and left the second card >>> which was/is eth1. >>> >>> It looks to me like that designation eth1 might be changed to eth0 >>> using ethtool but if so, I can't find the right command. >>> >>> I have used service-config-network to set it up as 192.168.1.10 and >>> eth1, network-scripts is set up for eth1. but no matter what I do a >>> ping to another computer yields "Network is unreachable." >>> >>> This is a wired connection. I've tried a different cat5 cable. >>> "ethtools eth1" looks ok compared to the other computers. Not sure >>> what I have missed but it would be simpler perhaps if I could >>> convince the NIC that it was eth0 instead of eth1 but I can't >>> determine how that is set. >>> >>> Any help appreciated. I am about at wits end. >>> >> >> Actually, it's probably in your /etc/modprobe.conf file. >> >> >> > > /etc/modprobe.conf is an empty file? > Do I need to use it to change the eth designation? Don't know how > but ... Used to...it's possible that it's being done via udev, at this point. Lemme look around at ethtool and udev info. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org To be notified of updates to the web site, visit: https://www.bubbanfriends.org/mailman/listinfo/site-update or send a blank email message to: site-update-subscr...@bubbanfriends.org -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
> >> Mike Burger wrote: I am still struggling with this f10 install. It appeared that the NIC in eth0 was no good. I pulled it out and left the second card which was/is eth1. It looks to me like that designation eth1 might be changed to eth0 using ethtool but if so, I can't find the right command. I have used service-config-network to set it up as 192.168.1.10 and eth1, network-scripts is set up for eth1. but no matter what I do a ping to another computer yields "Network is unreachable." This is a wired connection. I've tried a different cat5 cable. "ethtools eth1" looks ok compared to the other computers. Not sure what I have missed but it would be simpler perhaps if I could convince the NIC that it was eth0 instead of eth1 but I can't determine how that is set. Any help appreciated. I am about at wits end. >>> >>> Actually, it's probably in your /etc/modprobe.conf file. >>> >>> >>> >> >> /etc/modprobe.conf is an empty file? >> Do I need to use it to change the eth designation? Don't know how >> but ... > > Used to...it's possible that it's being done via udev, at this point. > Lemme look around at ethtool and udev info. Did a little googling of "udev eth designation" and found this: http://www.mepis.org/node/10770 The short of it is to edit /etc/udev/rules.d/70-persistent-net.rules. You can remove the line for eth0, then take the line for eth1, and as long as the "ATTR{address}" line matches the MAC address of your current eth1 NIC, just change: NAME="eth1" to NAME=eth0" Reboot, and voila!!! -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org To be notified of updates to the web site, visit: https://www.bubbanfriends.org/mailman/listinfo/site-update or send a blank email message to: site-update-subscr...@bubbanfriends.org -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Mike Burger wrote: Mike Burger wrote: Actually, it's probably in your /etc/modprobe.conf file. /etc/modprobe.conf is an empty file? Do I need to use it to change the eth designation? Don't know how but ... Used to...it's possible that it's being done via udev, at this point. Lemme look around at ethtool and udev info. From the way it acts it seems to be stored in the NIC card itself, an nvrom or some such? Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Mike Burger wrote: Mike Burger wrote: I am still struggling with this f10 install. It appeared that the NIC in eth0 was no good. I pulled it out and left the second card which was/is eth1. It looks to me like that designation eth1 might be changed to eth0 using ethtool but if so, I can't find the right command. I have used service-config-network to set it up as 192.168.1.10 and eth1, network-scripts is set up for eth1. but no matter what I do a ping to another computer yields "Network is unreachable." This is a wired connection. I've tried a different cat5 cable. "ethtools eth1" looks ok compared to the other computers. Not sure what I have missed but it would be simpler perhaps if I could convince the NIC that it was eth0 instead of eth1 but I can't determine how that is set. Any help appreciated. I am about at wits end. Actually, it's probably in your /etc/modprobe.conf file. /etc/modprobe.conf is an empty file? Do I need to use it to change the eth designation? Don't know how but ... Used to...it's possible that it's being done via udev, at this point. Lemme look around at ethtool and udev info. Did a little googling of "udev eth designation" and found this: http://www.mepis.org/node/10770 The short of it is to edit /etc/udev/rules.d/70-persistent-net.rules. You can remove the line for eth0, then take the line for eth1, and as long as the "ATTR{address}" line matches the MAC address of your current eth1 NIC, just change: NAME="eth1" to NAME=eth0" Reboot, and voila!!! You are correct, I had considered it might be tied to a MAC address! But I never would have found that file without your help. Now I have to fix the rest of the network config stuff. Thanks much. Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Mike Burger wrote: >> I am still struggling with this f10 install. It appeared that the >> NIC in eth0 was no good. I pulled it out and left the second card >> which was/is eth1. >> >> It looks to me like that designation eth1 might be changed to eth0 >> using ethtool but if so, I can't find the right command. >> >> I have used service-config-network to set it up as 192.168.1.10 and >> eth1, network-scripts is set up for eth1. but no matter what I do a >> ping to another computer yields "Network is unreachable." >> >> This is a wired connection. I've tried a different cat5 cable. >> "ethtools eth1" looks ok compared to the other computers. Not sure >> what I have missed but it would be simpler perhaps if I could >> convince the NIC that it was eth0 instead of eth1 but I can't >> determine how that is set. >> >> Any help appreciated. I am about at wits end. > > Actually, it's probably in your /etc/modprobe.conf file. > It can be, but /etc/udev/rules.d/70-persistent-net.rules tends to be more important - it maps the MAC address to the device name. Then you may also have the HWADDR= option in your /etc/sysconfig/network-scripts/ifcfg=eth? file. That will provent the interface from coming up if the MAC address of the NIC does not match. You can edit the 70-persistent-net.rules file, or you can delete it if you want to renumber the NICs. It will be re-created for you the next time you boot. Change the HWADDR= value requires you do edit the ifcfg-eth? file. (Hand edit or GUI.) Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup! signature.asc Description: OpenPGP digital signature -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Mikkel L. Ellertson wrote: It can be, but /etc/udev/rules.d/70-persistent-net.rules tends to be more important - it maps the MAC address to the device name. Then you may also have the HWADDR= option in your /etc/sysconfig/network-scripts/ifcfg=eth? file. That will provent the interface from coming up if the MAC address of the NIC does not match. You can edit the 70-persistent-net.rules file, or you can delete it if you want to renumber the NICs. It will be re-created for you the next time you boot. Change the HWADDR= value requires you do edit the ifcfg-eth? file. (Hand edit or GUI.) Mikkel After making the udev change I rebooted and it complained of a file system error and requested fsck. It's churning through that now. This is an old computer that I probably shouldn't even be fooling with but I thought it might do some good and I might learn a few things in the process. The latter part is true at least! Thanks. Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Bob Goodwin wrote: Mikkel L. Ellertson wrote: It can be, but /etc/udev/rules.d/70-persistent-net.rules tends to be more important - it maps the MAC address to the device name. Then you may also have the HWADDR= option in your /etc/sysconfig/network-scripts/ifcfg=eth? file. That will provent the interface from coming up if the MAC address of the NIC does not match. You can edit the 70-persistent-net.rules file, or you can delete it if you want to renumber the NICs. It will be re-created for you the next time you boot. Change the HWADDR= value requires you do edit the ifcfg-eth? file. (Hand edit or GUI.) Mikkel After making the udev change I rebooted and it complained of a file system error and requested fsck. It's churning through that now. This is an old computer that I probably shouldn't even be fooling with but I thought it might do some good and I might learn a few things in the process. The latter part is true at least! Thanks. Bob The fsck looked like it would never finish. I quit and did another reinstall from the livecd. This time eth0 came up right and I did the routine things to make the network connection for 192.168.1.10 and it is happily running a yum update at last! Thanks all for the assistance. Bob -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
On Thu, 2009-06-04 at 16:02 -0400, Mike Burger wrote: > You can remove the line for eth0, then take the line for eth1, and as long > as the "ATTR{address}" line matches the MAC address of your current eth1 > NIC, just change: > > NAME="eth1" > > to > > NAME=eth0" > > Reboot, and voila!!! Is there a way to have the udev changes read by the kernel and other OS bits without having to reboot the box? -- Kanwar Ranbir Sandhu Linux 2.6.27.21-170.2.56.fc10.x86_64 x86_64 GNU/Linux 08:49:32 up 13 days, 9:59, 2 users, load average: 0.11, 0.18, 0.13 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
Kanwar Ranbir Sandhu wrote: > On Thu, 2009-06-04 at 16:02 -0400, Mike Burger wrote: >> You can remove the line for eth0, then take the line for eth1, and as long >> as the "ATTR{address}" line matches the MAC address of your current eth1 >> NIC, just change: >> >> NAME="eth1" >> >> to >> >> NAME=eth0" >> >> Reboot, and voila!!! > > Is there a way to have the udev changes read by the kernel and other OS > bits without having to reboot the box? > You can try "udevadm control --reload_rules" - this will tell udevd about the rule changes. You will probably have to remove and re-install the NIC module for the change to take affect. You will have to bring down eth1 before removing the module, and you will want to bring up eth0 after re-installing it. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup! signature.asc Description: OpenPGP digital signature -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Where is eth0/eth1/assigned -
On Sat, 2009-06-06 at 08:42 -0500, Mikkel L. Ellertson wrote: > You can try "udevadm control --reload_rules" - this will tell udevd > about the rule changes. You will probably have to remove and > re-install the NIC module for the change to take affect. You will > have to bring down eth1 before removing the module, and you will > want to bring up eth0 after re-installing it. Worked! Here's what I did: 1. stopped the network 2. unloaded both NICs' modules 3. made my changes to "/etc/udev/rules.d/70-persistent-net.rules" 3. reloaded the udev rules 4. loaded the NIC modules 5. restarted the network Thanks! -- Kanwar Ranbir Sandhu Linux 2.6.27.21-170.2.56.fc10.x86_64 x86_64 GNU/Linux 09:19:52 up 27 days, 10:29, 4 users, load average: 0.12, 0.13, 0.18 -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines