Bonjour à tous.
Etant depuis plusieurs années sous ubuntu, je me suis décidé à passer sur débian ( dernière version stable ). Pas de difficultés rencontée jusque la sauf pour activer ma deuxième carte réseaux.
Après recherche, je constate que les deux carte réseaus sont bien détectée avec un lspci, mais eth1 n’apparet pas avec un ifconfig. J’ai tanter de renseigner manuelement le fichier interfaces, mais sans résultat.
Voici quelques retour de commande :
leo-25@Serveur:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
[b]00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)[/b]
00:09.0 USB Controller: NEC Corporation USB (rev 43)
...
Donc cartes réseaux bien vu…
[code]leo-25@Serveur:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:54:0a:05:89
inet adr:192.168.0.12 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::208:54ff:fe0a:589/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1803 errors:0 dropped:0 overruns:0 frame:0
TX packets:1572 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2224457 (2.1 MiB) TX bytes:254427 (248.4 KiB)
Interruption:10 Adresse de base:0xc400
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:14235 (13.9 KiB) TX bytes:14235 (13.9 KiB)
[/code]
Pas de eth1
[code]leo-25@Serveur:~$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:08:54:0a:05:89
inet adr:192.168.0.12 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::208:54ff:fe0a:589/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1803 errors:0 dropped:0 overruns:0 frame:0
TX packets:1572 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2224457 (2.1 MiB) TX bytes:254427 (248.4 KiB)
Interruption:10 Adresse de base:0xc400
eth1 Link encap:Ethernet HWaddr 00:e0:4c:84:1b:94
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interruption:5 Adresse de base:0xc000
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:14235 (13.9 KiB) TX bytes:14235 (13.9 KiB)
pan0 Link encap:Ethernet HWaddr 46:8b:06:f5:30:c7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr 2a:25:d4:3b:60:3c
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[/code]
Cette fois eth1 mais pas configurée
root@Serveur:/home/leo-25# ifup eth1
Don't seem to have all the variables for eth1/inet.
Failed to bring up eth1.
ne veux pas …
contenu de /etc/network/interfaces :
[code]# The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
#WAN
#auto eth0
iface eth0 inet dhcp
#Lan
auto eth1
iface eth1 inet static
adresse 192.168.10.254
netmask 255.255.255.0
[/code]
Eth1 renseigné manuelement mais aucun changement…
Contenu de /etc/udev/rules.d/70-persistent-net.rules:
[code]# This file was automatically generated by the /lib/udev/write_net_rules
program, run by the persistent-net-generator.rules rules file.
You can modify it, as long as you keep each rule on a single
line, and change only the value of the NAME= key.
PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:08:54:0a:05:89”, ATTR{dev_id}==“0x0”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth0”
PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:e0:4c:84:1b:94”, ATTR{dev_id}==“0x0”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth1”
[/code]
Les deux cartes réseaux sont bien présente et les @ mac correspondent…
[code]root@Serveur:/home/leo-25# ifup eth1
Don’t seem to have all the variables for eth1/inet.
Failed to bring up eth1.
root@Serveur:/home/leo-25# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces … (warning).
Reconfiguring network interfaces…Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:08:54:0a:05:89
Sending on LPF/eth0/00:08:54:0a:05:89
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.254 port 67
send_packet: Operation not permitted
Don’t seem to have all the variables for eth1/inet.
Failed to bring up eth1.
done.
[/code]
Si quelqu’un à une idée de la cause du pb…
Merci d’avance.