eth0 est l’interface de mon pc DELL Latitude D810 elle est naze.
Précédemment j’étais sur unbuntu 9.04 et les deux interfaces (pcmcia et usb) fonctionnaient parfaitement. J’en ai eu marre d’avoir des pb avec “evolution” notamment, alors j’ai décidé de revenir sur de bonne base DEBIAN.
En fait vue que mon eth0 est naze j’ai acheté une interface pcmcia
eth2 (8139too)
et une interface usb 2.0
eth3 (Pegasus)
Voilà mon nouveau fichier /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.
PCI device 0x14e4:0x1677 (tg3)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:14:22:eb:74:4c”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth0”
PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:0e:2e:bc:78:9e”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth2”
USB device 0x07a6:0x8515 (pegasus)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:00:e8:00:00:a2”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth3”
PCI device 0x8086:0x4220 (ipw2200)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:16:6f:69:6a:f7”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth1”
USB device 0x04e8:0x6662 (rndis_host)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“80:00:60:0f:e8:00”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth4”[/code]
Ci-joint mon fichier /etc/network/interfaces:
[code]auto lo
iface lo inet loopback
#iface eth0 inet static
#address 192.168.1.56
#netmask 255.255.255.0
#gateway 192.168.1.1
#auto eth0
iface eth1 inet static
address 192.168.1.55
netmask 255.255.255.0
gateway 192.168.1.1
##wireless-key XXXXXXX
wireless-essid WANADOO-B1BE
wireless-mode managed
wireless-channel Z
auto eth1
iface eth2 inet static
address 192.168.1.57
netmask 255.255.255.0
gateway 192.168.1.1
auto eth2
iface eth3 inet static
address 192.168.1.60
netmask 255.255.255.0
gateway 192.168.1.1
auto eth3
[/code]
Ci joint le résultat de la commande ifconfig -a:
[code]=> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:22:eb:74:4c
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:16
eth1 Link encap:Ethernet HWaddr 00:16:6f:69:6a:f7
inet adr:192.168.1.55 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::216:6fff:fe69:6af7/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:1103 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:673328 (657.5 KiB) TX bytes:203230 (198.4 KiB)
Interruption:17 Adresse de base:0x6000 Mémoire:dfbff000-dfbfffff
eth2 Link encap:Ethernet HWaddr 00:0e:2e:bc:78:9e
inet adr:192.168.1.57 Bcast:192.168.1.255 Masque:255.255.255.0
UP 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:19 Adresse de base:0x2000
eth3 Link encap:Ethernet HWaddr 00:00:e8:00:00:a2
inet adr:192.168.1.60 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::200:e8ff:fe00:a2/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:208 errors:0 dropped:0 overruns:0 frame:0
TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:62612 (61.1 KiB) TX bytes:30736 (30.0 KiB)
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:500 errors:0 dropped:0 overruns:0 frame:0
TX packets:500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:33847 (33.0 KiB) TX bytes:33847 (33.0 KiB)
[/code]
Actuellement je ne peux fonctionner qu’en wifi —> eth1 .