[Desire Android Development] tmwtp:
Hi all,

Ii have installed the kernel ihlades referred to and got mixed results.

Here are the logs of the USB tethering with the kernel suggested.

With Wifi it worked great and connected no problem:

D/Tethering( 164): Tethering usb0

D/Tethering( 164): InitialState.processMessage what=2

D/Tethering( 164): configureUsbIface(true)

D/CommandListener( 134): Setting iface cfg

D/CommandListener( 134): Trying to bring up usb0

D/CommandListener( 134): broadcast flag ignored

D/CommandListener( 134): multicast flag ignored

D/NetworkManagmentService( 164): rsp <213 9a:48:ca:a1:13:12 192.168.42.129 255.

255.255.0 [up broadcast running multicast]>

D/NetworkManagmentService( 164): flags <[up broadcast running multicast]>

D/Tethering( 164): sendTetherStateChangedBroadcast 0, 0, 0

D/Tethering( 164): enableUsbRndis(true)

As you can see the logcat was cut because the logcat disconnected in the second the tethering worked. Route was right and default GW was still my router since its the wireless DG.

As for 3G\HSDPA - Doesnt work for me:

D/Tethering( 164): Tethering usb0

D/Tethering( 164): InitialState.processMessage what=2

D/Tethering( 164): configureUsbIface(true)

E/Tethering( 164): Error listing Interfaces :java.lang.IllegalStateException: C

annot communicate with native daemon to list interfaces

D/Tethering( 164): configureUsbIface(false)

D/CommandListener( 134): Setting iface cfg

D/CommandListener( 134): Trying to bring down usb0

D/CommandListener( 134): broadcast flag ignored

D/CommandListener( 134): multicast flag ignored

D/Tethering( 164): sendTetherStateChangedBroadcast 0, 0, 1

D/NetworkManagmentService( 164): rsp <213 9a:48:ca:a1:13:12 192.168.42.129 255.

255.255.0 [down broadcast multicast]>

D/NetworkManagmentService( 164): flags <[down broadcast multicast]>

D/Tethering( 164): MasterInitialState.processMessage what=1

D/Tethering( 164): Tether Mode requested by usb0 - InitialState - Available - l

astError =10

D/NetworkManagmentService( 164): rsp <213 c6:cb:f1:cf:5f:ee 2.54.36.195 255.255

.255.248 [up broadcast running multicast]>

D/Tethering( 164): chooseUpstreamType(false), dunRequired =false, iface=rmnet0

D/Tethering( 164): checking if hipri brought us this connection

D/Tethering( 164): notifying tethered with iface =rmnet0

D/TetherController( 134): Setting IP forward enable = 1

D/TetherController( 134): Starting tethering services

D/NetworkManagmentService( 164): flags <[up broadcast running multicast]>

D/TetherController( 134): Tethering services running

D/TetherController( 134): setDnsForwarders(0 = '8.8.8.8')

D/TetherController( 134): setDnsForwarders(1 = '4.2.2.2')

D/TetherController( 134): Sending update msg to dnsmasq [update_dns:8.8.8.8:4.2

.2.2]

I/dnsmasq ( 1779): started, version 2.51 cachesize 150

I/dnsmasq ( 1779): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP

no-scripts no-TFTP

W/dnsmasq ( 1779): warning: no upstream servers configured

I/dnsmasq ( 1779): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h

I/dnsmasq ( 1779): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h

I/dnsmasq ( 1779): read /etc/hosts - 1 addresses

I/dnsmasq ( 1779): using nameserver 4.2.2.2#53

I/dnsmasq ( 1779): using nameserver 8.8.8.8#53

D/Tethering( 164): TetherModeAliveState.processMessage what=2

D/TetherController( 134): Stopping tethering services

I/dnsmasq ( 1779): exiting on receipt of SIGTERM

D/TetherController( 134): Tethering services stopped

D/TetherController( 134): Setting IP forward enable = 0

D/Tethering( 164): notifying tethered with iface =null

D/Tethering( 164): InitialState.processMessage what=12

Thanks :)