From owner-freebsd-stable@freebsd.org Sun Sep 4 04:29:00 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 78870BCE9A1 for ; Sun, 4 Sep 2016 04:29:00 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 3C4C2FA5 for ; Sun, 4 Sep 2016 04:29:00 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id i184so101249594itf.1 for ; Sat, 03 Sep 2016 21:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fEE556QqOvqXIlCkzU54VqydzvndVBhgPqVUsSG1PZo=; b=Fuzzmg8uD7ZvxdqNFR4UKlvs3k75Rn+rcWpcbFFneAgPoXDfHqGRTPVXXmq5x/ioqA 24p/FijNaxENF2tAgyy9O0JU4DeAEbGYnahiVoY7oteEze43zf8J4ip2ybwx4JgYWDA7 2Oyb0QsfW+VhNTvCket/8buhrAjcu8qDFQumUUa7jVUKSGc/FM/1Cbk+/HG0itvUJIPm 1lrkPeK8tOxEp4IQbwZeJGBU62sO1gTP1jJAq2QDRTVhv2ugOv1nrGZx+BsHDjwWGv4Y CiJFFeK2Mn0sZgaA4Z0GvjH+KKdKkM1k7fVospsvspOcbNaAVbrjsgWG96kv5FwKHlf4 s54Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fEE556QqOvqXIlCkzU54VqydzvndVBhgPqVUsSG1PZo=; b=DRiSw1Ak6zdoPUyltf38QCDRPCgaV71KbMzWsnGUByrClJj5lfivbcZ+UKQpuosC53 M5DKHxD6Tbe+mFSsxcyzwbyhpZ784N5SdKx0MBoSrcdYwdHCM+/8DQGjCpLBP7//PHiR qc6kpO3tVFb20nrGUAAAObp3WFYd5RbMZoPJtSCd9dNLz58uiubtpgHA3P++96S0l306 XLo89I32vRyMeAsUrfsds5K2Td+7USuPgyoNyX4r4nBqcV0Ye2cRQUd/qr6/2st/BChI CzQmLtr0htbnj2b1f8jdHQDL1nyUZVQ3WWoWa5Ku0iPybeAzj8JBhX398EOU1MSZbrun jtog== X-Gm-Message-State: AE9vXwMKC50tJe5JI0bIGhLVXkbTyFy4Od0cIskppxJkgGsytdfYDb2xISRVqntw5lo7ElpQCBLfKqpQaWJfmQ== X-Received: by 10.36.80.138 with SMTP id m132mr15081621itb.32.1472963339532; Sat, 03 Sep 2016 21:28:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.42 with HTTP; Sat, 3 Sep 2016 21:28:58 -0700 (PDT) In-Reply-To: <20160904004912.fde07f06fae6198257138737@eternamente.info> References: <20160901222144.8b9271868373b86e04dbd1a2@eternamente.info> <9e77a50390471340a8f9e0afbfa3785a.squirrel@cabo.dyn.arroway.org> <20160904004912.fde07f06fae6198257138737@eternamente.info> From: "Eric A. Borisch" Date: Sat, 3 Sep 2016 23:28:58 -0500 Message-ID: Subject: Re: ue1 and ue2 swinging To: Nenhum_de_Nos Cc: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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 04:29:00 -0000 On Saturday, September 3, 2016, Nenhum_de_Nos wrote: > 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 > You have ethname_enabled="YES" and ethname_devices="ue0 ue1" (or whichever devices you want renamed) in your rc.conf; their original names, not what you want them to become? If you have console access, can you try running it manually? I'll double check in a bit that the version on github matches what I'm running. - Eric