Re: SOLVED - problems with 2 NICs in amd64
Am Donnerstag, 22. März 2007 17:52 schrieb Pedro Zorzenon Neto:
> Hi Gabor,
>
> Your answer solved the problem. "ip link list" showed the second NIC
> as "eth7", and I could configure and use it correctly.
>
> So, it was not an amd64 porting issue, sorry for posting to the wrong
> list.
>
> Thanks,
> Pedro
>
> On Thu, Mar 22, 2007 at 05:26:34PM +0100, Gabor Gombas wrote:
> > On Thu, Mar 22, 2007 at 08:50:06AM -0300, Pedro Zorzenon Neto wrote:
> > > if fails with the following message:
> > > SIOCSIFADDR: No such device
> > > eth0: ERROR while getting interface flags: No such device
> > > SIOCSIFNETMASK: No such device
> >
> > Probably udev renamed the interfaces trying to maintain persistent
> > interface names. Run "ifconfig -a" or "ip link list" to see the existing
> > interface names.
> >
> > > The only situation that "ifconfig" sets up correctly is with one
> > > 3com905 NIC plugged into PCI slot, when there are two nics, none work.
> >
> > So probably udev gave the name "eth0" to that particular 3com905 NIC,
> > and the others are named eth1, eth2 and so on. The upside is when you
> > install the same card the second time it will get the same name as
> > before.
> >
> > Gabor
> >
> > --
> > ---------------------------------------------------------
> > MTA SZTAKI Computer and Automation Research Institute
> > Hungarian Academy of Sciences
> > ---------------------------------------------------------
>
> --
> .''`. Pedro Zorzenon Neto <pzn@terra.com.br>
>
> : :' : Debian GNU/Linux | GNU/Hurd: <http://www.debian.org>
>
> `. `'` Debian BR: <http://debian-br.alioth.debian.org>
> `- Be Happy! Be FREE!
Hi !
You can force the eth-number in /etc/udev/rules.d/z25_persistent-net.rules
Just edit the device acording to the MAC-address to your needs.
This will never change at reboot.
Have fun !
Hans
Reply to: