Main index | Section 4 | Options |
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
udbp_load="YES"
It requires netgraph(4) to be available. This can be done either by adding options NETGRAPH to your kernel configuration file, or alternatively loading netgraph(4) as a module, either from /boot/loader.conf or from the command line, before the udbp module.
options NETGRAPH
device udbp
Add the udbp driver to the kernel.
kldload netgraph
kldload udbp
Load the netgraph(4) module and then the udbp driver.
ngctl mkpeer udbp0: eiface data ether
ifconfig ngeth0 ether aa:dd:xx:xx:xx
ifconfig ngeth0 inet 169.254.x.x/16
Create a new Ethernet network interface node and connect its ether hook to the data hook of the udbp driver.
This enables FreeBSD to communicate with a Linux peer (e.g. using the plusb driver). The Linux node should be configured to prefer link-local IPv4 addresses (e.g. using Network Manager in Debian and Red Hat derived distributions).
Whilst both FreeBSD and Linux are able to interoperate by loosely following CDC EEM 1.0 in their behaviour, neither implementation has been expressly designed to follow its specification.
Universal Serial Bus: Communications Class Subclass Specification for Ethernet Emulation Model Devices, Revision 1.0, USB Implementers Forum, Inc., February 2, 2005.
https://www.ghisler.com/cables/index.htmTotal Commander: Supported cables for USB cable connection, Ghisler Software GmbH.,
However, their energy efficiency makes them attractive for embedded applications. A Plugable PL27A1 cable claims 24mA of USB3 bus power, as compared to 150mA for a typical USB 3.0 to Gigabit Ethernet interface.
This manual page was written by Nick Hibma <Mt n_hibma@FreeBSD.org> and updated by Bruce Simpson <Mt bms@FreeBSD.org>.
UDBP (4) | October 20, 2017 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Modern Unix impedes progress in computer science, wastes billions of dollars, and destroys the common sense of many who seriously use it. | ” |
— The Unix Haters' handbook |