Ifconfig ne voit pas la carte

Bonjour,
je voudrais mettre un vieux PC en réseau.
J’ai installé debian + lxde
j’ai une carte qui est reconnue :
3.679279] isapnp: Scanning for PnP cards…
[ 3.776429] 01:01: card ‘ACCTON EN166X MPX2 ETHERNET CARD’
[ 3.776449] isapnp: 1 Plug & Play card detected total
[ 3.797527] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 3.797978] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 3.798405] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

mais ifconfig -a ne donne que la boucle locale.
ifconfig eth0 up : ERROR while getting interface flags: No such device

je sèche …

donne nous le
cat /etc/network/interfaces

Dans mes recherches sur le net, je lis qu’il pourrait y avoir conflit d’IRQ.
Avec quoi ? J’avais un réseau avec windows. Si ça peut aider.

[quote=“dchost99”]donne nous le
cat /etc/network/interfaces[/quote]

Je te le donnerai dès que je serai de retour au boulot.

Il n’y a rien dans ‘interfaces’, juste deux lignes commentées.

Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or

/usr/share/doc/ifupdown/examples for more information.

que donne

[ 873.233429] Driver ‘sd’ needs updating - please use bus_type methods

mouai c est pas reconnu par le kernel on dirait ,tu a qu’elle kernel et etch,lenny,squeez,sid ?

lspci -vvv (lspci en root)

Linux localhost 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 GNU/Linux

(debian-503-1386-xfce+lxde-CD1) j’ai installé lxde

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 64
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: e4000000-e5ffffff
Prefetchable memory behind bridge: e6000000-e6ffffff
Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Kernel modules: shpchp

00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 64
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
Region 4: I/O ports at f000 [size=16]
Kernel driver in use: PIIX_IDE
Kernel modules: piix

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 64
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at e000 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Interrupt: pin ? routed to IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4

00:0f.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 64 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at e400 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ENS1371
Kernel modules: snd-ens1371

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP (rev 7a) (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc Rage 3D Pro AGP 2x XPERT 98
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 64 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e6000000 (32-bit, prefetchable) [size=16M]
Region 1: I/O ports at d000 [size=256]
Region 2: Memory at e5000000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at e4000000 [disabled] [size=128K]
Capabilities: [5c] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Bonjour,

Edite ton fichier /etc/network/interface
#sudo gedit /etc/network/interface

rajoute les lignes
auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

Enregistre ton fichier et redémarre le service networking
#cd /etc/init.d
#./networking restart

Cordialement

j’ai rentré tout ça mais pas de changement par rapport au premier post
:frowning:
Est-ce que le fait que la carte soit sur le deuxième slot pourrait nécessiter un autre nom que ‘eth0’ ?

[quote=“panthere”]que donne

j’ai lu sur le forum ubuntu :
"Driver ‘sd’ needs updating - please use bus_type methods"
n’a aucun rapport avec ton port ethernet: la commande “grep eth” a simplement retenu cette ligne car “eth” est une sous-chaine de “methods”

Tu as une carte ISA ce qui est assez merdique.
Essaye de faire un

modprobe ne
ou
modprobe ne2
ou peut être
modprobe ne2k

puis donnes les messages apparus à la suite de chacune de ces commandes.
(tu vois par dmesg)

Cela dit je pense que la première ou la seconde devrait te faire apparaitre eth0 (fais ifconfig -a pour la voir)

OK pour modprobe ne !
ifconfig -a fait maintenant apparaître eth0
je n’ai pas encore de connexion mais je pense qu’il ne manque pas grand chose ?

Il te suffit désormais de configurer la carte par le fichier interfaces.

Donc

  1. Péréniser le chargement du module:

echo ne >> /etc/modules

  1. Réglage de la carte, si tu es en DHCP, rajoutes dans le fichier /etc/network/interfaces

auto eth0 iface eth0 inet dhcp
en dessous des lignes

auto lo iface lo inet loopback

ifup eth0 doit activer ta carte.

:smiley:
Merci beaucoup, ça marche (j’ai encore une configuration quelconque de serveur DNS à faire)

[quote=“blaisoth”][quote=“panthere”]que donne

j’ai lu sur le forum ubuntu :
"Driver ‘sd’ needs updating - please use bus_type methods"
n’a aucun rapport avec ton port ethernet: la commande “grep eth” a simplement retenu cette ligne car “eth” est une sous-chaine de “methods”[/quote]

je voulai obtenir un sortie du type eth2 , le nom peux changer si l’adresse mac change, c est el cas sur mon portable qui passe de eth0 a eth1 a cause du wifi :slightly_smiling: