Nowe posty

Autor Wątek: Niewłaściwa nazwa interfejsu sieciowego.  (Przeczytany 2448 razy)

brass

  • Gość
Niewłaściwa nazwa interfejsu sieciowego.
« dnia: 2011-05-30, 08:34:08 »
Mam taką dziwną sytuację w Centosie. Wsadziłem 3 karte sieciową (d-linka jakiegoś) płyta serwerowa intela. 2 są już wbudowane w płyte. i ifconfig wyglada tak

[root@mapa ~]# ifconfig -a
__tmp1445347857 Link encap:Ethernet  HWaddr 00:22:B0:E7:42:A3
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3364 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3407820 (3.2 MiB)  TX bytes:3407820 (3.2 MiB)
          Interrupt:169

eth0      Link encap:Ethernet  HWaddr 00:1E:67:03:B1:03
          inet addr:TA.JE.MN.ICA  Bcast:TA.JE.MN.ICA Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:894 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:154227 (150.6 KiB)  TX bytes:122746 (119.8 KiB)
          Interrupt:169 Memory:b1b00000-b1b20000

eth1      Link encap:Ethernet  HWaddr 00:1E:67:03:B1:02
          inet addr:TA.JE.MN.ICA  Bcast:TA.JE.MN.ICA  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:273 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:46102 (45.0 KiB)  TX bytes:21136 (20.6 KiB)
          Interrupt:169 Memory:b1a00000-b1a20000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3364 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3407820 (3.2 MiB)  TX bytes:3407820 (3.2 MiB)
to co nazywa sie __tmp1445347857 powinno byc eth2. Po kilku restartach nawet pojawiła się jako eth2 ale teraz znowu mi sie pojaiło takie coś. Dziwne to przerwanie.

Dodam jeszcze lspci
[root@mapa log]# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:19.0 Ethernet controller: Intel Corporation 82578DM Gigabit Network Connection (rev 05)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation 3400 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 RAID bus controller: Intel Corporation 5 Series/3400 Series Chipset SATA RAID Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
04:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02)
06:00.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
Ta karta do ostatni dlink w lspci. Jakies pomysły?

Offline roobal

  • Users
  • Guru
  • *****
  • Wiadomości: 2056
    • Zobacz profil
Niewłaściwa nazwa interfejsu sieciowego.
« Odpowiedź #1 dnia: 2011-05-30, 09:45:53 »
Pokaż zawartość pliku /etc/udev/rules.d/70-persistent-net.rules.

Pozdrawiam!

brass

  • Gość
Niewłaściwa nazwa interfejsu sieciowego.
« Odpowiedź #2 dnia: 2011-05-30, 10:08:55 »
No właśnie od tego chciałem zacząć ale nie ma takiego pliku. Nawet usunąłem wszystko z tego katalogu ale wtedy linux ledwo co wstał. (na szczescie zrobiłem kopie). Jedyne co jest zwiazane z siecią to 60-net.rules:

[root@mapa rules.d]# cat 60-net.rules
ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="/lib/udev/rename_device"
SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-scripts/net.hotplug"
[root@mapa rules.d]#
[root@mapa rules.d]#  ls -al
razem 180
drwxr-xr-x 2 root root  4096 maj  4 15:06 .
drwxr-xr-x 5 root root  4096 kwi 27 16:07 ..
-rw-r--r-- 1 root root   515 mar  6 05:11 05-udev-early.rules
-rw-r--r-- 1 root root   948 mar 31 06:21 40-multipath.rules
-rw-r--r-- 1 root root 16153 mar  6 05:11 50-udev.rules
-rw-r--r-- 1 root root   471 mar  6 05:11 51-hotplug.rules
-rw-r--r-- 1 root root  8186 mar 30 18:15 55-hpmud.rules
-rw-r--r-- 1 root root   495 mar 30 18:15 56-hpmud_support.rules
-rw-r--r-- 1 root root 58016 kwi  3  2007 60-libsane.rules
-rw-r--r-- 1 root root   143 paź 13  2010 60-net.rules
-rw-r--r-- 1 root root  1088 sty  7  2007 60-pcmcia.rules
-rw-r--r-- 1 root root   316 mar 10 14:28 60-raw.rules
-rw-r--r-- 1 root root  9175 mar  6 04:27 60-wacom.rules
-rw-r--r-- 1 root root   129 sty 13 13:46 61-uinput-stddev.rules
-rw-r--r-- 1 root root   214 sty 13 13:46 61-uinput-wacom.rules
-rw-r--r-- 1 root root  1823 sty 21  2009 85-pcscd_ccid.rules
-rw-r--r-- 1 root root   114 sty 21  2009 90-alsa.rules
-rw-r--r-- 1 root root    61 mar  6 05:11 90-dm.rules
-rw-r--r-- 1 root root    82 mar  6 03:18 90-hal.rules
-rw-r--r-- 1 root root   107 mar  6 05:11 95-pam-console.rules
-rw-r--r-- 1 root root   292 mar 31 06:31 98-kexec.rules
-rw-r--r-- 1 root root  2319 lip 14  2008 bluetooth.rules