[SOLVED] need help to change eth numbers at boot time
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have googled a lot to find an answer to my question but I couldn't find a correct answer, or I don't have enought knowledge to understand... I hope somebody will help me.
I'm using debian 6 with kernel 3.2.31 on a DELL server with 4 broadcom network connectors. The thing is that debian is autoprobing the cards in a wrong order... The first RJ45 port is eth2, the second is eth3, the third is eth0 and the last one is eth1.
I would like to change this so as to get first port=eth0, second=eth1, third=eth2 and fourth=eth3
I've find out that I could create an alias on the driver name in modeprobe.conf, but all the cards are using the same driver (tg3)...
I've also find out that I could add a kernel boot command like that :
but I don't know how to find the correct "io" parameter to set (these are PCIexpress cards)
Could someone help me ?
the only thing that I can find to identify the cards is the pci slot, but I don't know how to change the eth numbers based on that information :