LINUX.ORG.RU

[debian lenny] номер eth растет


0

0

Словил непонятный баг на lenny eth0 растет номер с каждой перезагрузкой (пример : eth0 потом eth23 и т.д) . как я понял из логов это udev сума сходит
Nov 11 13:58:29 debka kernel: [ 6.398538] udev: renamed network interface eth0 to eth112

в /etc/udev/rules.d/70-persistent-net.rules много раз одно и тоже прописано

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:00:97:9b:c6:91", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Как мне ПРАВИЛЬНО этот баг пофиксить?

★★★★★

Ответ на: [debian lenny] номер eth растет от nnz

[debian lenny] номер eth растет

Я почистил /etc/udev/rules.d/70-persistent-net.rules от клонов. Мне подсказали что надо обновиться Я думаю что все проблема в /etc/network/interfaces Ладно буду дальше копать. Какой-то буллшит выдал :) # udevadm test /class/net/eth1 This program is for debugging only, it does not run any program, specified by a RUN key. It may show incorrect results, because some values may be different, or not available at a simulation run.

add_matching_files: unable to open '/lib/udev/rules.d': No such file or directory parse_file: reading '/etc/udev/rules.d/024_hpmud.rules' as rules file parse_file: reading '/etc/udev/rules.d/025_libgphoto2.rules' as rules file parse_file: reading '/etc/udev/rules.d/10-vboxdrv.rules' as rules file parse_file: reading '/etc/udev/rules.d/11-hplj10xx.rules' as rules file parse_file: reading '/etc/udev/rules.d/45-hplip.rules' as rules file parse_file: reading '/etc/udev/rules.d/50-udev.rules' as rules file parse_file: reading '/etc/udev/rules.d/55-hpmud.rules' as rules file parse_file: reading '/etc/udev/rules.d/60-persistent-input.rules' as rules file parse_file: reading '/etc/udev/rules.d/60-persistent-storage-tape.rules' as rules file parse_file: reading '/etc/udev/rules.d/60-persistent-storage.rules' as rules file parse_file: reading '/etc/udev/rules.d/60-persistent-v4l.rules' as rules file parse_file: reading '/dev/.udev/rules.d/61-dev-root-link.rules' as rules file parse_file: reading '/etc/udev/rules.d/70-persistent-cd.rules' as rules file parse_file: reading '/etc/udev/rules.d/70-persistent-net.rules' as rules file parse_file: reading '/etc/udev/rules.d/75-cd-aliases-generator.rules' as rules file parse_file: reading '/etc/udev/rules.d/75-persistent-net-generator.rules' as rules file parse_file: reading '/etc/udev/rules.d/80-drivers.rules' as rules file parse_file: reading '/etc/udev/rules.d/85-pcmcia.rules' as rules file parse_file: reading '/etc/udev/rules.d/90-hal.rules' as rules file parse_file: reading '/etc/udev/rules.d/91-permissions.rules' as rules file parse_file: reading '/etc/udev/rules.d/95-late.rules' as rules file parse_file: reading '/etc/udev/rules.d/libmtp7.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_alsa-utils.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_hdparm.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_libpisock9.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_libsane-extras.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_libsane.rules' as rules file parse_file: reading '/etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules' as rules file import_uevent_var: import into environment: 'PHYSDEVPATH=/devices/pci0000:00/0000:00:05.0/0000:04:00.0' import_uevent_var: import into environment: 'PHYSDEVBUS=pci' import_uevent_var: import into environment: 'PHYSDEVDRIVER=r8169' import_uevent_var: import into environment: 'INTERFACE=eth1' import_uevent_var: import into environment: 'IFINDEX=2' udevtest: looking at device '/class/net/eth1' from subsystem 'net' udev_rules_get_name: add symlink 'char/0:0' match_rule: set ENV 'MATCHADDR=04:00:34:5b:20:5a' match_rule: set ENV 'MATCHIFTYPE=1' match_rule: set ENV 'MATCHDEVID=0x0' match_rule: set ENV 'COMMENT=PCI device 0x10ec:0x8168' match_rule: set ENV 'COMMENT=PCI device 0x10ec:0x8168 (r8169)' run_program: 'write_net_rules' run_program: '/lib/udev/write_net_rules' returned with status 0 udev_rules_get_name: no node name set, will use kernel name 'eth1' udevtest: run: 'net.agent' udevtest: run: 'socket:/org/freedesktop/hal/udev_event' udevtest: run: 'socket:@/org/kernel/udev/monitor'

pinachet ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.