Netzwerkkarte ausgebaut

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
mza
Beiträge: 5
Registriert: 04.11.2006 16:16:11

Netzwerkkarte ausgebaut

Beitrag von mza » 04.11.2006 16:37:53

Hallo zusammen.

Habe soeben eine von zwei Netzwerkkarten ausgebaut (eth0). Leider wird wider Erwarten eth1 nicht zu eth0.

Muss man dass manuell noch irgendwo umstellen?

/etc/network/interfaces

Code: Alles auswählen

# 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

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping eth0
        script grep
        map eth0

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
Laut lspci stimmt die Anzahl der Netzwerkkarten:

Code: Alles auswählen

# lspci | grep Ether
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
dmesg bringt folgende Nachricht:

Code: Alles auswählen

# dmesg | grep eth
eth0: RealTek RTL8139 at 0xec00, 00:10:a7:12:c9:36, IRQ 177
eth0:  Identified 8139 chip type 'RTL-8139C'
eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
eth1: no IPv6 routers present
eth1: Promiscuous mode enabled.
device eth1 entered promiscuous mode
audit(1162650436.178:2): dev=eth1 prom=256 old_prom=0 auid=4294967295
device eth1 left promiscuous mode
audit(1162650447.215:3): dev=eth1 prom=0 old_prom=256 auid=4294967295
eth1: Promiscuous mode enabled.
device eth1 entered promiscuous mode
audit(1162650460.172:4): dev=eth1 prom=256 old_prom=0 auid=4294967295
device eth1 left promiscuous mode
audit(1162650517.068:5): dev=eth1 prom=0 old_prom=256 auid=4294967295
Danke vorab.

Mein System: 2.6.18-1-k7 Debian sid

gms
Beiträge: 7798
Registriert: 26.11.2004 20:08:38
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von gms » 04.11.2006 16:41:48

Seit einiger Zeit achtet Udev darauf, daß die Network Interfaces nicht durcheinander geraten:

Code: Alles auswählen

root@gms1:~# grep -l eth1 /etc/udev/rules.d/*
/etc/udev/rules.d/z25_persistent-net.rules
Diese Datei mußt du entsprechend anpassen.

Gruß
gms

mza
Beiträge: 5
Registriert: 04.11.2006 16:16:11

Beitrag von mza » 04.11.2006 16:48:31

Das ging mal richtig flott.

Danke für die schnelle Hilfe...

sentolacco
Beiträge: 60
Registriert: 19.10.2006 21:26:39

Beitrag von sentolacco » 06.11.2006 22:56:12

ui endlich hab ich die lösung gefunden, die ich seit 3 tagen gesucht habe. ein toller tipp. und so einfach...

Gruß
sentolacco

Antworten