USB link cable?
Marcin Dalecki
mdcki at gmx.net
Sat May 10 03:11:13 PDT 2003
Yevmenkin, Maksim wrote:
> Marcin,
>
> > Right now I'm trying to connect two boxes by a USB host to host link
> > cable. On the one side is Linux, where the usbnet driver is nicely
> > providing an usb0 ethernet interface. On the FreeBSD side I have
> > found that there is a similar driver called udbp, which has to
> > be used with netgraph to turn some magic around and make it
> > appear as if it where an ethernet interface. Let's put it short:
> > netgraph sucks. The docs are incomprehensible. Seems like a
> > networking fetishists toy but nothing really usable.
>
> did you read udbp(4) man page?
Yes I suffered the content of it.
>
> this will create virtual ng0 network interface, which is different from
> virtual
> *ethernet* interface. if you need virtual *ethernet* interface you will need
> to use ng_eiface(4) module instead of ng_iface(4), i.e.
>
> # ngctl mkpeer udbp0: eiface data ether
>
> this will create virtual ngethX *ethernet* interface.
As I say - netgraph is incomprehensible and cumbersome.
Anyway thanks for the hint I will give it a try.
More information about the freebsd-hackers
mailing list