All, I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either. I think it was posted here once also but just no luck with that, any help with the name of this file would be greatly appreciated. -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
I think it was posted here once also but just no luck with that, any help with the name of this file would be greatly appreciated.
I know *exactly* what you mean! :) I had this problem too a while ago, took me some time to figure it out. Alas, I forgot what file it was... cd /etc; egrep -wr 'eth[0-9]+' did the trick again. Have a look at /etc/udev/rules.d/30-net_persistent_names.rules It's just a matter of combinint the right MAC-address with the right eth[0-9]. You might want to 'ifdown eth1' before, and 'ifup eth0' afterward. Cheers, Leen
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
I think it was posted here once also but just no luck with that, any help with the name of this file would be greatly appreciated.
I know *exactly* what you mean! :) I had this problem too a while ago, took me some time to figure it out. Alas, I forgot what file it was...
cd /etc; egrep -wr 'eth[0-9]+'
did the trick again. Have a look at /etc/udev/rules.d/30-net_persistent_names.rules
It's just a matter of combinint the right MAC-address with the right eth[0-9].
You might want to 'ifdown eth1' before, and 'ifup eth0' afterward.
Cheers,
Leen
I do not even have to rename it, if I can just get eth1 to start at bootup without having to go into yast to make it initialize that would be great. -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
I think it was posted here once also but just no luck with that, any help with the name of this file would be greatly appreciated.
I know *exactly* what you mean! :) I had this problem too a while ago, took me some time to figure it out. Alas, I forgot what file it was...
cd /etc; egrep -wr 'eth[0-9]+'
did the trick again. Have a look at /etc/udev/rules.d/30-net_persistent_names.rules
It's just a matter of combinint the right MAC-address with the right eth[0-9].
You might want to 'ifdown eth1' before, and 'ifup eth0' afterward.
I do not even have to rename it, if I can just get eth1 to start at bootup without having to go into yast to make it initialize that would be great.
I see. But that should automatically happen if you setup an interfacecard with YaST. But my previous advice was wrong. /etc/udev/rules.d/30-net_persistent_names.rules points to documentation in /usr/share/doc/packages/sysconfig/. I had missed that. ;) The point is that one can rename interfaces with 'rename_netiface': ifdown eth1 rename_netiface eth0 eth2 rename_netiface eth1 eth0 rename_netiface eth2 eth1 ifup eth0 I have a second, unused interface card in my pc. Maybe you could directly rename eth1 to eth0. This time I did test it myself, and it works. One might have to use something else instead of eth2 if eth2 is in use. Cheers, Leen
Leendert Meyer wrote:
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
I think it was posted here once also but just no luck with that, any help with the name of this file would be greatly appreciated. I know *exactly* what you mean! :) I had this problem too a while ago, took me some time to figure it out. Alas, I forgot what file it was...
cd /etc; egrep -wr 'eth[0-9]+'
did the trick again. Have a look at /etc/udev/rules.d/30-net_persistent_names.rules
It's just a matter of combinint the right MAC-address with the right eth[0-9].
You might want to 'ifdown eth1' before, and 'ifup eth0' afterward. I do not even have to rename it, if I can just get eth1 to start at bootup without having to go into yast to make it initialize that would be great.
I see. But that should automatically happen if you setup an interfacecard with YaST.
But my previous advice was wrong. /etc/udev/rules.d/30-net_persistent_names.rules points to documentation in /usr/share/doc/packages/sysconfig/. I had missed that. ;)
The point is that one can rename interfaces with 'rename_netiface':
ifdown eth1 rename_netiface eth0 eth2 rename_netiface eth1 eth0 rename_netiface eth2 eth1 ifup eth0
I have a second, unused interface card in my pc. Maybe you could directly rename eth1 to eth0.
This time I did test it myself, and it works. One might have to use something else instead of eth2 if eth2 is in use.
Cheers,
Leen
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine. -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
On Sunday 09 April 2006 14:11, Elijah Savage wrote:
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine.
It sounds like the module you need for the netcard isn't loaded at boot time (in initrd) Try this: hwinfo --netcard This should provide into about the new card and what module is needed. Then go to /etc/sysconfig/kernel and check what modules are included in the line: INITRD_MODULES="piix ata_piix aic7xxx processor thermal fan jbd ext3" If the needed module isn't in there, add it in between the quotes. Then run (as root) mk_initrd re-boot I spit this out from memory.... someone else might see a flaw in it but it is a good bet that is the problem.
On Sunday 09 April 2006 19:11, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
<snip>
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine.
--
Aha! In YaST, from Network Card Config Overview, select edit for Network Address Setup, then Advanced -> Detailed settings -> Device Activation, the select 'At boot time'. Does that help?
Vince Littler wrote:
On Sunday 09 April 2006 19:11, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote:
All,
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
<snip>
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine.
--
Aha! In YaST, from Network Card Config Overview, select edit for Network Address Setup, then Advanced -> Detailed settings -> Device Activation, the select 'At boot time'. Does that help?
Yes it is set that way did it a number of times. I am getting ready to try Bruce's recommendations here in a minute. -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
On Sunday 09 April 2006 21:16, Elijah Savage wrote:
Vince Littler wrote:
On Sunday 09 April 2006 19:11, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 17:23, Elijah Savage wrote: > All, > > I changed my realtek network card for a intel pro 1000 gig card. > Suse10 added this card as eth1 I want to change it back to eth0 I > know there is a flat file for doing this but for the life of me I > can't remember which it is. After long searches on google I can't > seem to find it either.
<snip>
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine.
--
Aha! In YaST, from Network Card Config Overview, select edit for Network Address Setup, then Advanced -> Detailed settings -> Device Activation, the select 'At boot time'. Does that help?
Yes it is set that way did it a number of times. I am getting ready to try Bruce's recommendations here in a minute.
Try a reboot first, to see if it's needed. ;) Cheers, Leen
On Sunday 09 April 2006 20:29, Leendert Meyer wrote:
On Sunday 09 April 2006 21:16, Elijah Savage wrote:
Vince Littler wrote:
On Sunday 09 April 2006 19:11, Elijah Savage wrote:
Leendert Meyer wrote:
On Sunday 09 April 2006 19:05, Elijah Savage wrote:
Leendert Meyer wrote: > On Sunday 09 April 2006 17:23, Elijah Savage wrote: >> All, >> >> I changed my realtek network card for a intel pro 1000 gig card. >> Suse10 added this card as eth1 I want to change it back to eth0 I >> know there is a flat file for doing this but for the life of me I >> can't remember which it is. After long searches on google I can't >> seem to find it either.
<snip>
Yeah I did use yast to set it up but after reboot the card is not detected. I go into yast and the card initializes and everything is fine.
--
Aha! In YaST, from Network Card Config Overview, select edit for Network Address Setup, then Advanced -> Detailed settings -> Device Activation, the select 'At boot time'. Does that help?
Yes it is set that way did it a number of times. I am getting ready to try Bruce's recommendations here in a minute.
Try a reboot first, to see if it's needed. ;)
Hmm, thinking a bit more, if the card is still in as eth1, I seem to think the thing to do is clear out all cards in YaST and detect from scratch. Maybe part of the problem is that there is still stuff from eth0, which is looking to get started, but doesn't find the old eth0 and aborts the network boot without looking at eth1. On reflection, I really would clear out all network config with YaST, do a reboot and add the Intel card from scratch. It may be OTT, but I think it's the best chance.
On Sunday 09 April 2006 15:54, Vince Littler wrote:
Hmm, thinking a bit more, if the card is still in as eth1, I seem to think the thing to do is clear out all cards in YaST and detect from scratch. Maybe part of the problem is that there is still stuff from eth0, which is looking to get started, but doesn't find the old eth0 and aborts the network boot without looking at eth1. On reflection, I really would clear out all network config with YaST, do a reboot and add the Intel card from scratch. It may be OTT, but I think it's the best chance.
I would agree with this (and wonder why it wasn't done in the first place)
Bruce Marshall wrote:
On Sunday 09 April 2006 15:54, Vince Littler wrote:
Hmm, thinking a bit more, if the card is still in as eth1, I seem to think the thing to do is clear out all cards in YaST and detect from scratch. Maybe part of the problem is that there is still stuff from eth0, which is looking to get started, but doesn't find the old eth0 and aborts the network boot without looking at eth1. On reflection, I really would clear out all network config with YaST, do a reboot and add the Intel card from scratch. It may be OTT, but I think it's the best chance.
I would agree with this (and wonder why it wasn't done in the first place)
Yes any reference to eth0 in yast has been cleared out. I followed Bruce's previous advice and getting ready to reboot. -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
James Knott wrote:
Elijah Savage wrote:
Yes any reference to eth0 in yast has been cleared out.
I followed Bruce's previous advice and getting ready to reboot.
Why would you reboot??? This is Linux, not Windows.
Because I will not know if I have fixed it or not because the problem is the card does not initialize on boot up/ -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
On Sunday 09 April 2006 17:46, James Knott wrote:
Elijah Savage wrote:
Yes any reference to eth0 in yast has been cleared out.
I followed Bruce's previous advice and getting ready to reboot.
Why would you reboot??? This is Linux, not Windows.
Good example of bad advice. He was told to do a mk_initrd. If you had read the thread, you would know that his nic wasn't being detected or init'd at boot time. How in hell else would you test a fix???????
Bruce Marshall wrote:
On Sunday 09 April 2006 17:46, James Knott wrote:
Elijah Savage wrote:
Yes any reference to eth0 in yast has been cleared out.
I followed Bruce's previous advice and getting ready to reboot. Why would you reboot??? This is Linux, not Windows.
Good example of bad advice.
He was told to do a mk_initrd.
If you had read the thread, you would know that his nic wasn't being detected or init'd at boot time.
How in hell else would you test a fix???????
Thank you Bruce for your advise. For those that may be following this the below recommendations fixed it. I am not sure why yast did not take care of this because I know the intel pro 1000 is a very popular network card, after adding e1000 in the modules section everything works fine. Thank you again Bruce. Try this: hwinfo --netcard This should provide into about the new card and what module is needed. Then go to /etc/sysconfig/kernel and check what modules are included in the line: INITRD_MODULES="piix ata_piix aic7xxx processor thermal fan jbd ext3" If the needed module isn't in there, add it in between the quotes. Then run (as root) mk_initrd re-boot -- ---------------------------------------------------------------------- Elijah Savage | AOL IM:layer3rules Senior Network Engineer | When it has to be switched or routed. http://www.digitalrage.org | The Information Technology News Center ----- http://www.digitalrage.org/?page_id=46 for pgp public key--------
Elijah Savage wrote:
I changed my realtek network card for a intel pro 1000 gig card. Suse10 added this card as eth1 I want to change it back to eth0 I know there is a flat file for doing this but for the life of me I can't remember which it is. After long searches on google I can't seem to find it either.
Elijah, just in case the lengthy exchange has not yet solved your problem - I've been swapping NICs a couple of times recently as the latest 10.1 betas have had problems with my 3c905/920 cards. I've used a realtek as an alternative. All you need to do is edit: /etc/udev/rules.d/30-net_persistent_names.rules Delete the line that does not apply and correct the ethx name in the other. That's all I do. And then restart the system. (maybe restarting the network is enough, I haven't tried). /Per Jessen, Zürich
participants (6)
-
Bruce Marshall
-
Elijah Savage
-
James Knott
-
Leendert Meyer
-
Per Jessen
-
Vince Littler