View previous topic :: View next topic |
Author |
Message |
greg n00b
Joined: 16 Apr 2002 Posts: 42 Location: HFX/NS/CA
|
Posted: Wed Jun 25, 2003 10:24 am Post subject: Two Nic, how to set which is eth0 and which is eth1 |
|
|
I've had two network cards in my machine for well over a year without trouble. Since my last update which included the baselayout my cards have swapped eth0 became eth1 and eth1->eth0. This cause my internet connection fail and I spend a while trying to figure out what is wrong until I ran 'dhcp eth1' and got an IP... Is there a way to set which driver is eth0/1? For now I've disable the 2nd nic's kernel modules so they to load and take eth0, given that I'm not using the second nic right now.
Greg |
|
Back to top |
|
|
thofra n00b
Joined: 23 Oct 2002 Posts: 6
|
Posted: Wed Jun 25, 2003 11:09 am Post subject: |
|
|
a short question
do you have two identical network cards(both REALTEK 8139)? |
|
Back to top |
|
|
thofra n00b
Joined: 23 Oct 2002 Posts: 6
|
Posted: Wed Jun 25, 2003 11:13 am Post subject: |
|
|
make two entries in /etc/modules.conf
e.g.
alias eth0 8139too
alias eth1 3c59x |
|
Back to top |
|
|
greg n00b
Joined: 16 Apr 2002 Posts: 42 Location: HFX/NS/CA
|
Posted: Wed Jun 25, 2003 11:41 am Post subject: |
|
|
The network cards are different. Thanks a lot for the information!
Greg |
|
Back to top |
|
|
Vxster n00b
Joined: 16 Jan 2003 Posts: 66 Location: London, UK
|
Posted: Wed Jun 25, 2003 2:16 pm Post subject: |
|
|
Just a quick question...if I have both of my NIC drivers compiled in to the kernel (eepro100 and tigon3), how do I choose which is which? |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Wed Jun 25, 2003 2:22 pm Post subject: |
|
|
see 'dmesg | grep eth', thats where the cards are identified... _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Sun Jul 20, 2003 2:29 am Post subject: |
|
|
Will this only work if the NIC drivers are compiled as modules ?
I ask as I have two NIC's in this machine and I compile the drivers into the kernel (don't ask me why though)...
Would it be possible to do something similar ?
--di1bert (~matt) |
|
Back to top |
|
|
|