* [Comm] опять грабли с прыгающими ethX @ 2012-03-10 11:31 Denis Nazarov 2012-03-10 13:19 ` Michael Shigorin 0 siblings, 2 replies; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 11:31 UTC (permalink / raw) To: community здравствуйте! Имеется server-light на t6, словил грабли с самопроивольным переименованием одного из интерфейсов, что само по себе интересно, раньше вроде они только местами менялись. Сделал ifrename -i eth8 -n eth0, он ругнулся на отсутствие /etc/iftab, сделал тач, повторил. Интерфейс встал, как положено, но после ребута превратился в eth9. Подозреваю, что отчасти причиной является отсутствие физического линка на этой карте, хотя каким боком это здесь? для этой карты lspci 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at 1000 [size=256] Memory at fe410000 (32-bit, non-prefetchable) [size=256] Expansion ROM at fe400000 [disabled] [size=64K] Capabilities: [50] Power Management version 2 Kernel driver in use: 8139too Kernel modules: 8139too, 8139cp то есть обычная compex rtl8139. Вторая карта, встроенная в материнку 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards Flags: bus master, fast devsel, latency 0, IRQ 46 I/O ports at e000 [size=256] Memory at d0004000 (64-bit, prefetchable) [size=4K] Memory at d0000000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00 Kernel driver in use: r8169 Kernel modules: r8169 с ней все в порядке, как была названа eth1, так и остается. В связи с этим вопрос - как сейчас у нас тренируют сетевые интерфейсы, чтобы они перестали плясать куда хотят? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 11:31 [Comm] опять грабли с прыгающими ethX Denis Nazarov @ 2012-03-10 13:19 ` Michael Shigorin 2012-03-10 13:21 ` Denis Nazarov 1 sibling, 1 reply; 16+ messages in thread From: Michael Shigorin @ 2012-03-10 13:19 UTC (permalink / raw) To: community On Sat, Mar 10, 2012 at 05:31:39PM +0600, Denis Nazarov wrote: > Имеется server-light на t6, словил грабли с самопроивольным > переименованием одного из интерфейсов, что само по себе > интересно, раньше вроде они только местами менялись. Покажите содержимое /etc/udev/rules.d/70-persistent-net.rules > Сделал ifrename -i eth8 -n eth0, он ругнулся на отсутствие /etc/iftab, iftab устарел, см. https://bugzilla.altlinux.org/20698 и другие. > В связи с этим вопрос - как сейчас у нас тренируют сетевые > интерфейсы, чтобы они перестали плясать куда хотят? udev (см. тж. /lib/udev/write_net_rules и /lib/udev/rules.d/75-persistent-net-generator.rules) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 13:19 ` Michael Shigorin @ 2012-03-10 13:21 ` Denis Nazarov 2012-03-10 13:24 ` Michael Shigorin 0 siblings, 1 reply; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 13:21 UTC (permalink / raw) To: community 10.03.2012 19:19, Michael Shigorin пишет: > Покажите содержимое /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # PCI device 0x10ec:0x8168 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="14:da:e9:33:89:d0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth4" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth5" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth6" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth7" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:4d:22:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth8" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:80:48:4a:23:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth9" >> Сделал ifrename -i eth8 -n eth0, он ругнулся на отсутствие /etc/iftab, > iftab устарел, см. https://bugzilla.altlinux.org/20698 и другие. вот поэтому и спрашиваю >> В связи с этим вопрос - как сейчас у нас тренируют сетевые >> интерфейсы, чтобы они перестали плясать куда хотят? > udev (см. тж. /lib/udev/write_net_rules и > /lib/udev/rules.d/75-persistent-net-generator.rules) > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 13:21 ` Denis Nazarov @ 2012-03-10 13:24 ` Michael Shigorin 2012-03-10 14:12 ` Denis Nazarov 2012-03-11 3:43 ` REAL 0 siblings, 2 replies; 16+ messages in thread From: Michael Shigorin @ 2012-03-10 13:24 UTC (permalink / raw) To: community On Sat, Mar 10, 2012 at 07:21:48PM +0600, Denis Nazarov wrote: > >Покажите содержимое /etc/udev/rules.d/70-persistent-net.rules > ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:4d:22:01", ATTR{dev_id}=="0x0", > ATTR{address}=="00:80:48:4a:23:01", ATTR{dev_id}=="0x0", У неё что, недержание MAC-а? Я бы попробовал заменить сетевушку, если это всё -- одна и та же плата. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 13:24 ` Michael Shigorin @ 2012-03-10 14:12 ` Denis Nazarov 2012-03-10 14:30 ` Alisher 2012-03-10 19:01 ` Michael Shigorin 2012-03-11 3:43 ` REAL 1 sibling, 2 replies; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 14:12 UTC (permalink / raw) To: community 10.03.2012 19:24, Michael Shigorin пишет: > On Sat, Mar 10, 2012 at 07:21:48PM +0600, Denis Nazarov wrote: >>> Покажите содержимое /etc/udev/rules.d/70-persistent-net.rules >> ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:4d:22:01", ATTR{dev_id}=="0x0", >> ATTR{address}=="00:80:48:4a:23:01", ATTR{dev_id}=="0x0", > У неё что, недержание MAC-а? Я бы попробовал заменить сетевушку, > если это всё -- одна и та же плата. > одна.... я в шоке... неужели такое бывает? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:12 ` Denis Nazarov @ 2012-03-10 14:30 ` Alisher 2012-03-10 14:39 ` Denis Nazarov 2012-03-10 19:01 ` Michael Shigorin 1 sibling, 1 reply; 16+ messages in thread From: Alisher @ 2012-03-10 14:30 UTC (permalink / raw) To: ALT Linux Community general discussions 10.03.2012 20:12, Denis Nazarov пишет: > 10.03.2012 19:24, Michael Shigorin пишет: >> On Sat, Mar 10, 2012 at 07:21:48PM +0600, Denis Nazarov wrote: >>>> Покажите содержимое /etc/udev/rules.d/70-persistent-net.rules >>> ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:4d:22:01", ATTR{dev_id}=="0x0", >>> ATTR{address}=="00:80:48:4a:23:01", ATTR{dev_id}=="0x0", >> У неё что, недержание MAC-а? Я бы попробовал заменить сетевушку, >> если это всё -- одна и та же плата. >> > одна.... я в шоке... неужели такое бывает? Бывает. у меня на планшете встроенная сетевуха себя так ведет. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:30 ` Alisher @ 2012-03-10 14:39 ` Denis Nazarov 2012-03-10 14:39 ` Dubrovskiy Viacheslav 0 siblings, 1 reply; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 14:39 UTC (permalink / raw) To: community 10.03.2012 20:30, Alisher пишет: > 10.03.2012 20:12, Denis Nazarov пишет: >> одна.... я в шоке... неужели такое бывает? > Бывает. у меня на планшете встроенная сетевуха себя так ведет. а если сделать что-нибудь вроде такого? ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" то есть на каждый чих прописать ее как eth0 - будет работать? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:39 ` Denis Nazarov @ 2012-03-10 14:39 ` Dubrovskiy Viacheslav 2012-03-10 14:42 ` Denis Nazarov 2012-03-10 14:52 ` Denis Nazarov 0 siblings, 2 replies; 16+ messages in thread From: Dubrovskiy Viacheslav @ 2012-03-10 14:39 UTC (permalink / raw) To: ALT Linux Community general discussions [-- Attachment #1: Type: text/plain, Size: 1487 bytes --] 10.03.2012 09:39, Denis Nazarov пишет: > 10.03.2012 20:30, Alisher пишет: >> 10.03.2012 20:12, Denis Nazarov пишет: >>> одна.... я в шоке... неужели такое бывает? >> Бывает. у меня на планшете встроенная сетевуха себя так ведет. > > а если сделать что-нибудь вроде такого? > > ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", > ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" > > то есть на каждый чих прописать ее как eth0 - будет работать? Нет. Будет новый мак и новое правило. Что за материнка? Видел такое на материнках ASUS. Попробуйте биос обновить. -- WBR, Dubrovskiy Viacheslav [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 4922 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:39 ` Dubrovskiy Viacheslav @ 2012-03-10 14:42 ` Denis Nazarov 2012-03-10 14:52 ` Denis Nazarov 1 sibling, 0 replies; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 14:42 UTC (permalink / raw) To: community 10.03.2012 20:39, Dubrovskiy Viacheslav пишет: > 10.03.2012 09:39, Denis Nazarov пишет: >> 10.03.2012 20:30, Alisher пишет: >>> 10.03.2012 20:12, Denis Nazarov пишет: >>>> одна.... я в шоке... неужели такое бывает? >>> Бывает. у меня на планшете встроенная сетевуха себя так ведет. >> а если сделать что-нибудь вроде такого? >> >> ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> >> то есть на каждый чих прописать ее как eth0 - будет работать? > Нет. Будет новый мак и новое правило. > Что за материнка? Видел такое на материнках ASUS. Попробуйте биос обновить. > на материнке как раз все в порядке, это внешняя Compex ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:39 ` Dubrovskiy Viacheslav 2012-03-10 14:42 ` Denis Nazarov @ 2012-03-10 14:52 ` Denis Nazarov 2012-03-10 16:59 ` Alisher 2012-03-10 17:02 ` Alisher 1 sibling, 2 replies; 16+ messages in thread From: Denis Nazarov @ 2012-03-10 14:52 UTC (permalink / raw) To: community 10.03.2012 20:39, Dubrovskiy Viacheslav пишет: > 10.03.2012 09:39, Denis Nazarov пишет: >> 10.03.2012 20:30, Alisher пишет: >>> 10.03.2012 20:12, Denis Nazarov пишет: >>>> одна.... я в шоке... неужели такое бывает? >>> Бывает. у меня на планшете встроенная сетевуха себя так ведет. >> а если сделать что-нибудь вроде такого? >> >> ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", >> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >> >> то есть на каждый чих прописать ее как eth0 - будет работать? > Нет. Будет новый мак и новое правило. > хех.... :) однако, сработало :) правда, пока 1 раз. После перезагрузки опять другой мак, но уже из списка, так что нового интерфейса не случилось :) ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:52 ` Denis Nazarov @ 2012-03-10 16:59 ` Alisher 2012-03-10 17:02 ` Alisher 1 sibling, 0 replies; 16+ messages in thread From: Alisher @ 2012-03-10 16:59 UTC (permalink / raw) To: ALT Linux Community general discussions 10.03.2012 20:52, Denis Nazarov пишет: > 10.03.2012 20:39, Dubrovskiy Viacheslav пишет: >> 10.03.2012 09:39, Denis Nazarov пишет: >>> 10.03.2012 20:30, Alisher пишет: >>>> 10.03.2012 20:12, Denis Nazarov пишет: >>>>> одна.... я в шоке... неужели такое бывает? >>>> Бывает. у меня на планшете встроенная сетевуха себя так ведет. >>> а если сделать что-нибудь вроде такого? >>> >>> ATTR{address}=="00:80:48:6f:a3:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:6f:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:6d:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:6a:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:4a:22:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:6d:22:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> ATTR{address}=="00:80:48:4d:a2:01", ATTR{dev_id}=="0x0", >>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" >>> >>> то есть на каждый чих прописать ее как eth0 - будет работать? >> Нет. Будет новый мак и новое правило. >> > хех.... :) однако, сработало :) правда, пока 1 раз. После перезагрузки > опять другой мак, но уже из > списка, так что нового интерфейса не случилось :) Может проще узнать кто пишет эти правила и там убрать? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:52 ` Denis Nazarov 2012-03-10 16:59 ` Alisher @ 2012-03-10 17:02 ` Alisher 1 sibling, 0 replies; 16+ messages in thread From: Alisher @ 2012-03-10 17:02 UTC (permalink / raw) To: ALT Linux Community general discussions Хотя я на у себя дописал: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", NAME="eth0" Но у меня одна сетевуха. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 14:12 ` Denis Nazarov 2012-03-10 14:30 ` Alisher @ 2012-03-10 19:01 ` Michael Shigorin 1 sibling, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2012-03-10 19:01 UTC (permalink / raw) To: community On Sat, Mar 10, 2012 at 08:12:29PM +0600, Denis Nazarov wrote: > >>ATTR{address}=="00:80:48:4d:22:01", ATTR{dev_id}=="0x0", > >>ATTR{address}=="00:80:48:4a:23:01", ATTR{dev_id}=="0x0", > >У неё что, недержание MAC-а? Я бы попробовал заменить > >сетевушку, если это всё -- одна и та же плата. > одна.... я в шоке... неужели такое бывает? С rtl8139 всё бывает, кроме гигабита. Меняйте, оно не стоит уже потраченного времени -- странно полуподгоревшие рилтеки ничем удивительным не являются. PS: на старых драйверах forcedeth маки сетевушек nForce плясали, но там это был именно программный баг. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-10 13:24 ` Michael Shigorin 2012-03-10 14:12 ` Denis Nazarov @ 2012-03-11 3:43 ` REAL 2012-03-11 7:56 ` Michael Shigorin 1 sibling, 1 reply; 16+ messages in thread From: REAL @ 2012-03-11 3:43 UTC (permalink / raw) To: shigorin, ALT Linux Community general discussions 10.03.2012 19:24, Michael Shigorin пишет: > У неё что, недержание MAC-а? Однозначно в фортунки :-D -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] опять грабли с прыгающими ethX 2012-03-11 3:43 ` REAL @ 2012-03-11 7:56 ` Michael Shigorin 0 siblings, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2012-03-11 7:56 UTC (permalink / raw) To: ALT Linux Community general discussions On Sun, Mar 11, 2012 at 09:43:27AM +0600, REAL wrote: > >У неё что, недержание MAC-а? > Однозначно в фортунки :-D Так они raorphaned. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <2312893.p3uKVWG0SB@pvbook.localdomain>]
* Re: [Comm] опять грабли с прыгающими ethX @ 2012-03-10 19:02 ` Michael Shigorin 0 siblings, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2012-03-10 19:02 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, Mar 10, 2012 at 05:13:05PM +0400, Pavel Vaynerman wrote: > Вроде как это должен быть: > /etc/net/iftab Это было в 4.x. > но ещё есть (не знаю кто туда заносит): > /etc/udev/rules.d/70-persistent-net.rules 5.1+ (заносит /lib/udev/write_net_rules) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2012-03-11 7:56 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-10 11:31 [Comm] опять грабли с прыгающими ethX Denis Nazarov 2012-03-10 13:19 ` Michael Shigorin 2012-03-10 13:21 ` Denis Nazarov 2012-03-10 13:24 ` Michael Shigorin 2012-03-10 14:12 ` Denis Nazarov 2012-03-10 14:30 ` Alisher 2012-03-10 14:39 ` Denis Nazarov 2012-03-10 14:39 ` Dubrovskiy Viacheslav 2012-03-10 14:42 ` Denis Nazarov 2012-03-10 14:52 ` Denis Nazarov 2012-03-10 16:59 ` Alisher 2012-03-10 17:02 ` Alisher 2012-03-10 19:01 ` Michael Shigorin 2012-03-11 3:43 ` REAL 2012-03-11 7:56 ` Michael Shigorin 2012-03-10 19:02 ` Michael Shigorin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git