[Android Software Development] padre629:
Hey friend, thanks, you've made a great work!!!!

Your tool is very useful to me BUT I want to share the internet connection from my phone (using the Mobile hotspot). I've activate that but the other devices don't have internet connection.

I found that the tool makes a fake wifi connection... ¿is this the culprit?

the phone ITSELF doesn't recognizes an internet connection at all, I think that is the reason, but I'm not sure.

Anyone? I hope you can answer me if I may to try another hotspot app.

Thanks :)

---------- Post added at 12:01 PM ---------- Previous post was at 11:46 AM ----------

OP, this is a little logcat when: running the reverse usb tethering and activating the wifi portable hotspot (I'm on CM10 JB HTC Sensation 4G):

D/Tethering( 456): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 456): InitialState.processMessage what=4
D/Tethering( 456): sendTetherStateChangedBroadcast 0, 0, 0
D/SoftapController( 123): Softap fwReload - Ok
D/SoftapController( 123): Softap startap - Ok
E/hostapd ( 3753): Configuration file: /data/misc/wifi/hostapd.conf
E/hostapd ( 3753): HT (IEEE 802.11n) in 11b mode is not allowed, disabling HT capabilites
D/Tethering( 456): sendTetherStateChangedBroadcast 1, 0, 0
W/hostapd ( 3753): wlan0: Could not connect to kernel driver
E/hostapd ( 3753): Using interface wlan0 with hwaddr d8:b3:77:74:1e:8a and ssid "Sagg629 \xe2\x80\x93 HTC Sensation 4G"
I/hostapd ( 3753): random: Only 19/20 bytes of strong random data available from /dev/random
I/hostapd ( 3753): random: Allow operation to proceed based on internal entropy
D/CommandListener( 123): Setting iface cfg
D/CommandListener( 123): Trying to bring up wlan0
D/Tethering( 456): Tethering wlan0
D/Tethering( 456): InitialState.processMessage what=2
D/Tethering( 456): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 456): Tethered wlan0
D/Tethering( 456): sendTetherStateChangedBroadcast 0, 1, 0
D/Tethering( 456): MasterInitialState.processMessage what=1
D/TetherController( 123): Setting IP forward enable = 1
D/TetherController( 123): Starting tethering services
D/TetherController( 123): Tethering services running
D/TetherController( 123): setDnsForwarders(0 = '8.8.8.8')
D/TetherController( 123): setDnsForwarders(1 = '8.8.4.4')
D/TetherController( 123): Sending update msg to dnsmasq [update_dns:8.8.8.8:8.8.4.4]
I/dnsmasq ( 3754): started, version 2.51 cachesize 150
I/dnsmasq ( 3754): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
W/dnsmasq ( 3754): warning: no upstream servers configured
I/dnsmasq ( 3754): DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
I/dnsmasq ( 3754): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
I/dnsmasq ( 3754): read /etc/hosts - 1 addresses
I/dnsmasq ( 3754): using nameserver 8.8.4.4#53
I/dnsmasq ( 3754): using nameserver 8.8.8.8#53
D/Tethering( 456): chooseUpstreamType(true), preferredApn =5, got type=-1
D/ConnectivityService( 456): startUsingNetworkFeature reconnecting to 0: enable HIPRI
D/Tethering( 456): notifying tethered with iface =null (en edge es rmnet0)
D/Tethering( 456): TetheredState.processMessage what=12
D/ConnectivityService( 456): ConnectivityChange for mobile_hipri: DISCONNECTED/FAILED
E/ConnectivityService( 456): Attempt to connect to mobile_hipri failed (dataEnabled).
D/dalvikvm( 643): GC_FOR_ALLOC freed 609K, 25% free 17416K/22936K, paused 79ms, total 85ms
D/dalvikvm( 539): GC_CONCURRENT freed 6913K, 63% free 4138K/11032K, paused 3ms+
6ms, total 47ms

This is the logcat part when a wifi-based devices connects to my network (LG C195)

I/hostapd ( 3753): wlan0: AP-STA-CONNECTED 00:aa:70:96:a7:ee
I/dnsmasq ( 3754): DHCPDISCOVER(wlan0) 00:aa:70:96:a7:ee
I/dnsmasq ( 3754): DHCPOFFER(wlan0) 192.168.43.4 00:aa:70:96:a7:ee
I/dnsmasq ( 3754): DHCPREQUEST(wlan0) 192.168.43.4 00:aa:70:96:a7:ee
I/dnsmasq ( 3754): DHCPACK(wlan0) 192.168.43.4 00:aa:70:96:a7:ee

Along the entire logcat periodically appears this: :confused:

D/Tethering( 456): TetherModeAliveState.processMessage what=4
D/ConnectivityService( 456): startUsingNetworkFeature reconnecting to 0: enable HIPRI

I believe that the phone by itself is unable to detect an available internet connection .... connection made only by/with the Usbtunnel app:

-------------

Anyway, the default portable hotspot is unable to share any internet connection with your mod.

Anyone with this?

Any help?

Thanks :)