Related

You don’t need to do any of this or need root access, i’ve had 3 android phones (hero, desire, galaxy SII) and I’ve never had to do any of this. Just plug it in and select USB tethering and it is recognised by ubuntu as an ethernet adapter.

You will need root access to the phone (for old Android versions, Froyo (Android 2.2) and beyond can do it natively). I agree that most Linux distros will recognize it automatically as soon as you enable USB tethering but there are some distros which will not do the same, in that case you will have to follow the steps given above.

ubuntu is not a real distro, just some toy that rarely works right and can’t be updated without destroying the system. just try do apt-get upgrade on a minimally customized system. it’s windows ME all over again.

BTW the HTC Hero supported tethering since Android 1.5, hence why i was confused. I didn’t realise it was vendor specific before 2.2 because it seems all factory unlocked HTC’s(and some carrier locked ones) have supported tethering since 1.5 without rooting.

I keep getting : “The program ‘dhcpcd’ can be found in the following packages:
*dhcpcd
*dhcpcd5

Try: sudo apt-get install

When I try sudo apt-get install dhcpcd i grt:
Package dhcpcd is not available, but is referred by another package, or is only available from another source
E: Package ‘dhcpcd’ has no installation canidate.
And install dhcpcd5 is.
E: Unable to locate package dhcpcd5