From owner-freebsd-net@FreeBSD.ORG Tue Apr 14 07:58:24 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36D1F9CC for ; Tue, 14 Apr 2015 07:58:24 +0000 (UTC) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id A99546A5 for ; Tue, 14 Apr 2015 07:58:22 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 1AA4A177B6F; Tue, 14 Apr 2015 09:58:20 +0200 (CEST) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JtTzj-xqrtQa; Tue, 14 Apr 2015 09:58:19 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 699C1177B8B; Tue, 14 Apr 2015 09:58:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8Q3TdeRcw_Ng; Tue, 14 Apr 2015 09:58:19 +0200 (CEST) Received: from xorrigo.toolfactory.net (unknown [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 4A632177B72; Tue, 14 Apr 2015 09:58:19 +0200 (CEST) Date: Tue, 14 Apr 2015 09:58:17 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: Sami Halabi Cc: freebsd-net@freebsd.org Message-ID: <1220427062.125408834.1428998297514.JavaMail.zimbra@logitravel.com> In-Reply-To: References: <1515307147.125084364.1428941649424.JavaMail.zimbra@logitravel.com> <6CF66AE8-F924-4FF8-ACCE-5B9F23557B9B@logitravel.com> Subject: Re: Network Interface name change MIME-Version: 1.0 X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: Network Interface name change Thread-Index: LuadQoP0b7gwys+tta2G2oUpb/DylA== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 07:58:24 -0000 Thank you very much, I will try this out!=20 Best=20 Ray=20 ----- Original Message ----- > From: "Sami Halabi" > To: "Raimund Sacherer" > Cc: freebsd-net@freebsd.org > Sent: Monday, April 13, 2015 10:08:22 PM > Subject: Re: Network Interface name change > 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 20= 15 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: >=20 > > > Hi, > >=20 >=20 > > > the simest way is to write a script that seeks for MACs and sets name= s > > > upon > > > system restart. > >=20 >=20 > > > of course if anyone has an elegant way or patch its bretter. > >=20 >=20 > > > Sami > >=20 >=20 > > Thank you, I could write a script and launch it at the correct moment I= n > > the > > boot process, but my problem is that I do not know how to rename a netw= ork > > interface, in Linux one could use udev and declare the name for each Ma= c, > > but I do not know the Unix/BSD equivalent. >=20 > > Thanks >=20 > > Ray >=20 --=20 Raimund Sacherer=20 Sistemas=20 Agencia de Viajes Online=20 www.logitravel.com=20 Edificio Logitravel, Parcela 3B (Parc Bit)=20 Ctra. Palma - Valldemossa km 7,4 | 07121 Palma de Mallorca=20 Tel 902 366 847 | Fax 971 213 495=20 S=C3=ADguenos en: =09=09=09=09=09=09Descarga nuestras aplicaciones para m= =C3=B3vil =09 Este correo electr=C3=B3nico y, en su caso, cualquier fichero anexo, contie= ne informaci=C3=B3n de car=C3=A1cter confidencial exclusivamente dirigida a= su destinatario. Queda prohibida su divulgaci=C3=B3n, copia o distribuci= =C3=B3n a terceros sin la previa autorizaci=C3=B3n escrita de LOGITRAVEL S.= L.. En caso de haber recibido este correo electr=C3=B3nico por error, se ru= ega notif=C3=ADquese inmediatamente esta circunstancia mediante reenv=C3=AD= o a la direcci=C3=B3n electr=C3=B3nica del remitente. Al mismo tiempo LA EM= PRESA le recuerda que sus datos forman o formar=C3=A1n parte de un fichero = registrado como CLIENTES con n=C3=BAmero de inscripci=C3=B3n 2070610043 en = la Agencia General de Protecci=C3=B3n de Datos, propiedad de la empresa LOG= ITRAVEL, con domicilio en Edificio Logitravel, Ctra. Palma - Valldemosa km = 7,4, Parc Bit, Palma de Mallorca. Usted tiene derecho de acceso, oposici=C3= =B3n, rectificaci=C3=B3n y cancelaci=C3=B3n a estos datos que deber=C3=A1 e= jercer mediante escrito a la direcci=C3=B3n anteriormente citada.=20