udbp - USB Double Bulk Pipe driver
device udbp
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
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 module.
options NETGRAPH
device udbp
Add the driver to the kernel.
kldload netgraph
kldload udbp
Load the netgraph(4) module and then the driver.
ngctl mkpeer udbp0: iface data inet
ifconfig ng0 10.0.0.1 10.0.0.2
Create a new network interface node and connect its inet hook to the data hook of the node. ifconfig(8) configures the resulting network interface ng0 with a local IP address of 10.0.0.1 and a remote IP address of 10.0.0.2. On the remote host, the two IP addresses should of course be reversed.
This manual page was written by An Nick Hibma Aq n_hibma@FreeBSD.org .
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |