|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Davydov 2:5020/400 07 Feb 2004 08:45:11 To : Slawa Olhovchenkov Subject : Re: 5.x news --------------------------------------------------------------------------------
> From: Slawa Olhovchenkov
> <Slawa.Olhovchenkov@f500.n5030.z2.fidonet.org>
> Date: Thu, 05 Feb 2004 22:23:16 +0300
>
>> brooks 2004/02/03 18:55:46 PST
>>
>> FreeBSD src repository
>>
>> Modified files:
>> sbin/ifconfig ifconfig.8 ifconfig.c
>> Log:
>> Add ifconfig support for network interface renaming. In the process,
>> reorganize the printing of the interface name when using wildcard
>> cloning so it is not printed if it we either immediately rename or
>> destroy the interface.
>
>This means you can give an interface any name up to 15 characters
>(IFNAMSIZ-1) with a command like:
>
>ifconfig xl0 name wired
>
>I've been using this one in /etc/rc.early on my laptop to test the
>renaming code. You can rename an interface at any time, but there
>are likely to be edge cases in userland programs that don't like the
>interface name changing under them. In most cases, this is a bug in the
>program.
>
>There are also programs that assume interface names are fairly short
>(4-5 characters including the unit). Nothing has been done to address
>this issue.
>
>Please report edge cases to me and the -net list.
Гы. Мы тут как раз вчера на одном линуксовом роутере сетевуху сменили
(ISA на PCI), ну и у него, натурально, нумера ethN съехали. Дык проще
оказалось кабеля переткнуть, чем по конфигам лазать. Заработало тут же ;-)
Вал. Дав.
--- ifmail v.2.15dev5.3
* Origin: St. Petersburg State University (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/4417978b3d07.html, оценка из 5, голосов 10
|