LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Fedora 8 adds eth1 (https://www.linuxquestions.org/questions/linux-networking-3/fedora-8-adds-eth1-608338/)

interele 12-21-2007 07:33 AM

Fedora 8 adds eth1
 
I built a F8 machine that has eth0
It has a static address etc

I then cloned the machine using G4L

All machines made from that image have

eth1 active ( which I then give a new IP address )
and eth0.bak ( which is set as DHCP )

( this does work fine but I am curious why it does it )

If I delete eth0.bak and re boot the machine it comes back

If I get rid of them both and add eth0 it says it isn't there
even tho' I've picked it from the dropdown list

The machines are identical

Happy Christmas

Mal

Brian1 12-23-2007 10:02 AM

Whats in /etc/modprobe.conf on the clones. Is this defining an alias to eth1?

Brian

interele 12-23-2007 11:56 AM

eth1
 
I will have a look - These are machines at work and I won't be back until 4th Jan

Why should that have changed if the machine is a clone and has identical hardware ??

Best wishes

Mal

Brian1 12-23-2007 11:59 AM

No idea why other than the hardware differs on them. Even if the same brand and model it still has a different serial number in the pci id that differs. If kudzu is running then when on new hardware it will make changes to files like modprobe.conf.

interele 01-04-2008 10:09 AM

eth1
 
Back at work now :-( so I checked modprobe.conf

Some machines have

alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
alias eth1 e100

some have

alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
alias eth0 e100

but the machines are identical - if I change

alias eth1 e100 to alias eth0 e100
on the next reboot it adds

alias eth0 e100
alias eth1 e100

If you remove everything and re add things eth1 is the network card
if you try and add an eth0 you get 'ethermet/driver' rather than
the card itself and it doesn't work

how does it decide that the ether card is eth1 and not eth0

Happy New Year

Mal

Brian1 01-05-2008 05:20 PM

Give this a try. I am thinking kudzu is still enabled so lets turn it off. Use the next two commands as root.
/sbin/service kudzu stop
/sbin/chkconfig --level 345 kudzu off

Now modify /etc/modprobe.conf to use only one eth0 alias as needed.

Now reboot and see if networking still works.

Brian


All times are GMT -5. The time now is 12:58 AM.