[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Duas placas de rede usando o mesmo módulo



dmesg | grep eth:

eth0: VIA Rhine III at 0x1b800, 00:40:f4:a3:0f:b2, IRQ 169.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
eth1: VIA Rhine II at 0x1a000, 00:0e:a6:89:59:c1, IRQ 177.
eth1: MII PHY found at address 1, status 0x786d advertising 01e1 Link 41e1.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1


cat /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0


grep eth /etc/modprobe.d/aliases - não aparece nada.


Quando eu dou um:

ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up

é que aparece a mensagem de erro:

SIOCSIFADDR: Dispositivo inexistente
eth1: ERROR while getting interface flags: Dispositivo inexistente
SIOCSIFNETMASK: Dispositivo inexistente
eth1: ERROR while getting interface flags: Dispositivo inexistente


Dá uma analisada, a única coisa que eu não tentei ainda foi colocar alias neste arquivo de aliases! Como eu já apanhei muito, aguardo a sugestão dos senhores.

Obrigado!


From: Junior Polegato - Linux <linux@juniorpolegato.com.br>
To: Victor Hogemann <victor.hogemann@gmail.com>
CC: Cláudio Fain <claudiocefet@hotmail.com>, debian-user-portuguese@lists.debian.org
Subject: Re: Duas placas de rede usando o mesmo módulo
Date: Fri, 09 Feb 2007 13:15:16 +0000


Olá,

 Mande também a saí­da de:

$ dmesg | grep eth
$ cat /etc/network/interfaces
$ grep eth /etc/modprobe.d/aliases

 E que comando executa quando ocorre o erro também seria interessante.

--
Atenciosamente,

          Junior Polegato

          Um peregrino de problemas; Um pergaminho de soluções!
          Página Profissional: http://www.juniorpolegato.com.br


_________________________________________________________________
Seja um dos primeiros a testar o novo Windows Live Mail Beta- grátis. Acesse http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d



Reply to: