From owner-freebsd-stable@freebsd.org Sun Sep 4 03:49:13 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 504D8BCDF19 for ; Sun, 4 Sep 2016 03:49:13 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id 3A8C72EAA for ; Sun, 4 Sep 2016 03:49:12 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from elita (unknown [179.211.188.112]) by calvin.arroway.org (Postfix) with ESMTPA id 61D24301C0 for ; Sun, 4 Sep 2016 00:49:06 -0300 (BRT) Date: Sun, 4 Sep 2016 00:49:12 -0300 From: Nenhum_de_Nos To: "freebsd-stable@freebsd.org" Subject: Re: ue1 and ue2 swinging Message-Id: <20160904004912.fde07f06fae6198257138737@eternamente.info> In-Reply-To: <9e77a50390471340a8f9e0afbfa3785a.squirrel@cabo.dyn.arroway.org> References: <20160901222144.8b9271868373b86e04dbd1a2@eternamente.info> <9e77a50390471340a8f9e0afbfa3785a.squirrel@cabo.dyn.arroway.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 03:49:13 -0000 On Fri, 2 Sep 2016 13:05:45 -0300 "Nenhum_de_Nos" wrote: > > On Thu, September 1, 2016 23:34, Eric A. Borisch wrote: > > Matheus, > > > > I had a very similar problem, which led me to throw this together: > > > > https://github.com/eborisch/ethname > > > > I think the comments in it are fairly complete, let me know if anything > > doesn't make sense. > > > > Perhaps there is an easier way, but most discussions I found ended in "you > > could rename them on boot" - which is what this rc.d script does. I use it > > on my home router to great effect. (I rename the adapters to cable and > > priv > > just to make firewall rules etc. even clearer.) > > > > - Eric > > Eric, > > great hint there, I will try it later when I get home and report back > here. Thanks! > > matheus Hi Eric, I tried it and something is not working here, I suppose. I have the /usr/local/etc/ifmap, the ethname is on /usr/local/etc/rc.d, and if I run it past boot it works fine. But on reboot it doesn't. Is this the inteded way or am I missing something? thanks, matheus -- Nenhum_de_Nos