Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tethering an htc incredible
Date: Fri, 17 Jun 2011 12:05:37
Message-Id: 201106171213.38883.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] tethering an htc incredible by Allan Gottlieb
1 On Friday 17 Jun 2011 11:52:03 Allan Gottlieb wrote:
2 > On Fri, Jun 17 2011, Mick wrote:
3 > > On Thursday 16 Jun 2011 23:13:28 Allan Gottlieb wrote:
4 > >> On Thu, Jun 16 2011, Mick wrote:
5 > >> > On Thursday 16 Jun 2011 15:38:30 Allan Gottlieb wrote:
6 > >> >> I have an htc incredible and want to use it to act as a modem for my
7 > >> >> gentoo laptop.
8 > >
9 > > [snip...]
10 > >
11 > >> >> I haven't seen any howtos for tethering directly with gentoo.
12 > >> >
13 > >> > I don't have your phone to provide detailed instructions, but this is
14 > >> > how I have tethered phones in the past to connect to the Internet
15 > >> > using IrDA or Bluetooth.
16 > >>
17 > >> thanks for the information. The forum post paul sent me too claims that
18 > >> this is very easy with a usb connection. But to date, I haven't got it
19 > >> working. Others definitely have so there is probably something wrong
20 > >> with configuration (quite possible the kernel).
21 > >>
22 > >> thanks again,
23 > >> allan
24 > >
25 > > Well, what I'm suggesting should also work with a usb connection (instead
26 > > of bluetooth or IrDA) but unlike what is suggested in the forum I would
27 > > not think that it needs the particular MSWindows usb modem driver to
28 > > create a virtual ethernet interface. Unless that is the phone is locked
29 > > down in its firmware and will not run DUN - over bluetooth you would use
30 > > 'sdptool browse <MAC_address> to find out what services the phone
31 > > offers.
32 > >
33 > > I think that Linux *should* be able to manage the connection directly
34 > > over ppp, using what ever usb device udev creates when you connect your
35 > > phone.
36 > >
37 > > However, I don't have access to such phone to try it out on this end.
38 > >
39 > > Good luck. :-)
40 >
41 > The forum post does not involve any ms windows code (in is a gentoo
42 > forum). Indeed it seems perfect ...
43 > ... except that for me it doesn't work. I has worked for others so
44 > I must have some configuration (probably the kernel) wrong.
45 >
46 > thanks again for trying to help. I appreciate it.
47 > allan
48
49 Hmm ...
50
51 http://en.wikipedia.org/wiki/RNDIS
52
53 http://msdn.microsoft.com/en-us/windows/hardware/gg463293
54
55
56 I'm not saying that the code running on Linux is MSWindows (the protocol is)
57 and RNDIS is of course faster than e.g. a USB-serial connection, but I still
58 think that you should be able to use USB directly without the RNDIS plug 'n
59 play protocol. PPP will allow you to do the dialling part over USB. It may
60 take longer to configure than using RNDIS, but it should work all the same and
61 at the same IO speeds.
62
63 Anyhow, if the problem you are trying to solve is how to get RNDIS going, what
64 I suggest is more of a work-around than the solution you are seeking.
65
66 Hope you crack this soon. :)
67 --
68 Regards,
69 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] tethering an htc incredible Allan Gottlieb <gottlieb@×××.edu>