alex1491163117 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 0 forks source link

HTC Amaze appears to work but no AP is created (or client computers cannot "see" it) #1189

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
HTC Amaze

Android 2.3.4
HTC Sense 3.0
Software number: 1.36.531.5
Kernel 2.6.35.13-g19a3d1a htc-kernel@u18000-build-144 #1

wifi-tether 3.1 beta 6

What steps will reproduce the problem?
1. Start wifi tether
2. Tap to start tethering
3. Wait until the icon turns yellow 
4. Using PC running Win7 scan for AP

Expected: The "AndroidTether" AP should be found by the PC.

Actual:  The PC doesn't see the AP.

NOTES:  Using the exact steps on HTC incredible it works.  I noticed that on 
the HTC Amaze there are some missing options in wifi-tether settings.  For 
example on the HTC there is a setup method called "Softap (master)".  This 
option is not present on HTC Amaze.  Also, the option to hide the SSID is 
present on the HTC Incredible but is not there on the HTC Amaze.  And then 
there's the following line that I see in the output of a logcat:

"tiwlan0 is not a tetherable iface, ignoring"

Original issue reported on code.google.com by mamefan1...@gmail.com on 18 Oct 2011 at 4:06

GoogleCodeExporter commented 8 years ago
Hi! This HTC seems seems to have a texas-instruments wifi-chip built-it. So, 
there is currently no "device-profile" available which would work.

I will try to add one but I won't be able to test that at all (I don't own such 
a device) - so any help is appreciated.

Original comment by harald....@gmail.com on 19 Oct 2011 at 9:09

GoogleCodeExporter commented 8 years ago
Happy to help in any way I can.  Just let me know what you need.

Original comment by mamefan1...@gmail.com on 24 Oct 2011 at 11:23

GoogleCodeExporter commented 8 years ago
HTC Amaze

Android 2.3.4
HTC Sense 3.0
Software number:  1.36.531.6
Kernel 2.6.35.13-g19a3d1a htc-kernel@u18000-build-144 #1

I am experiencing the exact same issue as mamefan1.  I have noticed that when I 
first start Wi-Fi Tether, it will appear on an SSID scan list (on a computer or 
connected device), but only for a few seconds, then it's gone.
I would also be willing to help test this.  Thanks for working on it. Please 
let me know if I can help.

Original comment by jbrow...@gmail.com on 28 Oct 2011 at 11:49

GoogleCodeExporter commented 8 years ago
Please try the latest experimental version:
http://android-wifi-tether.googlecode.com/files/wifi_tether_v3_1-pre100.apk

I've created a profile for the amaze but I'm not able to test it.

Original comment by harald....@gmail.com on 2 Nov 2011 at 8:53

GoogleCodeExporter commented 8 years ago
Still not working, maybe T-mobile do something on the wifi tethering part.

Original comment by 6737...@gmail.com on 3 Nov 2011 at 5:00

GoogleCodeExporter commented 8 years ago
What exactly does not work? Any error-message in "show log"?

Original comment by harald....@gmail.com on 3 Nov 2011 at 9:09

GoogleCodeExporter commented 8 years ago
WiFi Tether log indicates:

"Starting hostapd...
failed"

Logcat shows:

E/hostapd (13032): 2 errors found in configuration file 
'/data/data/com.googlecode.android.wifi.tether/conf/hostapd.conf'

It starts and claims to be working but other devices still don't see the AP.  

Original comment by mamefan1...@gmail.com on 4 Nov 2011 at 2:57

GoogleCodeExporter commented 8 years ago
I can help too.. also have an amaze.  its bootloader unlocked and rooted 
running stock still.  If you need anything pulled let me know.  I know my way 
around adb and ddmt pretty well.

Original comment by Piercing...@gmail.com on 6 Nov 2011 at 7:30

GoogleCodeExporter commented 8 years ago
Could you please upload the generated hostapd.conf here?

/data/data/com.googlecode.android.wifi.tether/conf/hostapd.conf

Original comment by harald....@gmail.com on 7 Nov 2011 at 2:45

GoogleCodeExporter commented 8 years ago
accept_mac_file=/data/misc/wifi/hostapd.accept
logger_stdout_level=2
ap_table_max_size=255
logger_stdout=-1
wpa_group_rekey=0
ap_max_inactivity=60
deny_mac_file=/data/misc/wifi/hostapd.deny
ignore_broadcast_ssid=0
dtim_period=2
wme_enabled=0
ctrl_interface=/dev/socket
preamble=1
max_num_sta=8
beacon_int=100
hw_mode=g
ssid=AndroidTether
driver=wilink
ctrl_interface_group=wifi
wep_rekey_period=0
supported_rates=10 20 55 110 60 90 120 180 240 360 480 540
eap_server=0
ap_table_expiration_time=60
own_ip_addr=127.0.0.1
macaddr_acl=0
logger_syslog=-1
interface=tiap0
wpa_ptk_rekey=0
wpa_gmk_rekey=0
auth_algs=1
dump_file=/data/misc/wifi/hostapd.dump
channel=1
logger_syslog_level=2

Original comment by mamefan1...@gmail.com on 8 Nov 2011 at 3:17

GoogleCodeExporter commented 8 years ago
Getting the hostapd failed error here on Amaze 4G rooted, stock, using 
3.1-pre104

Original comment by matt.zav...@gmail.com on 23 Nov 2011 at 10:07

GoogleCodeExporter commented 8 years ago
Mmmh. To be honest ... I don't know what's going wrong here. Will check it - no 
promises.

Original comment by harald....@gmail.com on 23 Nov 2011 at 11:28

GoogleCodeExporter commented 8 years ago
3.1-pre105 same issue with hostapd failed.  Is the latest experimental code 
available via svn?  Was thinking of seeing if I could debug it on my phone. 
(already have eclipse, ADK, etc)

Original comment by matt.zav...@gmail.com on 24 Nov 2011 at 6:33

GoogleCodeExporter commented 8 years ago
@matt: no, the source-code of the 3.1 branch is not released (long story short: 
it sucks when test-/experimental-versions find its way to android market) - but 
if you are really interested in helping ... we will find "a way" you get it. 

I've uploaded a new test-version. Changed some parts in the 
hostapd-configuration. Not sure if that helps ...

Any kind of info might be helpful. If you can please provide logcat and/or 
dmesg output. Thanks.

Original comment by harald....@gmail.com on 24 Nov 2011 at 10:56

GoogleCodeExporter commented 8 years ago
Oh. The download link I forgot:
http://android-wifi-tether.googlecode.com/files/wifi_tether_v3_1-pre106.apk

Original comment by harald....@gmail.com on 24 Nov 2011 at 11:10

GoogleCodeExporter commented 8 years ago
Just tried the V3 1-pre106.apk.  When i choose "htc amaze" for device profile 
it turns on the stock mobile hotspot feature. meaning, i see the wifi tether 
icon in the notification bar and the mobile hotspot icon in the notification 
bar as well.  My computer can see the wifi now and connect to it but i dont 
have internet access.  Same with my tablet.  its getting closer!  What do you 
need to help you out with this?

Original comment by Piercing...@gmail.com on 27 Nov 2011 at 3:48

GoogleCodeExporter commented 8 years ago
v1_1-pre106 is working for me now with my Win7 laptop.  I enabled the "routing 
fix" in the settings to get it working.  Other than that, I left everything at 
defaults.

Original comment by mamefan1...@gmail.com on 28 Nov 2011 at 11:23

GoogleCodeExporter commented 8 years ago
106 works for me with the routing fix, and encryption enabled.

Original comment by matt.zav...@gmail.com on 30 Nov 2011 at 6:07

GoogleCodeExporter commented 8 years ago
I have the same version of the app installed on my htc amaze as 
Piercing..@gmail.com has and am also experiencing the same problem - any 
solution?

Original comment by bashiri....@gmail.com on 30 Nov 2011 at 5:07

GoogleCodeExporter commented 8 years ago
I have the same version of the app installed on my htc amaze as 
Piercing..@gmail.com has and am also experiencing the same problem - any 
solution?

Original comment by bashiri....@gmail.com on 30 Nov 2011 at 5:08

GoogleCodeExporter commented 8 years ago
FYI, after reading that the others were working with enabling routing fix i 
went back and tried again.  it is confirmed working properly now.  both on my 
galaxy tablet and my win7 pc i get perfect connection with no additional hacks 
needed! thanks!

Original comment by mr...@mrmom.co on 2 Dec 2011 at 1:46

GoogleCodeExporter commented 8 years ago
no go for me.  appears to work - the log looks good, but the wifi connection 
times out.  this is bad - my G1 still works fine as a wifi hotspot and doesn't 
generate a $15/month upcharge to T-mo.

Original comment by jonathan...@gmail.com on 16 Jan 2012 at 11:59