opcja "szukaj" nie wytypowała mi nic sensownego.
Problem dotyczy systemu:
Etch aktualizowanego do wersji Lenny
jądro: 2.6.26-1-486
I mam tak:
Kod: Zaznacz cały
serwer:/# lspci
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
01:06.0 Ethernet controller: 3Com Corporation 3cSOHO100-TX Hurricane (rev 30)
01:07.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
eth1 to karta nVidii
eth2 to 3Com... i szczerze mówiąc nawet nie wiem który.
Dlaczego więc jest tak:
Kod: Zaznacz cały
serwer:/# dmesg | grep eth
[ 2.200726] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
[ 2.720811] forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x3f1 @ 7, addr 00:14:85:fb:84:f5
[ 2.720867] forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3
[ 2.844009] udev: renamed network interface eth0_rename to eth1
[ 36.039868] udev: renamed network interface eth1_rename_ren to eth2
Jeszcze dodam:
Kod: Zaznacz cały
serwer:/# ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:14:85:fb:84:f6
inet addr:83.x.x.x Bcast:83.x.x.x Mask:255.255.255.248
inet6 addr: fe80::214:85ff:fefb:84f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:222740 errors:0 dropped:0 overruns:0 frame:0
TX packets:203991 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218991665 (208.8 MiB) TX bytes:37427587 (35.6 MiB)
Interrupt:21 Base address:0xc000
eth2 Link encap:Ethernet HWaddr 00:04:76:92:0d:42
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:76ff:fe92:d43/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:182162 errors:0 dropped:0 overruns:0 frame:0
TX packets:229570 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33831939 (32.2 MiB) TX bytes:218949713 (208.8 MiB)
Interrupt:16 Base address:0xe000
eth2_rename Link encap:Ethernet HWaddr 00:50:04:4d:83:0f
inet addr:192.168.7.101 Bcast:192.168.7.255 Mask: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 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1629 errors:0 dropped:0 overruns:0 frame:0
TX packets:1629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:260480 (254.3 KiB) TX bytes:260480 (254.3 KiB)
[ Dodano: 2008-12-15, 16:08 ]
Jest jeszcze coś takiego:
Kod: Zaznacz cały
cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.
# PCI device 0x8086:0x10b9 (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:21:0f:0a:df", NAME="eth0"
# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:14:85:fb:84:f6", NAME="eth1"
# PCI device 0x10b7:0x7646 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:76:92:0d:42", NAME="eth2"
# PCI device 0x10b7:0x9055 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:04:4d:83:0f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[ Dodano: 2008-12-15, 17:17 ]
Dobra zrobiłem to tak:
Kod: Zaznacz cały
# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:14:85:fb:84:f6", NAME="eth1"
# PCI device 0x10b7:0x7646 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:76:92:0d:42", NAME="eth2"
# PCI device 0x10b7:0x7646 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:04:4d:83:0f", NAME="eth3"
Kod: Zaznacz cały
/etc/init.d/networking restart
ale i tak mnie intryguje ta zmiana interfejsów....... :evil:
[ Dodano: 2008-12-20, 11:11 ]
aha eth0 to interfejs Firewire 1394