From owner-freebsd-net@FreeBSD.ORG Mon Apr 13 20:08:23 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB510BDE for ; Mon, 13 Apr 2015 20:08:23 +0000 (UTC) Received: from mail-pd0-x230.google.com (mail-pd0-x230.google.com [IPv6:2607:f8b0:400e:c02::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94718FA9 for ; Mon, 13 Apr 2015 20:08:23 +0000 (UTC) Received: by pdbqa5 with SMTP id qa5so118230259pdb.1 for ; Mon, 13 Apr 2015 13:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7lUoxupLscncA2uLBRibtg+OboM7NG1EnJl+Df+j7pw=; b=hGLosqQobqYECUmzTg+BH0C0O5+b5BR7siCbLZbo7DdCiNrdtPkZJU90YQUYtwAyPn bjm9T0lCK8digIBVFQjgdbgM6GufVT8Rs/QUIqSdv5bixZKm2GPV/fH0/nlyXkjjklT7 cODgDp2wec92ajXmfVf+urxubgcEANDbuE5oTQjkB6MoihU7bgIQ6LuYFGI4mKTKvgeZ KDQ9GSP+V7l5suHHDLmvNfvBbmniLV1K8m/Jb9O1VbplrVG36CUMrQ6UvQJ0sSQN0pw5 dHu0dnvPpSYdCBE4lNAdy9pbB+RwA4ZCTtJK0+OYR8DvwPkDxlREOv+8vpEr7/Rm1R29 sfbg== MIME-Version: 1.0 X-Received: by 10.68.69.107 with SMTP id d11mr616522pbu.16.1428955702949; Mon, 13 Apr 2015 13:08:22 -0700 (PDT) Received: by 10.70.104.4 with HTTP; Mon, 13 Apr 2015 13:08:22 -0700 (PDT) Received: by 10.70.104.4 with HTTP; Mon, 13 Apr 2015 13:08:22 -0700 (PDT) In-Reply-To: <6CF66AE8-F924-4FF8-ACCE-5B9F23557B9B@logitravel.com> References: <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> <6CF66AE8-F924-4FF8-ACCE-5B9F23557B9B@logitravel.com> Date: Mon, 13 Apr 2015 23:08:22 +0300 Message-ID: Subject: Re: Network Interface name change From: Sami Halabi To: Raimund Sacherer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 20:08:24 -0000 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" =D7=9B=D7=AA=D7=91: > > > El 13/4/2015, a las 19:45, Sami Halabi 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 > > > >>