From owner-freebsd-questions@FreeBSD.ORG Mon Nov 1 22:25:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77C581065767 for ; Mon, 1 Nov 2010 22:25:17 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2D44B8FC15 for ; Mon, 1 Nov 2010 22:25:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PD2oV-0000GY-Tq for freebsd-questions@freebsd.org; Mon, 01 Nov 2010 23:25:15 +0100 Received: from 93-138-69-80.adsl.net.t-com.hr ([93.138.69.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Nov 2010 23:25:15 +0100 Received: from ivoras by 93-138-69-80.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Nov 2010 23:25:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 01 Nov 2010 23:25:04 +0100 Lines: 33 Message-ID: References: <56546.1288608856@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-69-80.adsl.net.t-com.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20101008 Thunderbird/3.1.4 In-Reply-To: Subject: Re: Android usb tethering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 22:25:17 -0000 On 11/01/10 15:42, Mark Atkinson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/01/2010 03:54, freebsd-questions@herveybayaustralia.com.au wrote: >> >> Anyone tried the data tethering feature on the Android phones? > > I have, it works. Attaching via usb in the proper mode should attach > the umodem device which you can then use the published serial device > with the userland ppp(8). Defining the correct section name for > tethering can be a little daunting however. > > Google for things like 'telstra GSM ppp.conf' or such and then you just > have to convert any linux scripts you find into freebsd ppp.conf. If > you're lucky you may find freebsd specific configurations. Or, someone > on the list may have one to share. I believe it depends on the phone manufacturer. HTC phones apparently use some kind of "Ethernet over USB" which is well supported under Windows and Linux but not FreeBSD: Nov 1 23:20:52 betelgeuse kernel: (da4:umass-sim1:1:0:0): lost device Nov 1 23:20:52 betelgeuse kernel: (da4:umass-sim1:1:0:0): removing device entry Nov 1 23:20:53 betelgeuse root: Unknown USB device: vendor 0x0bb4 product 0x0ffe bus uhub5 Nov 1 23:20:53 betelgeuse kernel: ugen4.4: at usbus4 In the above messages, the kernel detaches the storage device (umass) and tries to attach the new device, which doesn't have a driver so it's attached as "ugen" - generic USB.