Network connection with HTC Hero and Debian

I have an HTC Hero, an Android phone, for one year. But I never tried to share his network connection with my Debian laptop. To prepare my trip to Debconf10, I try it today and… I’m surprised because it’s so easy!

1. Plug your phone on USB
2. Active “Share your phone network” on phone (in french: “Partage du réseau mobile”)
3. You see now an usb0 ethernet device:

usb0      Link encap:Ethernet  HWaddr a2:17:af:4f:fa:da
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

4. Configure usb0 to have the network configuration with your favorite tool (ifconfig for example).
5. Now you can ping your phone with Use it as gateway and enjoy: your laptop is now connected with Wi-Fi, GPRS or 3G+!

Note: I use HTC Hero with Android 1.5 (build number: and the french mobile phone provider Orange.

Tags: , ,

4 Responses to “Network connection with HTC Hero and Debian”

  1. Mehdi says:

    Did you try with the NetworkManager? (if you use it). You might be surprised even more :)

  2. FooBar says:

    The HERO also runs a dhcp server, so you only need to run dhclient on the linux box (or use NetworkManager)

  3. htc hero says:

    Does anyone know which type of video files are supported? I keep in mind the Intuition only could dl 3gp utilizing opera mini. I downloaded the twist ap, perhaps that is the problem? How can I watch movies from sites aside from youtube? Which file varieties? Usually I am given the option of 3gp or mpeg4. Can’t get both to work. Thank you for your time! Damn I wish I was eligible for the improve to EVO!

  4. Thanks for the great article, I am very excited. I’ve had my telephone for simply over a month now and am in reality taking part in all of the loose apps from the android marketplace, having the ability to have the web and navigation at my fingertips all of the time. The only less than thought feature is the picture/video textual content messages, as they are not downloading properly.