[sisyphus] etcnet & rename eth

Шенцев Алексей Шенцев Алексей
Ср Июн 27 16:12:56 MSD 2007


Привет, всем!
Текущий сизиф.

Имеется:

[root на gw /]# pciscan | grep net
8139too                Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ 
[Ethernet controller]
3c59x                  3Com Corporation 3c905B 100BaseTX [Cyclone] [Ethernet 
controller]
e100                   Intel Corporation 82562EZ 10/100 Ethernet Controller 
[Ethernet controller]

[root на gw /]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:DF:06:09:7B
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1134075 errors:6 dropped:22 overruns:4 frame:0
          TX packets:895244 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:219035765 (208.8 MiB)  TX bytes:781236075 (745.0 MiB)
          Interrupt:185 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 00:50:DA:CC:39:F1
          inet addr:217.27.40.50  Bcast:217.27.40.51  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1910 errors:0 dropped:0 overruns:0 frame:0
          TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:212106 (207.1 KiB)  TX bytes:18645 (18.2 KiB)
          Interrupt:201 Base address:0xc000

eth2      Link encap:Ethernet  HWaddr 00:0D:61:74:DD:96
          inet addr:10.4.5.6  Bcast:10.4.5.7  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15523 (15.1 KiB)  TX bytes:500 (500.0 b)

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:254150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:326986190 (311.8 MiB)  TX bytes:326986190 (311.8 MiB)

[root на gw /]# cat /etc/net/iftab
# Generated by /etc/net initconf script
eth0 mac 00:50:da:cc:39:f1

# Generated by /etc/net initconf script
eth0 driver 3c59x

# Generated by /etc/net initconf script
eth1 mac 00:0d:61:74:dd:96

# Generated by /etc/net initconf script
eth1 driver 

# Generated by /etc/net initconf script
eth2 mac 00:c0:df:06:09:7b

# Generated by /etc/net initconf script
eth2 driver 8139too

[root на gw /]# service network restart
Computing interface groups: .... 4 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (3 interfaces)
        Stopping eth0: RTNETLINK answers: No such process
....OK
        Stopping eth1: ....OK
        Stopping eth2: OK
Stopping group 0/virtual (1 interfaces)
        Stopping lo: .OK
Computing interface groups: .... 4 interfaces found
Starting group 0/virtual (1 interfaces)
        Starting lo: .....OK
Starting group 1/realphys (3 interfaces)
        Starting eth0: .Error: cannot change name of eth1 to eth0: File exists
....RTNETLINK answers: Network is unreachable
..OK
        Starting eth1: .Error: cannot change name of eth2 to eth1: File exists
......OK
        Starting eth2: .Error: cannot change name of eth0 to eth2: Device or 
resource busy
....RTNETLINK answers: Network is unreachable
..OK
Processing /etc/net/vlantab: empty.

Вопрос такой почему встроеная сетевая карточка  e100 встала как eth1? Кто 
пытается переименовать сетевые устройства, если ifrename отключен? Куда 
смотреть, кукаую инфу ещё предоставить?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
XMPP: ashen на altlinux.org, AlexShen на jabber.ru
ICQ: 271053845



Подробная информация о списке рассылки Sisyphus