[G2 and Desire Z Android Development] saq__d__aus:
Is USB tethering realy working on last Beta 5/6 ? cause I'm facing strange behavior with it on Ubuntu 12.04

The phone seem to not atributing IP (dhcp issue?)

my ubuntu dmesg log:

[2012-05-20 10:51:13] usb 1-2: new high-speed USB device number 17 using ehci_hcd
[2012-05-20 10:51:14] rndis_host 1-2:1.0: usb0: register 'rndis_host' at usb-0000:00:12.2-2, RNDIS device, e2:32:6f:f1:ac:1b
[2012-05-20 10:51:32] usb0: no IPv6 routers present

my ubuntu syslog log:

May 20 10:51:13 mac kernel: [ 5519.968287] usb 1-2: new high-speed USB device number 17 using ehci_hcd
May 20 10:51:14 mac kernel: [ 5520.137052] rndis_host 1-2:1.0: usb0: register 'rndis_host' at usb-0000:00:12.2-2, RNDIS device, e2:32:6f:f1:ac:1b
May 20 10:51:14 mac NetworkManager[710]: <warn> failed to allocate link cache: (-10) Operation not supported
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): carrier is OFF
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): new Ethernet device (driver: 'rndis_host' ifindex: 13)
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): exported as /org/freedesktop/NetworkManager/Devices/13
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): now managed
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): bringing up device.
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): carrier now ON (device state 20)
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): preparing device.
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): deactivating device (reason 'managed') [2]
May 20 10:51:14 mac NetworkManager[710]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2:1.0/net/usb0, iface: usb0)
May 20 10:51:14 mac NetworkManager[710]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2:1.0/net/usb0, iface: usb0): no ifupdown configuration found.
May 20 10:51:14 mac NetworkManager[710]: <info> (usb0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
May 20 10:51:15 mac avahi-daemon[721]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::e032:6fff:fef1:ac1b.
May 20 10:51:15 mac avahi-daemon[721]: New relevant interface usb0.IPv6 for mDNS.
May 20 10:51:15 mac avahi-daemon[721]: Registering new address record for fe80::e032:6fff:fef1:ac1b on usb0.*.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) starting connection 'USB Tethering'
May 20 10:51:21 mac NetworkManager[710]: <info> (usb0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) scheduled...
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) started...
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) scheduled...
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) complete.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) starting...
May 20 10:51:21 mac NetworkManager[710]: <info> (usb0): device state change: prepare -> config (reason 'none') [40 50 0]
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) successful.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) scheduled.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) complete.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) started...
May 20 10:51:21 mac NetworkManager[710]: <info> (usb0): device state change: config -> ip-config (reason 'none') [50 70 0]
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 20 10:51:21 mac NetworkManager[710]: <info> dhclient started with pid 5560
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Beginning IP6 addrconf.
May 20 10:51:21 mac avahi-daemon[721]: Withdrawing address record for fe80::e032:6fff:fef1:ac1b on usb0.
May 20 10:51:21 mac avahi-daemon[721]: Leaving mDNS multicast group on interface usb0.IPv6 with address fe80::e032:6fff:fef1:ac1b.
May 20 10:51:21 mac avahi-daemon[721]: Interface usb0.IPv6 no longer relevant for mDNS.
May 20 10:51:21 mac NetworkManager[710]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) complete.
May 20 10:51:21 mac dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
May 20 10:51:21 mac dhclient: Copyright 2004-2011 Internet Systems Consortium.
May 20 10:51:21 mac dhclient: All rights reserved.
May 20 10:51:21 mac dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 20 10:51:21 mac dhclient:
May 20 10:51:21 mac NetworkManager[710]: <info> (usb0): DHCPv4 state changed nbi -> preinit
May 20 10:51:21 mac dhclient: Listening on LPF/usb0/e2:32:6f:f1:ac:1b
May 20 10:51:21 mac dhclient: Sending on LPF/usb0/e2:32:6f:f1:ac:1b
May 20 10:51:21 mac dhclient: Sending on Socket/fallback
May 20 10:51:21 mac dhclient: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 3
May 20 10:51:22 mac avahi-daemon[721]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::e032:6fff:fef1:acb1.
May 20 10:51:22 mac avahi-daemon[721]: New relevant interface usb0.IPv6 for mDNS.
May 20 10:51:22 mac avahi-daemon[721]: Registering new address record for fe80::e032:6fff:fef1:ac1b on usb0.*.
May 20 10:51:24 mac dhclient: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 7
May 20 10:51:31 mac dhclient: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 8
May 20 10:51:31 mac kernel: [ 5538.048209] usb0: no IPv6 routers present
May 20 10:51:39 mac dhclient: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 15
May 20 10:51:41 mac NetworkManager[710]: <info> (usb0): IP6 addrconf timed out or failed.
May 20 10:51:41 mac NetworkManager[710]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 20 10:51:41 mac NetworkManager[710]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 20 10:51:41 mac NetworkManager[710]: <info> (usb0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
May 20 10:51:41 mac NetworkManager[710]: <info> Marking connection 'USB Tethering' invalid.
May 20 10:51:41 mac NetworkManager[710]: <warn> Activation (usb0) failed.
May 20 10:51:41 mac NetworkManager[710]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 20 10:51:41 mac NetworkManager[710]: <info> (usb0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 20 10:51:41 mac NetworkManager[710]: <info> (usb0): deactivating device (reason 'none') [0]
May 20 10:51:42 mac NetworkManager[710]: <info> (usb0): canceled DHCP transaction, DHCP client pid 5560
May 20 10:51:42 mac avahi-daemon[721]: Withdrawing address record for fe80::e032:6fff:fef1:ac1b on usb0.
May 20 10:51:42 mac avahi-daemon[721]: Leaving mDNS multicast group on interface usb0.IPv6 with address fe80::e032:6fff:fef1:ac1b.
May 20 10:51:42 mac avahi-daemon[721]: Interface usb0.IPv6 no longer relevant for mDNS.
May 20 10:51:43 mac avahi-daemon[721]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::e032:6fff:fef1:ac1b.
May 20 10:51:43 mac avahi-daemon[721]: New relevant interface usb0.IPv6 for mDNS.
May 20 10:51:43 mac avahi-daemon[721]: Registering new address record for fe80::e032:6fff:fef1:ac1b on usb0.*.

If any idea...