Date: Sat, 10 May 2003 12:12:10 +0200 From: Marcin Dalecki <mdcki@gmx.net> To: "Yevmenkin, Maksim" <Maksim.Yevmenkin@cw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: USB link cable? Message-ID: <3EBCD07A.7070307@gmx.net> In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC4D2@USSC8MS04.Global.Cwintra.Com> References: <2E7E8A35375D1449A6F28D5E022E67310AC4D2@USSC8MS04.Global.Cwintra.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EBCD07A.7070307>