Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 15:39:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 247439] network interface "ue"'s name should be same as it's driver (cdce or uether)
Message-ID:  <bug-247439-19105@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247439

            Bug ID: 247439
           Summary: network interface "ue"'s name should be same as it's
                    driver (cdce or uether)
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: t.eichstaedt@gmx.net

Dear programmer,

Usually network interface names are _the same_ (no abbr.) as their resp.
driver.  The 'ue' interface should follow this convention, too.

This interface appears when a wireless modem is attached to the system.  I
/guess/ it's the bridge supplied by cdce(4), but since 'ue' could also be meant
as abbreviation for uether(4), I'm not quite shure... (and uether(4) has no man
page)

It's easy to avoid such confusion by simply following the convention. To save
two or three keystrokes is a void (pardon - silly) plea.  I do not mean this in
an offensive way.

IMHO the fix should be that 1. the IF is named "uetherN" 2. when cdce(4) takes
it, renames it to "cdceN".  I tried to fix it myself, but gave up after an hour
reading through the src (found a module_map[] in sbin/ifconfig.c, does it
belong in there?).  When you fix it, it takes you 10 minutes.

THX

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247439-19105>