Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 23:08:22 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        Raimund Sacherer <rs@logitravel.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Network Interface name change
Message-ID:  <CAEW%2BogZSa7hmfqt32Xqv%2BfPp7uOadHKy6pNuFvpS0pG8Gkcc7g@mail.gmail.com>
In-Reply-To: <6CF66AE8-F924-4FF8-ACCE-5B9F23557B9B@logitravel.com>
References:  <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> <CAEW%2Bogb0ycvk226hHprW5PbCmxKGUgPjqYGO0OYQ%2BXh6Zw8V_Q@mail.gmail.com> <6CF66AE8-F924-4FF8-ACCE-5B9F23557B9B@logitravel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
use: ifconfig em0 name em1

note that if u have em2,3,.. u need to start in descending order 3,2,1...
so u wont have collissions.

Sami
=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 13 =D7=91=D7=90=D7=A4=D7=A8=D7=B3 2015=
 22:55,=E2=80=8F "Ra=C3=AD" <rs@logitravel.com> =D7=9B=D7=AA=D7=91:

>
>
> El 13/4/2015, a las 19:45, Sami Halabi <sodynet1@gmail.com> escribi=C3=B3=
:
>
> Hi,
> the simest way is to write a script that seeks for MACs and sets names
> upon system restart.
>
> of course if anyone has an elegant way or patch its bretter.
>
> Sami
>
> Thank you, I could write a script and launch it at the correct moment In
> the boot process, but my problem is that I do not know how to rename a
> network interface, in Linux one could use udev and declare the name for
> each Mac, but I do not know the Unix/BSD equivalent.
>
> Thanks
> Ray
>
>
>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogZSa7hmfqt32Xqv%2BfPp7uOadHKy6pNuFvpS0pG8Gkcc7g>