Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Tether a Google Nexus One?
Date: Thu, 05 May 2011 00:45:15
Message-Id: BANLkTimU1u-jeJeJaDMctv3BY2AVY+MP8w@mail.gmail.com
In Reply to: Re: [gentoo-user] {OT} Tether a Google Nexus One? by Grant
1 On Wed, May 4, 2011 at 6:23 PM, Grant <emailgrant@×××××.com> wrote:
2
3 > > I agree with Mark. Have you received the GB update? I know not all N1s
4 > have
5 > > received it yet, so I apologize if my assumption is wrong and you're
6 > still
7 > > running Froyo. But I have had the same experience as Mark (and I am
8 > running
9 > > gentoo) where it is almost as plug-n-play as you can get. (Assuming
10 > you're
11 > > running GB):
12 > > 1) Plug in usb to phone and computer
13 > > 2) Enable usb tethering in Wireless & network settings
14 > > 3) Tethering & portable hotspot
15 > > 4) USB tethering (check)
16 > > As root:
17 > > ---snip---
18 > > ifconfig usb0 up
19 > > dhcpcd usb0
20 > > ---snip---
21 > > I don't believe the tethering experience was much more difficult in
22 > Froyo,
23 > > but I could be wrong about that.
24 > > - Matt
25 >
26 > Thanks guys, the wifi hotspot works great but I can't get USB
27 > tethering to work. I don't seem to have the usb0 device, even after
28 > enabling USB tethering in the settings:
29 >
30 > # ifconfig /dev/usb0 up
31 > /dev/usb0: ERROR while getting interface flags: No such device
32 >
33 > Any ideas? I'm on Android 2.3.3.
34 >
35 > - Grant
36 >
37 >
38 > >>> Does anyone know if a Google Nexus One cell phone can be USB tethered
39 > >>> to a Gentoo system? I use wvdial to accomplish this with other cell
40 > >>> phones but I've read that the Nexus One doesn't work that way because
41 > >>> it doesn't appear on the host system as a tty:
42 > >>>
43 > >>> http://forum.nginx.org/read.php?23,146509,147989
44 > >>>
45 > >>> There is a tethering option in the Nexus One settings but I can't
46 > >>> figure out how to get my Gentoo laptop to use the tethered cell
47 > >>> phone's internet connection.
48 > >>>
49 > >>> - Grant
50 > >>>
51 > >>
52 > >> If your phone is anything like my phone (G2, Gingerbread) that has the
53 > >> same option, you should be able to do the following (I did this on an
54 > Arch
55 > >> system late last week, never tested on Gentoo but should work):
56 > >> ifconfig usb0 up
57 > >> dhcpcd usb0
58 > >>
59 > >> That should get you online.
60 >
61 >
62 Drop the "/dev/" part of your ifconfig command. ifconfig refers to devices
63 by their name, not their full path+name.