sssemil / android-wifi-tether

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

4.2 GNEX OTA breaks Wifi Tether's ability to Configure and Start AP #1661

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which device (manufacturer, type)?
Samsung Galaxy Nexus (from Google Play; no carrier)

Which firmware is installed?
4.2

What version of wireless tether are you using?
3.2-beta2

What steps will reproduce the problem?
1. Install 4.2 OTA on unbranded GNEX
2. Click the tethering activation icon
3. Tethering starts "with errors" - specifically, log shows failures at the 
"Configuring AP" and "Starting AP" stages. All other launch stages succeed.

What is the expected output? What do you see instead?
I expect tethering to start without errors. I see errors that prevent any 
device from seeing or connecting to the wifi broadcast.

Please provide any additional information below.
Worked fine on 4.1.2

Original issue reported on code.google.com by adej...@gmail.com on 15 Nov 2012 at 9:58

Attachments:

GoogleCodeExporter commented 8 years ago
Hey Fabio,
I tried out your app on Sprint GNex 4.2.1, but it's unable to bypass the Sprint 
hotspot check.  I have attached an image of the error.  Thanks for developing; 
let us know if you have anymore updates!

Original comment by WhoSan...@gmail.com on 9 Mar 2013 at 9:22

Attachments:

GoogleCodeExporter commented 8 years ago
@ Fabio: That refund doesn't do me a lot of good if it takes more than 15m to 
download (bad service in my house today). I'm having the same problem as above: 
root or no, Sprint's anal-retentive checking disables it.

Original comment by longbot...@gmail.com on 9 Mar 2013 at 11:14

GoogleCodeExporter commented 8 years ago
@WhoSan In your case there is a block from your provider.
The application works when the operator allows and does not charge any costs 
because it uses NAT.
I am continuing development to find something that will work in all cases

@longbot your device has root permissions?

if you have further problems please contact me via email (present on Play 
Srore) and if I proceed with the refund.

Other users have downloaded the application, however, and are able to use it.

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 10 Mar 2013 at 1:43

GoogleCodeExporter commented 8 years ago
For those interested (Esp. Sprint users) Fabio's app works superbly. 
Until/unless WTFRU is patched, I'll be using that.

Original comment by longbot...@gmail.com on 11 Mar 2013 at 5:39

GoogleCodeExporter commented 8 years ago
thank you very much!

The new version 1.4 will be available in a few hours on Google Play

@WhoSan with this update solve your problem

thanks again

Original comment by fabio.gr...@gmail.com on 11 Mar 2013 at 5:43

GoogleCodeExporter commented 8 years ago
Fabio, Do you have a demo/trial version with some sort of download limit for 
people to test?

Thanks!

Original comment by derrick.simpson@gmail.com on 11 Mar 2013 at 6:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have not developed a trial version
But you can always download the full version, if you find errors we can cancel 
the order.

I suggest you wait for the update of Google Play and will appear as soon as you 
can download version 1.4.

The update should take place in a few hours (1 or more)

the link of the app is: 
https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter

Original comment by fabio.gr...@gmail.com on 11 Mar 2013 at 6:21

GoogleCodeExporter commented 8 years ago
@Fabio, just tried to use your 1.4 Wifi Tether Router app on a rooted 4.2.2 
GNex 4, and no dice. The WiFi router appears to initiate, but when I try to 
connect via laptop, it asks for a security key even though the AP is open. When 
I configure WPA2 on the router, I can't connect. The laptop just clocks for a 
long time trying to connect. Same behavior as if I used the native hotspot 
functionality. 

Original comment by austin.s...@gmail.com on 11 Mar 2013 at 7:34

GoogleCodeExporter commented 8 years ago
have you tried with another PC?
sometimes in computers is stored a profile wifi network and if you change key 
or settings need to remove it.

for information if you are prompted for a network key (wpa-psk) you must enter 
what appears in red on the application.

If you have other problems please contact me via email to you find on Google 
Play.

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 11 Mar 2013 at 7:49

GoogleCodeExporter commented 8 years ago
the problem may also be caused by radio interference or other WiFi stations 
transmitting on the same channel.

I'm implementing new features to customize the network name SSID network key 
and change the channel.

will be available in the next few days.

Original comment by fabio.gr...@gmail.com on 11 Mar 2013 at 7:55

GoogleCodeExporter commented 8 years ago
in a few hours will release version 1.5 with the following changes:

In mode "WiFi Tether Router" added ability to customize the Network Name SSID, 
Network Key and Channel

I remind you that it is important to try to change the channel when you have 
connection problems like: connection drops, slowly, you do not see the WiFi 
network, the connection is on hold and does not settle.

Original comment by fabio.gr...@gmail.com on 11 Mar 2013 at 11:10

GoogleCodeExporter commented 8 years ago
@ fabio, thanks for updates.  Unfortunately, I'm still having trouble with your 
app. The app is certainly broadcasting a signal and by-passing the native 
tether check, but I think the wifi password key is getting set wrong.  Attached 
are some screen shots with the app on android showing SSID and network key, and 
an attempt to connect with a mac using those parameters.  On the mac screen, 
you can see an 'invalid password' error on the bottom left even though the 
network keys match.  I tried connecting on a few different channels but that 
didn't make a difference.  Any ideas?  

Original comment by WhoSan...@gmail.com on 12 Mar 2013 at 12:12

Attachments:

GoogleCodeExporter commented 8 years ago
I'm working on, I'll know today or tomorrow

Thanks for your report

Original comment by fabio.gr...@gmail.com on 12 Mar 2013 at 7:20

GoogleCodeExporter commented 8 years ago
@WhoSan I released new version 1.6
that should solve your problem.

try updating and let me know if it works please

Original comment by fabio.gr...@gmail.com on 12 Mar 2013 at 10:25

GoogleCodeExporter commented 8 years ago
@Fabio Thanks!  your new version 1.6 is up and running on 4.2.1 gnex sprint!  
Thanks for the quick replies and updates!

Original comment by WhoSan...@gmail.com on 12 Mar 2013 at 1:39

GoogleCodeExporter commented 8 years ago
thank you for having communicated the problems!

I'm happy that it now works well

Original comment by fabio.gr...@gmail.com on 12 Mar 2013 at 5:30

GoogleCodeExporter commented 8 years ago
hey fabio,  I am running nexus 4.2 offcontract with tmobile.  The tether works 
but it does not bypass tmobile check it seems.  I hve it rooted but no luck.

Original comment by amano...@fiu.edu on 15 Mar 2013 at 10:44

GoogleCodeExporter commented 8 years ago
Hello,

ROM that you use?
use the 3G or 4G network?

some users encountered difficulties because of the ROM.

You see a mistake?

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 15 Mar 2013 at 11:42

GoogleCodeExporter commented 8 years ago
Fabio, I tried your app and for once my phone was broadcasting properly but I 
was running into the same problems as whosan saying that my network key was 
invalid and it definitely was not. Galaxy nexus toro 4.2.1 running aokp 
mr1-build3

Original comment by Dynoh...@gmail.com on 16 Mar 2013 at 3:59

GoogleCodeExporter commented 8 years ago
strange, I solved that problem for a few days.

Have you tried to connect with another device? pc / tables or something?

you tried to set the type of open network from the settings?

finally try to uninstall the application, restart your phone and reinstall the 
application.

If you still have trouble you can contact me via email (find it on Google Play)

All other users can contact me via email because I read it more often

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 16 Mar 2013 at 9:23

GoogleCodeExporter commented 8 years ago
Hello, 

I have released new version 2.3

Original comment by fabio.gr...@gmail.com on 16 Mar 2013 at 1:29

GoogleCodeExporter commented 8 years ago
The update seems to have fixed it! Quick updates for a working app, you have my 
$2

Original comment by Dynoh...@gmail.com on 16 Mar 2013 at 4:57

GoogleCodeExporter commented 8 years ago
good :)

Thank you all for reporting problems

Have a nice evening
Fabio

Original comment by fabio.gr...@gmail.com on 16 Mar 2013 at 5:18

GoogleCodeExporter commented 8 years ago
I'm a bit behind on this... Fabio does your app work on Verizon?

Original comment by dme...@gmail.com on 16 Mar 2013 at 7:08

GoogleCodeExporter commented 8 years ago
i payed for it but stops working after 2 or 3 min
i have a gnex sprint stock rooted 4.2.1 what can i do?  i can connect to the 
wifi  but internet stops like i sai after 2 or 3 min but wifi is still up

Original comment by avguyro...@gmail.com on 17 Mar 2013 at 7:24

GoogleCodeExporter commented 8 years ago
Hello,

I have already replied to the email you sent me :)

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 17 Mar 2013 at 10:25

GoogleCodeExporter commented 8 years ago
Fabio's Tether worked with mine, so I finally found something that works. 
Running CM 10.1, 4.2.2 on Galaxy Nexus, Verizon. Yes I had to pay a $1 and a 
half, but at least its operational here.. SO far hooked into my Tablet (rooted 
Nook) and worked fine, will try others later...

Original comment by badger1...@gmail.com on 19 Mar 2013 at 4:42

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for your comment, I'm glad to have solved the problem of many

Original comment by fabio.gr...@gmail.com on 19 Mar 2013 at 6:46

GoogleCodeExporter commented 8 years ago
@fabio

does this work on s3 tmobile cm 10.1?

Original comment by JoceJ...@gmail.com on 20 Mar 2013 at 10:33

GoogleCodeExporter commented 8 years ago
Yes,
in a few tmobile has managed to block the Tether in others.

You can install the application and in case of problems contact me via email 
(found in Google Play)
for help or refund

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 20 Mar 2013 at 1:23

GoogleCodeExporter commented 8 years ago
I was having a similar problem on 4.2.2 on my Galaxy S3 on Verizon when I 
connect my laptop to the hotspot my data would drop then come back and 
everytime I load a page it does the same thing.  Recently I updated my modem 
and it works perfectly, strange...

Original comment by Barnwe...@gmail.com on 20 Mar 2013 at 6:04

GoogleCodeExporter commented 8 years ago
@fabio

will this work with a vpn? only way to get on my ps3 :-P 
last one, i promise

Original comment by JoceJ...@gmail.com on 20 Mar 2013 at 9:08

GoogleCodeExporter commented 8 years ago
I tried to connect my PC vpn and I have not encountered problems.

If something does not work let me know so control

Original comment by fabio.gr...@gmail.com on 20 Mar 2013 at 9:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This program did not work for me.

Verizon GNEX

AOKP MR Build 5

Original comment by crappysp...@gmail.com on 21 Mar 2013 at 12:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello,

Verizon GNEX with other users using the application.
you have root permissions?

Contact me via email so we try to solve the problem

Could be a problem of the rom AOKP MR Build 5that uses

thanks
Fabio

Original comment by fabio.gr...@gmail.com on 21 Mar 2013 at 12:58

GoogleCodeExporter commented 8 years ago
@crappy

Try updating your modem

Original comment by Barnwe...@gmail.com on 21 Mar 2013 at 5:42

GoogleCodeExporter commented 8 years ago
It seems that solved by setting the Encryption since the last update.

I asked you to leave feedback but did not do it: (

Original comment by fabio.gr...@gmail.com on 21 Mar 2013 at 5:44

GoogleCodeExporter commented 8 years ago
Guys, I'm working on the application, I'm implementing the list of connected 
clients
and the ability to set a white list and a black list for the Mac Address

Original comment by fabio.gr...@gmail.com on 21 Mar 2013 at 6:04

GoogleCodeExporter commented 8 years ago
I've tried using WiFi Tether Router with different combination of settings, but 
none of the computers can see the wireless AP.  There only error I got was it 
couldn't Auto-detect interface, so I used each available options with no 
success.  If I use the native wireless tether, I can see and connect to the 
wireless AP, but I have no internet access on the pc.

Verizon S3 with Paranoid Android 3.10 Build 2013Mar21 using 4.2.2

Original comment by bryancwa...@gmail.com on 23 Mar 2013 at 7:28

GoogleCodeExporter commented 8 years ago
@Bryan
Have you flashed the latest modem?

Original comment by Barnwe...@gmail.com on 23 Mar 2013 at 8:00

GoogleCodeExporter commented 8 years ago
Can you please explain "Have you flashed the latest modem" or tell me how to do 
this?  Thanks in advance.

Original comment by bryancwa...@gmail.com on 23 Mar 2013 at 8:14

GoogleCodeExporter commented 8 years ago
Now not to be a jerk, but I can't imagine the developers of Wifi tether or the 
people subscribing to this issues looking for an update to wifi tether 
appreciate it being used as a trouble shooting page for a completely different 
software package. 

Original comment by cmgr...@gmail.com on 23 Mar 2013 at 8:52

GoogleCodeExporter commented 8 years ago
@bryancwa you can contact me on the email that you find on Google Play? so we 
try to understand your problem and solve it in the case

@cmgr sorry I do not understand your problem...

Original comment by fabio.gr...@gmail.com on 23 Mar 2013 at 9:07

GoogleCodeExporter commented 8 years ago
@bryan

http://rootzwiki.com/topic/34053-modems-vrbmb1-verizon-sgs3-sch-i535-recovery-fl
ashable/

Download the latest and flash it via recovery, its the firmware for the radios 
pulled from the latest samsung leak.  It fixed the hopspot for me, now I just 
use the Wifi Tether app.

Original comment by Barnwe...@gmail.com on 24 Mar 2013 at 11:59

GoogleCodeExporter commented 8 years ago
My diff to the current version to make it work:

diff --git a/res/raw/tether_edify b/res/raw/tether_edify
index b58f56c..88fdb62 100644
--- a/res/raw/tether_edify
+++ b/res/raw/tether_edify
@@ -118,10 +118,10 @@ action() == "start" && (
          log(netd_cmd("softap fwreload "+getcfg("wifi.interface")+" AP"),"Reloading firmware");
          log(netd_cmd("softap start "+getcfg("wifi.interface")), "Starting AP interface");
          ifelse((getcfg("netd.maxclientcmd") == "true"),(
-         log(netd_cmd("softap set "+getcfg("wifi.interface")+" 
"+getcfg("tether.interface")+" "+getcfg("wifi.essid")+" 
"+getcfg("wifi.encryption")+" "+getcfg("wifi.encryption.key")+" 
"+getcfg("wifi.channel")+" 25 0 8"), "Configuring AP with MaxClient Mode");
+         log(netd_cmd("softap set "+getcfg("wifi.interface")+" 
"+getcfg("wifi.essid")+" "+getcfg("wifi.encryption")+" 
"+getcfg("wifi.encryption.key")+" "+getcfg("wifi.channel")+" 25 0 8"), 
"Configuring AP with MaxClient Mode");
          ),
          (
-         log(netd_cmd("softap set "+getcfg("wifi.interface")+" 
"+getcfg("tether.interface")+" "+getcfg("wifi.essid")+" 
"+getcfg("wifi.encryption")+" "+getcfg("wifi.encryption.key")+" 
"+getcfg("wifi.channel")+" 0 8"), "Configuring AP");
+         log(netd_cmd("softap set "+getcfg("wifi.interface")+" 
"+getcfg("wifi.essid")+" "+getcfg("wifi.encryption")+" 
"+getcfg("wifi.encryption.key")+" "+getcfg("wifi.channel")+" 0 8"), 
"Configuring AP");
          ));
          log(netd_cmd("softap startap "+getcfg("tether.interface")), "Starting AP");
          sleep("3");
@@ -153,11 +153,11 @@ action() == "start" && (
          # ndc set ssid/securitytype/psk/channel/maxclient/hiddenssid/macaddrAcl
          ifelse((getcfg("netd.maxclientcmd") == "true"),(
                # log("Using ndc with ssid/securitytype/psk/channel/maxclient/hiddenssid/macaddrAcl");
-               log(run_program("/system/bin/ndc softap set 
"+getcfg("wifi.interface")+" "+getcfg("tether.interface")+" 
"+getcfg("wifi.essid")+" "+getcfg("wifi.encryption")+" 
"+getcfg("wifi.encryption.key")+" "+getcfg("wifi.channel")+" 25 0 8"), 
"Configuring AP with Maxclient");
+               log(run_program("/system/bin/ndc softap set 
"+getcfg("wifi.interface")+" "+getcfg("wifi.essid")+" 
"+getcfg("wifi.encryption")+" "+getcfg("wifi.encryption.key")+" 
"+getcfg("wifi.channel")+" 25 0 8"), "Configuring AP with Maxclient");
          ),
          (
                # log("Using ndc with ssid/securitytype/psk/channel/hiddenssid/macaddrAcl");
-               log(run_program("/system/bin/ndc softap set 
"+getcfg("wifi.interface")+" "+getcfg("tether.interface")+" 
"+getcfg("wifi.essid")+" "+getcfg("wifi.encryption")+" 
"+getcfg("wifi.encryption.key")+" "+getcfg("wifi.channel")+" 0 8"), 
"Configuring AP");
+               log(run_program("/system/bin/ndc softap set 
"+getcfg("wifi.interface")+" "+getcfg("wifi.essid")+" 
"+getcfg("wifi.encryption")+" "+getcfg("wifi.encryption.key")+" 
"+getcfg("wifi.channel")+" 0 8"), "Configuring AP");
          ));

          log(run_program("/system/bin/ndc softap startap"), "Starting AP");
@@ -510,4 +510,4 @@ action() == "restartsecwifi" && (
 #
 # Update log-file permission
 #
-run_program("/system/bin/chmod 666 
/data/data/com.googlecode.android.wifi.tether/var/tether.log");
\ No newline at end of file
+run_program("/system/bin/chmod 666 
/data/data/com.googlecode.android.wifi.tether/var/tether.log");
diff --git a/src/com/googlecode/android/wifi/tether/TetherApplication.java 
b/src/com/googlecode/android/wifi/tether/TetherApplication.java
index 0a72fda..585a060 100644
--- a/src/com/googlecode/android/wifi/tether/TetherApplication.java
+++ b/src/com/googlecode/android/wifi/tether/TetherApplication.java
@@ -237,7 +237,7 @@ public class TetherApplication extends Application {
         String wepkey = this.settings.getString("passphrasepref", DEFAULT_PASSPHRASE);
         String wepsetupMethod = this.settings.getString("encsetuppref", DEFAULT_ENCSETUP);
         String channel = this.settings.getString("channelpref", "1");
-        boolean mssclampingEnabled = 
this.settings.getBoolean("mssclampingpref", true);
+        boolean mssclampingEnabled = coretask.isMSSClampingSupported() ? 
this.settings.getBoolean("mssclampingpref", true) : false;
         boolean routefixEnabled = this.settings.getBoolean("routefixpref", true);
         String primaryDns = this.settings.getString("dnsprimarypref", "8.8.8.8");
         String secondaryDns = this.settings.getString("dnssecondarypref", "8.8.4.4");

Original comment by pfngu...@gmail.com on 26 Mar 2013 at 6:58

GoogleCodeExporter commented 8 years ago
So when that is merged in the app should work?

Original comment by Barnwe...@gmail.com on 26 Mar 2013 at 7:48

GoogleCodeExporter commented 8 years ago
Yes, when merged and rebuilt with the above patch, the app works (this
is specifically for 4.2.2, and not generic across all versions).

Original comment by pfngu...@gmail.com on 26 Mar 2013 at 8:18