From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 22:35:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACB095D0 for ; Wed, 23 Apr 2014 22:35:46 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6C3112D for ; Wed, 23 Apr 2014 22:35:45 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBFFA4.dip0.t-ipconnect.de [93.203.255.164]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id s3NMZKQj084750; Wed, 23 Apr 2014 22:35:24 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s3NMZTrn064845; Thu, 24 Apr 2014 00:35:29 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s3NMZ5ar082056; Thu, 24 Apr 2014 00:35:17 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201404232235.s3NMZ5ar082056@fire.js.berklix.net> To: freebsd-questions@freebsd.org Subject: Re: urndis From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 23 Apr 2014 18:36:01 +0200." Date: Thu, 24 Apr 2014 00:35:05 +0200 Cc: Chris Whitehouse , Rolf Nielsen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 22:35:46 -0000 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 : > > > 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/