On Saturday, September 3, 2016, Nenhum_de_Nos <math...@eternamente.info> wrote:
> On Fri, 2 Sep 2016 13:05:45 -0300 > "Nenhum_de_Nos" <math...@eternamente.info <javascript:;>> 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 _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"