alex1491163117 / android-wifi-tether

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

Droid X Infrastructure Mode #455

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (manufacturer, type)?
Motorola, Droid X

Which firmware is installed?
Stock 2.1 rooted

What version of wireless tether are you using?
2.0.2 - market version - works

2.0.5 pre 2 - works

2.0.5 pre 3 - doesn't work 

What steps will reproduce the problem?
Droid X will only create a ad-hoc network

What is the expected output? What do you see instead?
Is it possible for the Droid X to create an infrastructure network, as the 
stock $20 per month "3G Mobile Hotspot" creates an Infrastructure mode network.

Please provide any additional information below.

Right now "Wireless Tether for Root Users 2.0.5-pre2" seems to be working fine 
on the Droid X except for not being able to create an Infrastructure mode 
network.

"Wireless Tether for Root Users 2.0.5-pre3" starts but a network never shows up 
on other devices.

Original issue reported on code.google.com by dylan...@gmail.com on 22 Jul 2010 at 4:49

GoogleCodeExporter commented 9 years ago
I have 2.0.2 as well on my Droid x. I will update to 2.0.5. I am very 
interested in seeing/testing out infrastructure mode.

Original comment by rsf...@gmail.com on 8 Aug 2010 at 6:38

GoogleCodeExporter commented 9 years ago
2.0.5 Pre 2 - works
Pre 7,6,4,3 - Do not work.

- Droid X

Original comment by rsf...@gmail.com on 8 Aug 2010 at 6:48

GoogleCodeExporter commented 9 years ago
Oh. Thanks for bringing up this issue. I've noticed the last days that newer 
don't work anymore on droid/droid x.

I will try to fix that ... 

Could you guys please test the versions I post here?

Regarding infrastructure/master-mode. Let's see what I can do but yeah ... 
first working ad-hoc mode. (Problem is ... we developers don't have such a 
device for testing which makes it really hard to develop). 

Original comment by harald....@gmail.com on 8 Aug 2010 at 6:48

GoogleCodeExporter commented 9 years ago
I can definitely post any versions on here. If you need some more in depth 
debugging stuff I'd have to get my win7 bootcamp working, but would be happy to 
help contribute in any way possible.

Original comment by rsf...@gmail.com on 8 Aug 2010 at 6:51

GoogleCodeExporter commented 9 years ago
Could you please try this version:
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre8-test1
.apk
(Uninstall old version first.)

If it doesn't work please let me know what the content of the file 
"/data/data/android.tether/conf/tether.conf" is.

Thanks.

Original comment by harald....@gmail.com on 8 Aug 2010 at 10:33

GoogleCodeExporter commented 9 years ago
It works for me with ad hoc mode.

Original comment by rsf...@gmail.com on 8 Aug 2010 at 11:19

GoogleCodeExporter commented 9 years ago
That release worked for me on my Droid X (2.1) but then ever version since pre2 
worked for me too, so I'm not sure why it didnt for other droidx users.

Now for some infrastructure action please? :)

I'll donate 20 bucks if it works. Or more.

Original comment by WACOM...@gmail.com on 10 Aug 2010 at 2:05

GoogleCodeExporter commented 9 years ago
Please note: Infrastructure/master-mode is only possible if the wifi-drivers 
supports this mode. Wireless tether supports currently the broadcom 
bcm4329-chipset (master mode). The droidx has a texas-instruments chip 
built-in. That's a complete different story. I don't have such a device for 
testing but here are my findings (based on system-dump):

1) Files in /system/etc/wifi:
fw_tiwlan_ap.bin, fw_wlan1271.bin, hostapd.conf.templet, tiwlan_ap.ini, 
tiwlan.ini, wpa_supplicant.conf
Compared to the droid there are some new files here. tiwlan_ap.ini, 
fw_tiwlan_ap.bin and hostapd.conf.templet

2) Kernel modules:
dummy.ko, modem_pm_driver.ko, netmux_linkdriver.ko, pcbc.ko, tiap_drv.ko, 
wl127x-test.ko, hid-dummy.ko, netmux.ko, output.ko, sec.ko, tiwlan_drv.ko
We already know tiwlan_drv.ko - that's the wifi-kernel-module. BUT ... 
tiap_drv.ko? That's again something I've never seen before.

3) How to setup - probably Hostapd?
In /system/bin there is a binary named "Hostapd". I would say this is used to 
"configure" or setup the wireless-interface.
http://en.wikipedia.org/wiki/Hostapd

Now ... what to do?

Please enable the official hotspot-feature and run "dmesg". Type "dmesg > 
/sdcard/output_dmesg.txt" in a terminal-emulator on your phone or when 
connected via adb. Upload this file here - we hopefully find some useful 
information.

Original comment by harald....@gmail.com on 10 Aug 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Oh and ... "dmesg > /sdcard/output_dmesg.txt" will produce a file named 
"output_dmesg.txt" on your sdcard.

Original comment by harald....@gmail.com on 10 Aug 2010 at 8:55

GoogleCodeExporter commented 9 years ago
Here is my dmesg output after enabling the 3G hotspot.

Original comment by rsf...@gmail.com on 10 Aug 2010 at 9:23

Attachments:

GoogleCodeExporter commented 9 years ago
I'd really like to see if this can be ganked onto the Droid 1, since it's 
basically the same chip. System dump for Droid 2 is here with Froyo drivers:

http://forum.xda-developers.com/showthread.php?t=752115

Original comment by bryan.y...@gmail.com on 13 Aug 2010 at 6:57

GoogleCodeExporter commented 9 years ago
I also have a Droid X and am more that happy to assist in testing. I can do 
whatever you like.

Original comment by chrishof...@gmail.com on 15 Aug 2010 at 5:37

GoogleCodeExporter commented 9 years ago
I would also like to help.  It appears that the froyo update for the Droid x 
has dropped compatibility with this wireless tether app.

Original comment by rquel...@gmail.com on 25 Aug 2010 at 2:43

GoogleCodeExporter commented 9 years ago
I'm running the leaked Droid X froyo update and my wifi tether app works, i'm 
using version 2.0.5 pre 2

Original comment by dylan...@gmail.com on 25 Aug 2010 at 3:13

GoogleCodeExporter commented 9 years ago
Running DroidX 2.1 : 2.0.2 (Market) and 2.0.5 pre2 works.  2.0.5 pre3+ does NOT 
work.

Running DroidX 2.2 : 2.0.2 (Market) works.  2.0.5 pre2 and 2.0.5pre5 do NOT 
work.

What can I do to help diagnose for you?

Original comment by jnov...@gmail.com on 25 Aug 2010 at 4:53

GoogleCodeExporter commented 9 years ago
If you want the latest one that works with the droidx, 
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre8-test1
.apk does for me on the leaked froyo.

Original comment by rsf...@gmail.com on 25 Aug 2010 at 4:57

GoogleCodeExporter commented 9 years ago
@jnovack: Could you please check if 2.0.5-pre8-test1 works for you?

Original comment by harald....@gmail.com on 25 Aug 2010 at 6:17

GoogleCodeExporter commented 9 years ago
Just updated from 2.0.5 pre2 to 2.0.5-pre8-test1 and it is working as well.

Original comment by dylan...@gmail.com on 25 Aug 2010 at 6:33

GoogleCodeExporter commented 9 years ago
Wow ... weird. I didn't change any droid-related stuff since -pre8-test1.

What I need to know the content of the generated config-file. Pull it from your 
phones via adb.

adb pull /data/data/android.tether/conf/tether.conf .

(This file is generated right after you press the start icon/button.)

Upload it here. And I need to know which Android-version (Eclair or Froyo) you 
are running on you phone.

It would be great if you could install the 2.0.5-pre8 and upload the 
tether.conf-file as well (so, I need it from 2.0.5-pre8-test1 and 2.0.5-pre8).

Thanks. 

Original comment by harald....@gmail.com on 25 Aug 2010 at 6:54

GoogleCodeExporter commented 9 years ago
I installed this on the DroidX and it connects to my MBP in adhoc mode but my 
mac does not get an ip address or any other tcp/ip configuration.  Do I need to 
set this manually or should there be DHCP from the device?

Original comment by adamjosh...@gmail.com on 1 Sep 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Hey guys,
It looks like wifi tether only supports ad-hoc mode on the Droid X, even though 
the Droid X technically has the hardware to support infrastructure mode (hence 
the 3G hotspot feature). I know wifi tether has already made an infrastructure 
mode version for the EVO. Is there any plan for the developers to focus on 
infrastructure mode for the Droid X now? This is especially useful for those 
who have corporate notebooks which disable connecting to ad-hoc networks.

Original comment by pau...@gmail.com on 1 Sep 2010 at 4:52

GoogleCodeExporter commented 9 years ago
@all: I still need a answer to my question (see comment #19).
@paulma: Problem is that we don't have a droid x available for testing (I'm 
from europe and this device is unavailable here).

Original comment by harald....@gmail.com on 1 Sep 2010 at 5:30

GoogleCodeExporter commented 9 years ago
I'm getting an error regarding access control. Attached is my tether.conf.

I will be happy to help test as needed. I love what this community is doing and 
giving back is the least I can do.

Original comment by rsf...@gmail.com on 1 Sep 2010 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago
Previous tether.conf was from the pre8-test1. I uninstalled the test1 and 
installed the pre8 from the downloads folder, but this time it showed up on my 
laptop and I was able to connect, but had no internet this time. I went back to 
pre8-test1 and I am still unable to get access to the internet, but it will 
connect to the phone. This tether.conf is from the pre8.

Original comment by rsf...@gmail.com on 1 Sep 2010 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
@rsfkyk: Thanks a lot. A bit weird is that both files are identical.
The config-file is generated when you start tethering via user-interface.

Mmmhh. Now both versions don't work anymore? You are able to "join" the 
adhoc-network but "no internet", right?
Are you able to ping the gateway (the phone) from a client-pc (or mac)?
ping 192.168.2.254

Original comment by harald....@gmail.com on 1 Sep 2010 at 6:22

GoogleCodeExporter commented 9 years ago
I am unable to ping the gateway(phone) from my mac. It does receive an IP 
through DHCP and the correct gateway though. And you are correct in your 
description of the situation.

Original comment by rsf...@gmail.com on 1 Sep 2010 at 8:17

GoogleCodeExporter commented 9 years ago
Okay, so the X is not available in Europe. What all is required to collaborate 
with someone in the US other than a lot of time? It sounds like we have a few 
people willing to help and many more that desire the feature, I would be happy 
to help!

Original comment by h...@howecadets.com on 17 Sep 2010 at 10:52

GoogleCodeExporter commented 9 years ago
Hi,
I'm running Droid X with the official Froyo 2.2 OTA upgrade. here's my 
tether.conf with version pre8.

Original comment by pau...@gmail.com on 23 Sep 2010 at 10:51

Attachments:

GoogleCodeExporter commented 9 years ago
paulma,   So I assume your rooted with the 2.2 OTA???  If so, how exactly did 
you root it?

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:01

GoogleCodeExporter commented 9 years ago
paulma,   So I assume your rooted with the 2.2 OTA???  If so, how exactly did 
you root it?

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:02

GoogleCodeExporter commented 9 years ago
The d2 root method works on 2.2 ota on droid x 

Original comment by WACOM...@gmail.com on 23 Sep 2010 at 5:04

GoogleCodeExporter commented 9 years ago
WACOmalt   can you please point me to this?

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:06

GoogleCodeExporter commented 9 years ago
does anyone know of a  "one-click" root method for 2.2 OTA yet??

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:07

GoogleCodeExporter commented 9 years ago
The d2 root method works on 2.2 ota on droid x 

Original comment by WACOM...@gmail.com on 23 Sep 2010 at 5:07

GoogleCodeExporter commented 9 years ago
There isn't a one click method for 2.2 yet  just google tutorial d2 root.

Original comment by WACOM...@gmail.com on 23 Sep 2010 at 5:10

GoogleCodeExporter commented 9 years ago
WACOmalt  are you running  a wifi tether app after you rooted via D2 
method...if so which one?

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:15

GoogleCodeExporter commented 9 years ago
http://www.droidforums.net/forum/droid-2-hacks/82060-tutorial-how-hack-your-droi
d-2-all-one-thread.html

this has all the instructions for D2, just follow the rooting part. The rest 
may not work on the X. and aparantly there is a one click method linked on that 
page :P

Original comment by WACOM...@gmail.com on 23 Sep 2010 at 5:15

GoogleCodeExporter commented 9 years ago
thanks!!    but I also would like to know     are you running  a wifi tether 
app after you rooted via D2 method...if so which one?

Original comment by hyperx2...@gmail.com on 23 Sep 2010 at 5:17

GoogleCodeExporter commented 9 years ago
I'm not on the ota, but I'm on flyx final with tranquility installed. I am 
using wifi tether, but infrastructure mode has never worked. Using pre 8 test 1

Original comment by WACOM...@gmail.com on 23 Sep 2010 at 5:23

GoogleCodeExporter commented 9 years ago
I've downloaded the OTA 2.2 and now Wireless Tether is not functioning 
correctly.  Anyone else having this issue? 

App throws an error when I turn on wifi.  My other devices can connect but no 
data transfer is being permitted.

Original comment by mike...@gmail.com on 24 Sep 2010 at 1:46

GoogleCodeExporter commented 9 years ago
That's just because you have access control on. Something in 2.2 messed up 
access control. If you turn off access control it shoukd work again.

Original comment by CFOgr...@gmail.com on 24 Sep 2010 at 1:51

GoogleCodeExporter commented 9 years ago
I am on OTA 2.2 and none of the versions are working... I tried 2.0.2, 2.0.5 
pre8 test, 2.0.2 pre8, and 2.0.2 pre9. I tried to configure as what all of you 
are saying, but it's not working.

Original comment by choirlov...@gmail.com on 24 Sep 2010 at 1:25

GoogleCodeExporter commented 9 years ago
I am also running the OTA 2.2, rooted using the DroidXRoot method. I have tried 
2.0.2 and all newer test versions. For each one I receive "Unable to start 
tethering. Please try again." 

Original comment by crcpe...@gmail.com on 24 Sep 2010 at 2:02

GoogleCodeExporter commented 9 years ago
I'm on Droid X Rooted with 2.2 OTA.  The current market version works fine for 
Ad-Hoc Wifi tethering without the Access Control list feature enabled.  Anyone 
that's having trouble, try disabling the Access Control feature until these 
fine developers get the issue resolved.  On a related note, does anyone feel 
like donating to get them a DroidX?  Correct me if I'm wrong, but that would be 
the way to really help speed up support for this phone.

Original comment by relic...@gmail.com on 25 Sep 2010 at 10:23

GoogleCodeExporter commented 9 years ago
I did disable access control, but it's still not working...

Original comment by choirlov...@gmail.com on 25 Sep 2010 at 5:43

GoogleCodeExporter commented 9 years ago
I have an evo, just installed the OTA, and the wifi tether doesn't work. I dont 
have any access controls. I've was running the latest 2_05 pre 9 .. It worked 
before the OTA, but doesn't work now. 

What do yall think ?

Original comment by BuyU...@gmail.com on 25 Sep 2010 at 8:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
if  it helps I used unrevoked 3.2.1 and unrevoked forever and installed the OTA

Original comment by BuyU...@gmail.com on 25 Sep 2010 at 9:04

GoogleCodeExporter commented 9 years ago
On my Droid X 2.2 re-rooted wireless tether doesn't work. Keeps giving "try 
again" error. Changing access makes no diff, nor does reinstalling. Any ideas?

Original comment by hondaman...@gmail.com on 26 Sep 2010 at 7:04

GoogleCodeExporter commented 9 years ago
Running Droid X 2.2 Froyo official OTA rooted with 2.0.5-pre9. wireless tether 
in ad-hoc works fine for me. Is there something I can do to further the cause?

Original comment by Brett.Sc...@gmail.com on 2 Oct 2010 at 4:41