Date: Thu, 24 Apr 2014 00:35:05 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: freebsd-questions@freebsd.org Cc: Chris Whitehouse <cwhiteh@onetel.com>, Rolf Nielsen <rmg1970swe@gmail.com> Subject: Re: urndis Message-ID: <201404232235.s3NMZ5ar082056@fire.js.berklix.net> In-Reply-To: Your message "Wed, 23 Apr 2014 18:36:01 %2B0200." <CAN0UpnnDrz7SOPQh9AnV8mCBg-ua1LMAE58XOE-8eYdQekF8tw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rolf, > And I'm sorry for top posting. My mail app doesn't let me put my reply > below the original message. Though your 2nd, 3rd & 5th posts broke FreeBSD.Org convention http://www.freebsd.org/doc/en_US.ISO8859-1/articles/mailing-list-faq/etiquette.html Your 4th post was _Correct_ http://lists.freebsd.org/pipermail/freebsd-questions/2014-April/257695.html Stick with method used Tue Apr 22 13:56:06 UTC 2014. questions@, Rolf's last post corrected, & my addition appended: Rolf Nielsen wrote: > 2014-04-22 20:25 GMT+02:00 Chris Whitehouse <cwhiteh@onetel.com>: > > > On 22/04/2014 12:07, Thomas Mueller wrote: > > > >> I need to use the USB tethering ability of my Samsung Galaxy S5, and the > >>> handbook suggests using either cdce or urndis. I've tried cdce with no > >>> luck, > >>> and I'm not surprised because windows identifies the phone as RNDIS. > >>> However, > >>> I can't find any urndis anywhere on my system. Some pointers would be > >>> greatly > >>> appreciated. > >>> > >> > >> Sincerely, > >>> Rolf Nielsen > >>> > >> > >> I remember seeing urndis as an option in NetBSD kernel config, but not > >> FreeBSD. > >> > >> Here is the line from NetBSD-current i386 GENERIC kernel config: > >> > >> urndis* at uhub? port ? # Microsoft RNDIS specification > >> > >> I am not really familiar with this. > >> > > > > urndis man page says it provides support for Ethernet access over Remote > > NDIS. Is that what you want? Or do you want to use your phone's 3(/4)g > > capability? > > > > I tether my phone to my laptop in the sense that I use it as a modem for > > my laptop when I don't have access to wifi or ethernet. I connect the two > > with a USB cable and use ppp. The laptop is then using the phone's 3g > > connection. > > > > If that's what you want see the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html > > > > Sorry if that's off message. > > > > Chris > I want to use my phone's 3G/4G capability as an ethernet connection. And I > got that working through urndis. I had an outdated prerelease of 10.0, and > when I updated the sources and compiled, urndis was installed. When I > connect my phone and enble USB tethering, the interface ue0 appears. I was puzzled what urndis was, (what with top posting, mentions of NetBSD, & no specification of paths in which version of src/ ports/ lkms or whatever) but it sounded useful so searched: Urndis is not in Any FreeBSD release, including 9.2 or 10.0. Urndis is just in 9-stable & current. /pub/FreeBSD/branches/-current/src/ /pub/FreeBSD/branches/9.0-stable/src/ share/man/man4/urndis.4 sys/dev/usb/net/if_urndis.c sys/dev/usb/net/if_urndisreg.h sys/modules/usb/urndis This fails: http://www.freebsd.org/cgi/man.cgi?query=urndis&apropos=0&sektion=4&manpath=FreeBSD+11-current&arch=default&format=html This works: nroff -man /pub/FreeBSD/branches/-current/src/share/man/man4/urndis.4 The first FreeBSD release to include it was FreeBSD 9.3 But is misleading, there is not [yet] a 9.3 Release, only 9.2-RELEASE Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Google breach privacy http://berklix.com/jhs/adverts/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404232235.s3NMZ5ar082056>