echec lors de l' activation de l'interface eth0 - réseaux et sécurité - Linux et OS Alternatifs
Marsh Posté le 22-05-2004 à 15:03:42
et c'est où que tu lui as spécifier quel ip utiliser?
edit: ah dhcp, t'a bien un serveur dhcp?
Marsh Posté le 22-05-2004 à 15:40:01
Je ne lui ai rien specifie...
En plus, je ne sais pas si c'est un dhcp.
<edit: ah dhcp> : c'est une commande?
Desole pour le niveau
Marsh Posté le 22-05-2004 à 15:45:29
dhcp c'est un service qui doit rouler sur ta machine qui de donnera un ip dynamique
mais vu que tu ne semble pas savoir ce que c'est, tu n'en a surement pas
enleve donc le dhcp et mets un ip statique
Marsh Posté le 22-05-2004 à 15:50:03
cat >> /etc/sysconfig/network << "EOF" |
cat > /etc/sysconfig/network-scripts/ifcfg.eth0 << "EOF" |
ca devrait ressembler à ca
Marsh Posté le 22-05-2004 à 16:08:57
En fait, ce que je voudrais, c'est preparer ma config pour avoir le moins de PB possible quand ma freebox sera la.
Donc, j'ai cru comprendre qu'il me faudrait de toutes façon une IP dynamique.
J'ai lu par ailleurs que si c'est en echec, c'est pas si grave, parce qu'il essaye seulement de recuperer l'etat de la carte.
Moi, j'ai cela:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
et cela:
DEVICE=eth0
BOOTPROTO=dhcp
BROADCAST=255
ONBOOT=yes
MII_NOT_SUPPORTED=yes
Donc il semble que je sois effectivement en IP dynamique.
J'ai bon?
Marsh Posté le 23-05-2004 à 20:01:51
quand tu auras ta freebox tu lanceras l'outil de mdk et il te feras tout
Marsh Posté le 22-05-2004 à 10:42:46
AS: je suis un newbie, est-ce besoin de le preciser...
Je lance donc MDK10 en mode interactif pour zapper le pcmcia qui bloque tout, et je reponds oui pour le service eth0.
La, il y a echec et message "determining IP information...failed"
Ca n'est pas encore bloquant, mais je suis susceptible d'avoir une freebox sous peu, donc, la carte ethernet me sera indispensable.
Pour gagner du temps, j'ai glane des infos (a partir de forums approchants mon sujet) qui ne me parlent pas beaucoup, mais qui devraient etre utile a un connaisseur.
Ce sont des commandes et leurs resultats:
" cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
cat /etc/modules.conf
probeall scsi_hostadapter imm ppa
probeall usb-interface usb-uhci ehci-hcd
above snd-via82xx snd-pcm-oss
alias ieee1394-controller ohci1394
alias eth0 via-rhine
alias sound-slot-0 snd-via82xx
lspcidrake
via-agp : VIA Technologies|VT8367 [KT266] [BRIDGE_HOST]
unknown : VIA Technologies|VT8367 [KT266 AGP] [BRIDGE_PCI]
ohci1394 : VIA Technologies|OHCI Compliant IEEE 1394 Host Controller [SER IAL_FIREWIRE]
yenta_socket : O2Micro Inc|OZ6912 CardBus Controller [BRIDGE_CARDBUS]
usb-uhci : VIA Technologies|VT82C586B USB [SERIAL_USB]
usb-uhci : VIA Technologies|VT82C586B USB [SERIAL_USB]
usb-uhci : VIA Technologies|VT82C586B USB [SERIAL_USB]
ehci-hcd : VIA Technologies Inc|VT8235 USB Enhanced Controller [SERIAL_US B]
via-ircc : VIA Technologies Inc|VT8233A PCI to ISA Bridge [BRIDGE_ISA]
unknown : VIA Technologies|VT82C586 IDE [Apollo] [STORAGE_IDE]
snd-via82xx : VIA Technologies|VT8233 [AC97 Audio Controller] [MULTIMEDIA_AU DIO]
Bad:www.linmodems.org: VIA Technologies|VT82C686 [Apollo Super AC97/Modem] [COMM UNICATION_OTHER]
via-rhine : VIA Technologies|VT6102 [Rhine II 10/100] [NETWORK_ETHERNET]
Card:ATI Radeon (fglrx): ATI|Radeon Mobility 9000 (M9) Lf (AGP) [DISPLAY_VGA]
unknown : Linux 2.6.3-4mdk ehci_hcd|EHCI Host Controller [Hub]
unknown : Linux 2.6.3-4mdk uhci_hcd|UHCI Host Controller [Hub]
unknown : Linux 2.6.3-4mdk uhci_hcd|UHCI Host Controller [Hub]
unknown : Linux 2.6.3-4mdk uhci_hcd|UHCI Host Controller [Hub]
unknown : MacALLY|MacALLY USB Two Button Mouse [Human Interface Devices| Boot Interface Subclass|Mouse]
lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
Subsystem: VIA Technologies, Inc.: Unknown device 0000
Flags: bus master, 66Mhz, medium devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: dfe00000-dfefffff
Prefetchable memory behind bridge: cfd00000-dfcfffff
Capabilities: <available only to root>
00:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) (prog-if 10 [OHCI])
Subsystem: VIA Technologies, Inc.: Unknown device 1584
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at dffff800 (32-bit, non-prefetchable) [size=2K]
I/O ports at ec00 [size=128]
Capabilities: <available only to root>
00:0b.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
Flags: bus master, slow devsel, latency 0
Memory at 20000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=32]
Capabilities: <available only to root>
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e400 [size=32]
Capabilities: <available only to root>
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at e800 [size=32]
Capabilities: <available only to root>
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Uniwill Computer Corp: Unknown device 1212
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at dffff700 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: Uniwill Computer Corp: Unknown device 8120
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: <available only to root>
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
Flags: bus master, medium devsel, latency 32, IRQ 14
I/O ports at fc00 [size=16]
Capabilities: <available only to root>
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 50)
Subsystem: Uniwill Computer Corp: Unknown device 8120
Flags: medium devsel, IRQ 5
I/O ports at d800 [size=256]
Capabilities: <available only to root>
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
Subsystem: Uniwill Computer Corp: Unknown device 4005
Flags: medium devsel, IRQ 5
I/O ports at dc00 [size=256]
Capabilities: <available only to root>
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Uniwill Computer Corp: Unknown device 8100
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d400 [size=256]
Memory at dffff600 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000 M9] (rev 01) (prog-if 00 [VGA])
Subsystem: Uniwill Computer Corp: Unknown device 2302
Flags: bus master, stepping, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfec0000 [disabled] [size=128K]
Capabilities: <available only to root>
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
service tmdns status
bash: service: command not found
cat /etc/hosts
127.0.0.1 localhost
dmesg | grep eth0
eth0: VIA VT6102 Rhine-II at 0xd400, 00:a0:cc:da:1d:a4, IRQ 11.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
"
Voila, ça devrait parler a qui de droit....
Merci bien en tous cas.