[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 19 12:00:41 UTC 2017


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

            Bug ID: 220852
           Summary: [cdce] [usb] raspberry pi or anything that can emulate
                    Ethernet gadget over usb mac id not read
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: usb
          Assignee: freebsd-usb at FreeBSD.org
          Reporter: bipin at xbipin.com

raspberry pi zero have a kernel module which allows it to use the OTG port to
generate a virtual USB Ethernet adapter (RNDIS Gadget) and we can define its
host and device mac id and it works fine connecting the pi to mac OS, windows
or Linux but when you connect it to pfsense or any FreeBSD based system then
those ignore the supplied mac id and they always generate a random mac id
making it almost useless to be able to use on pfsense etc. I had reported this
on the pfsense bug request portal and i was told to report it here.

when the pi is connected to pfsense using USB the below is generated

ugen0.2: <Linux 4.9.37+ with 20980000.usb> at usbus0
cdce0: on usbus0
cdce0: No valid alternate setting found
device_attach: cdce0 attach returned 6
cdce0: on usbus0
cdce0: faking MAC address
ue0: on cdce0
ue0: Ethernet address: 2a:3f:38:a3:80:00

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


More information about the freebsd-usb mailing list