* [Comm] Re: [sisyphus] [OT] Re: Как настроить сеть: dhcp, link sense, no drag :-) @ 2005-02-09 8:29 ` Mikhael Korneev 0 siblings, 0 replies; 7+ messages in thread From: Mikhael Korneev @ 2005-02-09 8:29 UTC (permalink / raw) To: community, ALT Linux Sisyphus discussion list Michael Shigorin wrote: >On Wed, Feb 09, 2005 at 11:21:59AM +0300, Mikhael Korneev wrote: > > >>NETMASK=255.255.255.0 >> >> > >Вообще-то это тоже дело DHCP-сервера. :) > > Ага, точно, это еще с до-dhcp времен осталось. Значит соптимизируем :). >PS: не дожидайтесь выгоняния ldv@ -- перемещаемся в community@. > > > Ухожу-ухожу :) -- Best regards, Mikhael Korneev aka Voldar ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20050209081251.GM13093@osdn.org.ua>]
[parent not found: <cucgv2$t11$2@sea.gmane.org>]
[parent not found: <20050209082602.GO13093@osdn.org.ua>]
[parent not found: <cucjjv$4rt$1@sea.gmane.org>]
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 @ 2005-02-09 14:49 ` Michael Shigorin 2005-02-09 17:00 ` Arioch 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2005-02-09 14:49 UTC (permalink / raw) To: community On Wed, Feb 09, 2005 at 12:04:23PM +0300, Arioch wrote: > >А какой чип? > Драйвер b44 Вот с ним не пробовал. Никакие tg3 часом туда же не подходят? > > Большая часть драйверов не умеет рассказывать статус линка > Да как же не умеет! Ну я де написал в первом письме - если > провод выдернуть, а потом воткнуть, то DHCP срабатывает, и в > syslog'е соотв. строки появляются и про ifup и про LINK ACTIVE > и про dhcpcd Ну. Не понял разницу с искомым. > Впрос то не о том, а о том, что работает либо одно, либо другое. Как именно? > Ну не хочется вам мои письма читать - не читайте вообще. > Но если начали читать - прочитайте целиком. "Вопросы твои летят как пчёлы из улья [...дальше по тексту]" -- В. Соловьёв, "Очарованный принц" (кажется) Видите ли, мне хватает (по времени) работы, за которую платят и которая по сути местами точно такая же -- отслеживание и решение проблем. Так, простите, и там _такого_ разрозненного и при этом оживлённого потока на каждую отдельно взятую проблему не получается. :) Бишь никто не собирается за Вас держать в голове контекст недели и отслеживать темы одного автора по всем рассылкам, если они касаются широкого круга вопросов, но при этом взаимные ссылки вида "я писал". (gmane, ссылки на архивы -- respect, но я лично не находил времени ходить по ним и связывать темы) Поэтому лучше -- понизить требования, упростить маршрутизацию и решать вопросы в порядке поступления -- всем лугче будет. :) > >mii-tool > Этого еще не смотрел, посмотрю. Но боюсь ваш рецепт совсем не > от моей болезни. Да это не рецепт, а ранняя стадия диагностики. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 2005-02-09 14:49 ` [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 Michael Shigorin @ 2005-02-09 17:00 ` Arioch 2005-02-09 21:34 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Arioch @ 2005-02-09 17:00 UTC (permalink / raw) To: community Michael Shigorin пишет: >>Драйвер b44 > Вот с ним не пробовал. Никакие tg3 часом туда же не подходят? Он из Сизифа и сам определился, чтото другое пробовать страшновато. >>>Большая часть драйверов не умеет рассказывать статус линка >> >>Да как же не умеет! Ну я де написал в первом письме - если >>провод выдернуть, а потом воткнуть, то DHCP срабатывает, и в >>syslog'е соотв. строки появляются и про ifup и про LINK ACTIVE >>и про dhcpcd > > Ну. Не понял разницу с искомым. Это достаточное доказательство того, что драйвер умеет определять наличие воткнутого провода, или еще нет? Если да, то эксперименты с tg3 нужно пытаться провести? >>Впрос то не о том, а о том, что работает либо одно, либо другое. > Как именно? ок, цитата: ~~~~~~~~~~~ M.K.> ONBOOT=no В этом случае проблема, если компьютер запускается с воткнутым шнуром, он не отрабатывает DHCP автоматически. Если потом уже провод вытащить и воткнуть - то тогда отрабатывает (есть у меня LINK SENSE и работает он) Если руками сделать ifup или dhcpcd - тоже отрабатывает. Но и то и другое надо делать руками, что неприятно. M.Sh.> ONBOOT=yes В этом случае проблема другая. Если провод НЕ воткнут, то очень долгая пауза на этапе "bringing up eth0" В случае десктопа ,когда провод всегда воткнут - этого не заметишь. Но в случае ноутбука, когда это довольно часто, замечается сразу. ~~~~~~~~ Далее мои рассуждения на тему, в принципе к описанию проблемы не относятся ~~~~~~~~~~~~~~ Я не берусь давать рецептов ,ибо не знаю идеологического идеала, к которому стремятся авторы network scripts. Из соображений общей логики тут три варианта: 1) все может работать ,но я просто не правильно настроил. Увы, все рекомендации по настройке свелись к пункту а или б. - у меня левая нога разута. - снимите ботинок с правой и наденьте на левую. - но тогда у меня правая разута. - снимите ботинок с левой ноги, и наденьте на правую. - но так получается, что у меня одна из двух ног обязательно разута. - вы еще чайник, вам рано думать о двух ногах сразу. Давайте разберемся с одной ногой. Только с левой или только с правой. 2) не прав ifplug. Он должен был заметить, если у карточки настройка onboot=no и принудительно ее ининциализировать при своем старте, раз провод в нее воткнут. 3) не прав ethtool. Он должен был заметить, если у карточки настройка onboot=yes и CHECK_ETH_LINK=yes, то надо проверить, воткнут ли в нее провод, и если нет - не нужно ждать таймаута. Выбрать из этих вариантов мне, увы, действительно не хватает опыта. PS: что интеренсно, в /etc/rc5.d и ethtool и ifplugd запускаются с одинаковым приоритетом. Это завязка что 'e' < 'i' или по большому счету без разницы в каком порядке они запускаются? ~~~~~~~~~~~~~~~~~~~~~~~ > Бишь никто не собирается за Вас держать в голове контекст недели а дерева сообщений разве в клиенте нет? Если нет, то тогда поневоле придется пересылать большую часть старых писем в новых ответах. Не работал почти с текстовыми почтовиками, если в них отслеживать разговор назад тружно, тогда увы. Но тогда я рад, что у меня не MUTT :-) > и отслеживать темы одного автора по всем рассылкам, С этим соглашусь, но когда по всем. А когда вот письмо(1), на него ответ(2), на него снова письмо(3) с просьбой прочитать письмо(1) - я не думал, что это может быть сложно. > Поэтому лучше -- понизить требования, угу, рано мне еще про две ноги сразу думтаь :-( ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 2005-02-09 17:00 ` Arioch @ 2005-02-09 21:34 ` Michael Shigorin 2005-02-09 22:10 ` Arioch 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2005-02-09 21:34 UTC (permalink / raw) To: community On Wed, Feb 09, 2005 at 08:00:26PM +0300, Arioch wrote: > >>Драйвер b44 > >Вот с ним не пробовал. Никакие tg3 часом туда же не подходят? > Он из Сизифа и сам определился, чтото другое пробовать > страшновато. Да ладно, если "не своё" -- отвалится при modprobe, делов-то. > >>>Большая часть драйверов не умеет рассказывать статус линка > >>Да как же не умеет! Ну я де написал в первом письме - если > >>провод выдернуть, а потом воткнуть, то DHCP срабатывает, и в > >>syslog'е соотв. строки появляются и про ifup и про LINK ACTIVE > >>и про dhcpcd > >Ну. Не понял разницу с искомым. > Это достаточное доказательство того, что драйвер умеет > определять наличие воткнутого провода, или еще нет? > Если да, то эксперименты с tg3 нужно пытаться провести? А в /var/log/messages ifplugd при этом что-от разумное говорит? Судя по всему, говорит и тут как раз порядок... а вопрос был действительно не понят за более болезненным :) > >>Впрос то не о том, а о том, что работает либо одно, либо другое. > >Как именно? > ок, цитата: > ~~~~~~~~~~~ > M.K.> ONBOOT=no > В этом случае проблема, если компьютер запускается с воткнутым > шнуром, он не отрабатывает DHCP автоматически. Если потом уже > провод вытащить и воткнуть - то тогда отрабатывает (есть у меня > LINK SENSE и работает он) Значит, таки работает. > Если руками сделать ifup или dhcpcd - тоже отрабатывает. > Но и то и другое надо делать руками, что неприятно. Ммм... тогда, видимо, Вам действительно на etcnet и работать с pilot@ над тем, чтобы требуемое поведение обеспечивалось. > M.Sh.> ONBOOT=yes > В этом случае проблема другая. Если провод НЕ воткнут, то > очень долгая пауза на этапе "bringing up eth0" В случае > десктопа ,когда провод всегда воткнут - этого не заметишь. Но в > случае ноутбука, когда это довольно часто, замечается сразу. Угу. Мы с Денисом думали одно время схожему вопросу, но количество драйверов, _не_ поддерживающих требуемые ioctl, вынудило и по умолчанию-то ifplugd не загружать (можете посмотреть в bugzilla по пакету). > Из соображений общей логики тут три варианта: > 1) все может работать ,но я просто не правильно настроил. Не, есть такие грабли. > - вы еще чайник, вам рано думать о двух ногах сразу. Давайте > разберемся с одной ногой. Только с левой или только с правой. Ну вот и придумайте :) > 2) не прав ifplug. Он должен был заметить, если у карточки > настройка onboot=no и принудительно ее ининциализировать при > своем старте, раз провод в нее воткнут. Ой не помню. Что-то смутно про изменения поведения на старте вспоминается, но уж очень смутно... и спать уже охота... > 3) не прав ethtool. Он должен был заметить, если у карточки > настройка onboot=yes и CHECK_ETH_LINK=yes, то надо проверить, > воткнут ли в нее провод, и если нет - не нужно ждать таймаута. Не, он вообще конфигурированием логических интерфейсов не занимается. Только физику подёргать. > PS: что интеренсно, в /etc/rc5.d и ethtool и ifplugd > запускаются с одинаковым приоритетом. Это завязка что 'e' < 'i' > или по большому счету без разницы в каком порядке они > запускаются? Скорее совпадение. > >Бишь никто не собирается за Вас держать в голове контекст недели > а дерева сообщений разве в клиенте нет? Если нет, то тогда > поневоле придется пересылать большую часть старых писем в > новых ответах. Есть, но не cross-box и с чисто словесными References. Мечты, мечты... ну или хоть бы тут секретаря-референта :) > Не работал почти с текстовыми почтовиками, если в них > отслеживать разговор назад тружно, тогда увы. Но тогда я рад, > что у меня не MUTT :-) #include <lastweek/discussion> > >и отслеживать темы одного автора по всем рассылкам, > С этим соглашусь, но когда по всем. А когда вот письмо(1), на > него ответ(2), на него снова письмо(3) с просьбой прочитать > письмо(1) - я не думал, что это может быть сложно. Это тривиально в рамках одной. Но вот Вы опять подняли минимум ещё одну тему "в нагрузку". :) > >Поэтому лучше -- понизить требования, > угу, рано мне еще про две ноги сразу думтаь :-( Ну раз не рано, то welcome 2 bugzilla -- ждём фиксирования наблюдений и пожеланий, вешать можно начинать на ifplugd, там разберёмся. Ну и если следом патчи -- никто ж не обидится :-) (я даже не издеваюсь -- оно страшно, пока непонятно, а как пойдёт и объяснится, так и думаешь -- чего боялся? :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 2005-02-09 21:34 ` Michael Shigorin @ 2005-02-09 22:10 ` Arioch 2005-02-11 9:20 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Arioch @ 2005-02-09 22:10 UTC (permalink / raw) To: community Michael Shigorin пишет: > А в /var/log/messages ifplugd при этом что-от разумное говорит? вполне. И что executing ifup, и что dhcpcd, и сам dhcpcd все пишет. > Ммм... тогда, видимо, Вам действительно на etcnet и работать с > pilot@ над тем, чтобы требуемое поведение обеспечивалось. Угу, уже рпигласили. Меня, виндузятника в десятмо поколении :-) Но там ни одного форума нет, или я не нашел. Не в devel@altlinux же с моими познаниями соваться :-) > Угу. Мы с Денисом думали одно время схожему вопросу, но > количество драйверов, _не_ поддерживающих требуемые ioctl, whitelist ? проверка? в конце концов матерный warning на старте, типа не все драйвера умеют переварить check_eth_link - и пусть пинают дроводелов? > вынудило и по умолчанию-то ifplugd не загружать (можете > посмотреть в bugzilla по пакету). Надо будет, видимо. вот вы от меня и избавитесь :) >>3) не прав ethtool. Он должен был заметить, если у карточки >>настройка onboot=yes и CHECK_ETH_LINK=yes, то надо проверить, >>воткнут ли в нее провод, и если нет - не нужно ждать таймаута. > > Не, он вообще конфигурированием логических интерфейсов не > занимается. Только физику подёргать. Вы знаете, это я как чайник насвистел. Судя по messages, пишет Bringing up... и уходит в таймаут не ethtool, a network >>PS: что интеренсно, в /etc/rc5.d и ethtool и ifplugd >>запускаются с одинаковым приоритетом. Это завязка что 'e' < 'i' >>или по большому счету без разницы в каком порядке они >>запускаются? > > > Скорее совпадение. опять же, это как warning от компилятора - мне кажется, что потенциально может быть грабля, если ethtool и ifplugd будут как-то зависимы друг от друга. а оценить зря ли я трушу - это уже если кто по опытнее. :) > Это тривиально в рамках одной. Но вот Вы опять подняли минимум > ещё одну тему "в нагрузку". :) потому что она тут же исчерпывается и забывается :-) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 2005-02-09 22:10 ` Arioch @ 2005-02-11 9:20 ` Michael Shigorin 0 siblings, 0 replies; 7+ messages in thread From: Michael Shigorin @ 2005-02-11 9:20 UTC (permalink / raw) To: community On Thu, Feb 10, 2005 at 01:10:15AM +0300, Arioch wrote: > >Ммм... тогда, видимо, Вам действительно на etcnet и работать с > >pilot@ над тем, чтобы требуемое поведение обеспечивалось. > Угу, уже рпигласили. Меня, виндузятника в десятмо поколении :-) > Но там ни одного форума нет, или я не нашел. > Не в devel@altlinux же с моими познаниями соваться :-) В sisyphus@ и так наблюдаетесь. :) > >Угу. Мы с Денисом думали одно время схожему вопросу, но > >количество драйверов, _не_ поддерживающих требуемые ioctl, > whitelist ? проверка? Думали-гадали, так ни к чему на практике и не пришли. Впрочем, с тех пор ifplugd он у меня утащил ;-) > в конце концов матерный warning на старте, типа не все драйвера > умеют переварить check_eth_link - и пусть пинают дроводелов? В общем, надумаете чего -- шлите патчи. > вот вы от меня и избавитесь :) EWRONGTASK ;-) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20050209112214.GA31673@basalt.office.altlinux.org>]
[parent not found: <cucsai$rt8$1@sea.gmane.org>]
* [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, no drag :-) @ 2005-02-09 14:38 ` Michael Shigorin 0 siblings, 0 replies; 7+ messages in thread From: Michael Shigorin @ 2005-02-09 14:38 UTC (permalink / raw) To: community On Wed, Feb 09, 2005 at 02:33:01PM +0300, Arioch wrote: > >Господа, это злостный offtopic, идите, пожалуйста, в community@. > Прошу прошения, но нарисовалась заметная разница в поведении > старого доброго ALM 2.4 и Сизифа. Причем не в пользу > последнего. Я не верю, что разница в поведении настроенного на dhcp интерфейса в паре с ifplugd под ALM2.4 и Sisyphus при идентичных настройках есть и в худшую сторону -- самым слабым звеном там являются драйверы сетевых карт. Если это так -- следует уведомить сборщика используемого ядра и майнтейнера ifplugd через bugzilla.altlinux.org (попросил бы и меня, бишь mike-эт-altlinux-дот-org, в bug Cc: list добавить). > Разве это офтопик? А то просто так предупреждал, что именно. Вот нас и погнали :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-02-11 9:20 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-02-09 8:29 ` [Comm] Re: [sisyphus] [OT] Re: Как настроить сеть: dhcp, link sense, no drag :-) Mikhael Korneev 2005-02-09 14:49 ` [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, b44 Michael Shigorin 2005-02-09 17:00 ` Arioch 2005-02-09 21:34 ` Michael Shigorin 2005-02-09 22:10 ` Arioch 2005-02-11 9:20 ` Michael Shigorin 2005-02-09 14:38 ` [Comm] Re: [sisyphus] Как настроить сеть: dhcp, link sense, no drag :-) 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