Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-04 Thread Indi
On Wed, May 04, 2011 at 12:00:02AM +0200, Alan McKinnon wrote:
 Apparently, though unproven, at 23:19 on Tuesday 03 May 2011, Neil Bothwick 
 did opine thusly:
 
  On Tue, 3 May 2011 13:21:06 -0700, Grant wrote:
   There is a tethering option in the Nexus One settings but I can't
   figure out how to get my Gentoo laptop to use the tethered cell
   phone's internet connection.
  
  I never tried tethering mine over USB, because the WiFi tethering is so
  simple to use. You just turn it on and the phone appears as an
  access point in Wicd (or any inferior network manager you may
  masochistically prefer).
 
 Hello Neil,
 
 Had some bad experiences with NetworkManager then?
 

The CLI and wpa_supplicant have yet to let me down.
Network manager and wicd were both incredibly frustrating 
and buggy, last I tried them (~ a year ago).

-- 
caveat utilitor




Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-04 Thread Grant
 I agree with Mark. Have you received the GB update? I know not all N1s have
 received it yet, so I apologize if my assumption is wrong and you're still
 running Froyo. But I have had the same experience as Mark (and I am running
 gentoo) where it is almost as plug-n-play as you can get. (Assuming you're
 running GB):
 1) Plug in usb to phone and computer
 2) Enable usb tethering in Wireless  network settings
 3) Tethering  portable hotspot
 4) USB tethering (check)
 As root:
 ---snip---
 ifconfig usb0 up
 dhcpcd usb0
 ---snip---
 I don't believe the tethering experience was much more difficult in Froyo,
 but I could be wrong about that.
 - Matt

Thanks guys, the wifi hotspot works great but I can't get USB
tethering to work.  I don't seem to have the usb0 device, even after
enabling USB tethering in the settings:

# ifconfig /dev/usb0 up
/dev/usb0: ERROR while getting interface flags: No such device

Any ideas?  I'm on Android 2.3.3.

- Grant


 Does anyone know if a Google Nexus One cell phone can be USB tethered
 to a Gentoo system?  I use wvdial to accomplish this with other cell
 phones but I've read that the Nexus One doesn't work that way because
 it doesn't appear on the host system as a tty:

 http://forum.nginx.org/read.php?23,146509,147989

 There is a tethering option in the Nexus One settings but I can't
 figure out how to get my Gentoo laptop to use the tethered cell
 phone's internet connection.

 - Grant


 If your phone is anything like my phone (G2, Gingerbread) that has the
 same option, you should be able to do the following (I did this on an Arch
 system late last week, never tested on Gentoo but should work):
 ifconfig usb0 up
 dhcpcd usb0

 That should get you online.



Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-04 Thread David Abbott
On Wed, May 4, 2011 at 7:23 PM, Grant emailgr...@gmail.com wrote:

 Any ideas?  I'm on Android 2.3.3.

 - Grant

Works fine here, this should help;
http://forums.gentoo.org/viewtopic-t-843255.html



Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-04 Thread Mark Shields
On Wed, May 4, 2011 at 6:23 PM, Grant emailgr...@gmail.com wrote:

  I agree with Mark. Have you received the GB update? I know not all N1s
 have
  received it yet, so I apologize if my assumption is wrong and you're
 still
  running Froyo. But I have had the same experience as Mark (and I am
 running
  gentoo) where it is almost as plug-n-play as you can get. (Assuming
 you're
  running GB):
  1) Plug in usb to phone and computer
  2) Enable usb tethering in Wireless  network settings
  3) Tethering  portable hotspot
  4) USB tethering (check)
  As root:
  ---snip---
  ifconfig usb0 up
  dhcpcd usb0
  ---snip---
  I don't believe the tethering experience was much more difficult in
 Froyo,
  but I could be wrong about that.
  - Matt

 Thanks guys, the wifi hotspot works great but I can't get USB
 tethering to work.  I don't seem to have the usb0 device, even after
 enabling USB tethering in the settings:

 # ifconfig /dev/usb0 up
 /dev/usb0: ERROR while getting interface flags: No such device

 Any ideas?  I'm on Android 2.3.3.

 - Grant


  Does anyone know if a Google Nexus One cell phone can be USB tethered
  to a Gentoo system?  I use wvdial to accomplish this with other cell
  phones but I've read that the Nexus One doesn't work that way because
  it doesn't appear on the host system as a tty:
 
  http://forum.nginx.org/read.php?23,146509,147989
 
  There is a tethering option in the Nexus One settings but I can't
  figure out how to get my Gentoo laptop to use the tethered cell
  phone's internet connection.
 
  - Grant
 
 
  If your phone is anything like my phone (G2, Gingerbread) that has the
  same option, you should be able to do the following (I did this on an
 Arch
  system late last week, never tested on Gentoo but should work):
  ifconfig usb0 up
  dhcpcd usb0
 
  That should get you online.


Drop the /dev/ part of your ifconfig command.  ifconfig refers to devices
by their name, not their full path+name.


[gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Grant
Does anyone know if a Google Nexus One cell phone can be USB tethered
to a Gentoo system?  I use wvdial to accomplish this with other cell
phones but I've read that the Nexus One doesn't work that way because
it doesn't appear on the host system as a tty:

http://forum.nginx.org/read.php?23,146509,147989

There is a tethering option in the Nexus One settings but I can't
figure out how to get my Gentoo laptop to use the tethered cell
phone's internet connection.

- Grant



Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Maciej Grela
2011/5/3 Grant emailgr...@gmail.com:
 Does anyone know if a Google Nexus One cell phone can be USB tethered
 to a Gentoo system?  I use wvdial to accomplish this with other cell
 phones but I've read that the Nexus One doesn't work that way because
 it doesn't appear on the host system as a tty:

 http://forum.nginx.org/read.php?23,146509,147989

 There is a tethering option in the Nexus One settings but I can't
 figure out how to get my Gentoo laptop to use the tethered cell
 phone's internet connection.


What kind of device appears in the system when you plug in the phone ?
The last few lines of dmesg would give the best information.

Best regards,
Maciej Grela



Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Neil Bothwick
On Tue, 3 May 2011 13:21:06 -0700, Grant wrote:

 There is a tethering option in the Nexus One settings but I can't
 figure out how to get my Gentoo laptop to use the tethered cell
 phone's internet connection.

I never tried tethering mine over USB, because the WiFi tethering is so
simple to use. You just turn it on and the phone appears as an
access point in Wicd (or any inferior network manager you may
masochistically prefer).


-- 
Neil Bothwick

Barnum was wrongit's more like every 30 seconds!


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Alan McKinnon
Apparently, though unproven, at 23:19 on Tuesday 03 May 2011, Neil Bothwick 
did opine thusly:

 On Tue, 3 May 2011 13:21:06 -0700, Grant wrote:
  There is a tethering option in the Nexus One settings but I can't
  figure out how to get my Gentoo laptop to use the tethered cell
  phone's internet connection.
 
 I never tried tethering mine over USB, because the WiFi tethering is so
 simple to use. You just turn it on and the phone appears as an
 access point in Wicd (or any inferior network manager you may
 masochistically prefer).

Hello Neil,

Had some bad experiences with NetworkManager then?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Mick
On Tuesday 03 May 2011 22:19:53 Neil Bothwick wrote:
 On Tue, 3 May 2011 13:21:06 -0700, Grant wrote:
  There is a tethering option in the Nexus One settings but I can't
  figure out how to get my Gentoo laptop to use the tethered cell
  phone's internet connection.
 
 I never tried tethering mine over USB, because the WiFi tethering is so
 simple to use. You just turn it on and the phone appears as an
 access point in Wicd (or any inferior network manager you may
 masochistically prefer).

What?  Like iwconfig sort of thing?  Or are we talking advanced automation 
sutff stuff like /etc/init.d/net.wlan0 and 
/etc/wpa_supplciant/wpa_supplicant.conf?  LOL
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Mick
On Tuesday 03 May 2011 22:48:45 Alan McKinnon wrote:
 Apparently, though unproven, at 23:19 on Tuesday 03 May 2011, Neil Bothwick
 
 did opine thusly:
  On Tue, 3 May 2011 13:21:06 -0700, Grant wrote:
   There is a tethering option in the Nexus One settings but I can't
   figure out how to get my Gentoo laptop to use the tethered cell
   phone's internet connection.
  
  I never tried tethering mine over USB, because the WiFi tethering is so
  simple to use. You just turn it on and the phone appears as an
  access point in Wicd (or any inferior network manager you may
  masochistically prefer).
 
 Hello Neil,
 
 Had some bad experiences with NetworkManager then?

'Google' says to root the darn thing and patch it:

http://www.dbuggr.com/milly/steps-enable-google-nexus-htc-modem-android-
tethering/

http://www.mahalo.com/how-to-tether-your-nexus-one/

but I'm not sure how dangerous this might be (I don't have a google phone to 
try it).
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] {OT} Tether a Google Nexus One?

2011-05-03 Thread Neil Bothwick
On Tue, 3 May 2011 23:03:50 +0100, Mick wrote:

  I never tried tethering mine over USB, because the WiFi tethering is
  so simple to use. You just turn it on and the phone appears as an
  access point in Wicd (or any inferior network manager you may
  masochistically prefer).  
 
 What?  Like iwconfig sort of thing?  Or are we talking advanced
 automation sutff stuff like /etc/init.d/net.wlan0 and 
 /etc/wpa_supplciant/wpa_supplicant.conf?  LOL

I'm talking about post-stoneage stuff, not druidware :)

BTW I was too hasty in my reply, seeing the Nexus but not the One. My
experience is with a Nexus S, but as both use vanilla android, it should
be equally easy.

My phone is rooted, but this worked instantly before it was rooted.


-- 
Neil Bothwick

Keep your words soft and sweet in case you have to eat them.


signature.asc
Description: PGP signature