From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QXLcg-0000fP-4j for garchives@archives.gentoo.org; Thu, 16 Jun 2011 23:05:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBE3F1C12D for ; Thu, 16 Jun 2011 23:05:13 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97]) by pigeon.gentoo.org (Postfix) with ESMTP id F29EC1C091 for ; Thu, 16 Jun 2011 22:13:29 +0000 (UTC) Received: from ajglap.localdomain (ool-4a59b202.dyn.optonline.net [74.89.178.2]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id p5GMDT9n002968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 16 Jun 2011 18:13:29 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id EDA12701BE; Thu, 16 Jun 2011 18:13:28 -0400 (EDT) From: Allan Gottlieb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] tethering an htc incredible References: <201106162300.49632.michaelkintzios@gmail.com> Date: Thu, 16 Jun 2011 18:13:28 -0400 In-Reply-To: <201106162300.49632.michaelkintzios@gmail.com> (Mick's message of "Thu, 16 Jun 2011 23:00:37 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: X-Archives-Hash: 338a05528cc81a2d7e8bccbe17543e24 On Thu, Jun 16 2011, Mick wrote: > On Thursday 16 Jun 2011 15:38:30 Allan Gottlieb wrote: >> I have an htc incredible and want to use it to act as a modem for my >> gentoo laptop. >> >> The htc manual says that I first must install htc sync. >> When I go to the htc web site, I find that htc sync is only available >> for ms windows. > > I wouldn't think that this is necessary unless you want to sync contacts, > messages, etc. Opensync may work with that phone - but I do know for sure. > > >> I believing others on this group have tethered their incredibles and I >> wonder how. I see in google some attempts to use wine or other ms >> windows emulators / virtualizers. >> >> I do not need to sync contacts/mail/calendar since I do that with >> google. >> >> I haven't seen any howtos for tethering directly with gentoo. > > I don't have your phone to provide detailed instructions, but this is how I > have tethered phones in the past to connect to the Internet using IrDA or > Bluetooth. thanks for the information. The forum post paul sent me too claims that this is very easy with a usb connection. But to date, I haven't got it working. Others definitely have so there is probably something wrong with configuration (quite possible the kernel). thanks again, allan ================================================================ > 1. Establish a connection between your phone and the laptop. I assume you > will use Bluetooth for this, so you will need to edit > /etc/bluetooth/rfcomm.conf as follows: > > # > # RFCOMM configuration file. > # > > rfcomm0 { > # # Automatically bind the device at startup > # bind no; > bind yes; > # # Bluetooth address of the device > # device 11:22:33:44:55:66; > device XX:XX:XX:XX:XX:XX; <--your phone's b'tooth MAC address > # > # # RFCOMM channel for the connection > # channel 1; > #channel 1; > # # Description of the connection > # comment "Example Bluetooth device"; > comment "HTC Incredible"; <--your phone's name > } > > To find the MAC address run hcitool with various parameters like, scan, dev, > inq. > > Then create a ppp connection on your PC and point it to /dev/rfcomm0. First > check though that the device is being created and if not, check the > /etc/conf.d/bluetooth file, this is mine: > > # Bluetooth configuraton file > > # Bind rfcomm devices (allowed values are "true" and "false") > RFCOMM_ENABLE=true > > # Config file for rfcomm > RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf" > > > The tricky part with the ppp connection is using the correct string for > running the modem on the phone. On mine I dial up *99# and that activates > GPRS on the phone. You may also need special initialisation commands for the > phone's modem. Some googling on these specifics should get you there. > > Other than that enable bluetooth on both devices, establish a connection using > bluetooth and entering a pin and then run ppp on your laptop. If all goes as > expected you should be online.