public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tethering an htc incredible
Date: Thu, 16 Jun 2011 23:00:37 +0100	[thread overview]
Message-ID: <201106162300.49632.michaelkintzios@gmail.com> (raw)
In-Reply-To: <yu9d3idhme1.fsf@nyu.edu>

[-- Attachment #1: Type: Text/Plain, Size: 2624 bytes --]

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.

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.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2011-06-16 22:09 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 14:38 [gentoo-user] tethering an htc incredible Allan Gottlieb
2011-06-16 14:49 ` Paul Hartman
2011-06-16 18:11   ` Allan Gottlieb
2011-06-16 21:31   ` Allan Gottlieb
2011-06-16 22:00 ` Mick [this message]
2011-06-16 22:13   ` Allan Gottlieb
2011-06-17  5:32     ` Mick
2011-06-17 10:52       ` Allan Gottlieb
2011-06-17 11:13         ` Mick
2011-06-17 14:20           ` Allan Gottlieb
2011-06-17 16:29             ` David Abbott
2011-06-18 15:06               ` Allan Gottlieb
2011-06-18 17:53                 ` David Abbott
2011-06-19 10:25                   ` Allan Gottlieb
2011-06-19 10:40                     ` Indi
2011-06-19 16:15                       ` Matthew Finkel
2011-06-20 15:46                         ` Allan Gottlieb
     [not found]                           ` <4DFFA6D7.6020701@gmail.com>
2011-06-20 20:10                             ` Sebastian Beßler
2011-06-20 23:02                               ` Stroller
2011-06-21  0:16                                 ` Allan Gottlieb
2011-06-21  1:23                                   ` Stroller
2011-06-21  1:34                                     ` Stroller
2011-06-21  3:49                                       ` Allan Gottlieb
2011-06-21  3:43                                     ` Allan Gottlieb
2011-06-21  5:54                                       ` Al

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201106162300.49632.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox