rajan72 / android-wifi-tether

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

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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 9 years ago
Awesome!

Original comment by Barnwe...@gmail.com on 26 Mar 2013 at 8:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
a good app to use to look for WORKING and FREE "wifi tether router" software 
for the Galaxy Nexus on Sprint with Jellybean 4.2.1 might be APTOIDE... Just 
saying. Probably a good place to look. Keep it OPEN SOURCE baby! Thank you to 
ALL of you who worked hard to find a solution so that we all, to quote the 
movie, Hackers, "never again have to pay for a service that would be dirt 
cheap... IF it weren't run by a bunch of profiteering gluttons! Remember, 
hacking is more than just a crime. It's a survival trait!" Ciao!

Original comment by gnexow...@gmail.com on 27 Mar 2013 at 8:13

GoogleCodeExporter commented 9 years ago
I'm taking care to denounce those who have published my application because it 
was cracked.

Aptoide is illegal to download!

Original comment by fabio.gr...@gmail.com on 27 Mar 2013 at 8:34

GoogleCodeExporter commented 9 years ago
@pfngu
A thousand thanks!
I have just tried your changes and now the Wifi tethering works perfectly on my 
Galaxy Nexus GSM running 4.2.2.

Original comment by rcorrei...@gmail.com on 27 Mar 2013 at 10:54

GoogleCodeExporter commented 9 years ago
Having the same issue on Verizon Galaxy Nexus on Android 4.2.2 with SuperSU

Using

Profile: Samsung Galaxy Nexus (CDMA/LTE)
Setup Method: Auto

Yields the "Configuring AP" error

Using

Profile: Samsung Galaxy Nexus (CDMA/LTE)
Setup Method: Netd (master)

Starts successfully; but I cannot see the SSID 

Original comment by paintbal...@gmail.com on 27 Mar 2013 at 5:23

GoogleCodeExporter commented 9 years ago
Is it possible to put together an apk with the code changes for easy
distribution?

Original comment by austin.s...@gmail.com on 27 Mar 2013 at 5:35

GoogleCodeExporter commented 9 years ago
I second this. I'd be willing (happy even!) to test it in my configuration, but 
I'm not a programer.

Original comment by longbot...@gmail.com on 27 Mar 2013 at 5:53

GoogleCodeExporter commented 9 years ago
http://socal.hanhuy.com/~pfnguyen/wifi-tether-gnex-4.2.2.apk

If you guys are willing to trust me, I have my own build of wifi-tether posted 
at the link above; it is signed using my debug key, so you will need to 
uninstall any existing version of wifi tether you may have.

FYI, my patch is not a general-purpose solution, as it will break on prior 
versions of android (it is specifically tailored to 4.2); although it also 
fixes the mssclamping error at the same time.

Original comment by pfngu...@gmail.com on 27 Mar 2013 at 6:02

GoogleCodeExporter commented 9 years ago
Awesome, you can track my internet for all I care. I just need it to work.

Original comment by austin.s...@gmail.com on 27 Mar 2013 at 6:04

GoogleCodeExporter commented 9 years ago
I will give it a shot and report back once I get home this evening.

Original comment by longbot...@gmail.com on 27 Mar 2013 at 6:06

GoogleCodeExporter commented 9 years ago
What do I need to do to get this working on my gnex 4.2.2.

Original comment by jesseco...@gmail.com on 27 Mar 2013 at 6:20

GoogleCodeExporter commented 9 years ago
how do you install a .man?

Original comment by Barnwe...@gmail.com on 27 Mar 2013 at 6:24

GoogleCodeExporter commented 9 years ago
Nvm must've hit the wrong link or something, downloaded fine on my computer

Original comment by Barnwe...@gmail.com on 27 Mar 2013 at 6:35

GoogleCodeExporter commented 9 years ago
Hi Pfn*,

Great job there! I tried both the patch and the .apk (to download from gnex, 
just don't use the final part of the link and it will allow you to click and 
save it from the screen) and both work fine. 

There was one nit that may be my fault, which was that DNS came out on some 
other subnet (a private one, like 192.x.x.x) by mistake, but I just completely 
wiped out any prior connects and it works now. I plugged in 8.8.8.8 manually 
and it is still the best wifi tether by a long shot.

Thanks very much-

Original comment by mickey.s...@gmail.com on 27 Mar 2013 at 7:01

GoogleCodeExporter commented 9 years ago
The apk simply incorporates my patch.

Original comment by pfngu...@gmail.com on 27 Mar 2013 at 7:52

GoogleCodeExporter commented 9 years ago
Yes, I understood that. I've had a few glitchy DHCP run-ins where the DNS isn't 
returned from wifi-tether, so I'm wondering if you've seen that as well. It 
could well be my client devices.

For example, if you tell whatever client you use to 'forget the connection' 
(wipe it out one way or another), and then tell it to go grab it when it 
notices the 'router' next, then does it return the proper DNS along with the 
DHCP request?

Thanks much. A terrific job for us 4.2.2'rs.

Original comment by mickey.s...@gmail.com on 27 Mar 2013 at 8:00

GoogleCodeExporter commented 9 years ago
I can confirm the apk on #109 does work on a T-Mobile GNex 4 4.2.2 with the
CM 10.1 rom. You need to use the Samsung Galaxy Nexus GSM profile, with the
netd-ndc setup method. I also have WPA2 enabled.

Now if I can just get past the pesky tmobile hotspot sites. Guess I'm stuck
using a VPN.

Original comment by austin.s...@gmail.com on 27 Mar 2013 at 9:02

GoogleCodeExporter commented 9 years ago
pfngu's patch fixed the problem and my laptop has no problem connecting.

Unfortunately the main reason I use tether (my Vita) does not work.  I can see 
the network, I can connect to it, but I can't connect out to anything (PS Store 
or anything in the browser). =[

Original comment by lang...@gmail.com on 28 Mar 2013 at 2:18

GoogleCodeExporter commented 9 years ago
I can verify that pfngu's patched app worked out the problems for me on a 
galaxy nexus running 4.2.1.
I wanted to use the WiFi Tether program because the stock, normal tether 
operates on an unchangeable frequency (channel 6) that many MacBook pros have a 
problem connecting with (this is a famous, long-standing problem).
My problems were the same as above - the tether (as run by the app) would 
connect but it any attempt to go anywhere on the internet would time out. Using 
Wifi Tether app would also "break" the normal tether functionality (the one 
found in network prefs of course) until I restarted the phone - that bug alone 
was quite interesting.
Now all seems to be fine for now. Great work pfngu and thanks for sharing the 
app! I am now tethering on Channel 1.
Now lets see if this patch continues to work into future system versions!

Original comment by bar...@gmail.com on 28 Mar 2013 at 9:48

GoogleCodeExporter commented 9 years ago
just tried the new apk with changes, and everything works just like it used to! 
Thanks for the patch pfngu

Original comment by leo.swa...@gmail.com on 28 Mar 2013 at 1:11

GoogleCodeExporter commented 9 years ago
+1 for pfn and putting out the .apk in #109. 

got me working again after the 4.2.2 update. (verizon GNEX) 

thanks for your time and willingness to share! 

Original comment by daveja...@gmail.com on 28 Mar 2013 at 6:55

GoogleCodeExporter commented 9 years ago
Apk in 109 no go

Not working on Sprint 4.2.2. Starts with no errors, but neither of my
tables nor my PC can see network. Native tethering works, but I like
additional options available in WiFi tether.

Original comment by jrot...@gmail.com on 28 Mar 2013 at 7:48

GoogleCodeExporter commented 9 years ago
No go for me on my GNex Sprint rooted stock 4.2.2. If I play with the options, 
I can get it to fail with errors (see attached) but otherwise it starts without 
error, but doesn't broadcast an SSID and I can't connect to it at all.

Original comment by longbot...@gmail.com on 28 Mar 2013 at 10:55

Attachments:

GoogleCodeExporter commented 9 years ago
Make sure you uninstall the previous version of wifi tether before installing 
this one. Also, turn off the 'native tethering' option in the settings of the 
app.

Original comment by leo.swa...@gmail.com on 29 Mar 2013 at 1:59

GoogleCodeExporter commented 9 years ago
Did both of those.

Original comment by longbot...@gmail.com on 29 Mar 2013 at 3:09

GoogleCodeExporter commented 9 years ago
Weird for me - I tried the modified apk as well. I can now get wifi tether to 
start up without errors in the log file, and I can connect to the tether ssid 
with an older windows xp laptop it works great. I can navigate the internet 
fine and speedtest.net tests show great performance. I also tried a newer 
Windows7 laptop and it works equally as well. BUT, if I connect to the very 
same ssid that is working great on the laptops with my desktop Windows7 machine 
(the same desktop machine I've used up till last week before my 4.2.2 phone 
upgrade which hosed everything) I get SSSSLLLLOOOOOOWWWWWWW communication and 
most web page requests will just time out and throw an error. Now, I can switch 
right back over to my home internet wireless router ssid and the desktop 
machine flies and works as it should, but switch to the tether ssid and its 
back to the incredibly slow communication. Meanwhile laptops can still operate 
fine and fast. I tried everything incliding removing the dang wireless adapater 
on the desktop and reinstalling it to try and correct the damn desktop 
machine,, no dice,, just continues to act the same way. I wonder what is so 
weird about this tether connection that the desktop doesn’t like but the 
laptops are fine with??? its driving me nuts. lol

Original comment by sodh...@gmail.com on 29 Mar 2013 at 5:20

GoogleCodeExporter commented 9 years ago
ok update to #127 - I just tried a USB wifi adapater in the troublesome desktop 
machine, and it works with wifi tether just fine that way. nice and fast. So my 
issue is obviously something with my desktop's internal wifi card, although I 
have no idea what it is. Oh well, I'm calling the patched tether apk as 
"working good". Thanks a ton pfngu! much appreciated!   

Original comment by sodh...@gmail.com on 30 Mar 2013 at 8:10

GoogleCodeExporter commented 9 years ago
#109  pfngu...@gmail.com Thanks for the patch, works great with with muzzy 
JDQ39.

Original comment by pud...@gmail.com on 3 Apr 2013 at 6:36

GoogleCodeExporter commented 9 years ago
Works like a godsent.  I bought a tablet a few weeks ago and have been looking 
for something that would allow me to tether.  Thanks folks.

Original comment by icanr...@gmail.com on 3 Apr 2013 at 7:38

GoogleCodeExporter commented 9 years ago
what settings are people using on pfngu apk to get tetherinf working?  routing 
fix? setup methos? wifi driver reload?

Original comment by Drew.M.C...@gmail.com on 4 Apr 2013 at 5:48

GoogleCodeExporter commented 9 years ago
Response to #131 - mine is a Samsung Galaxy Nexus running 4.2.2 - Device 
Profile: Samsung Gnex cdma/lte, Setup Method: auto, Channel: 6, Driver Reload: 
checked, Enable access control: checked, Routing fix: unchecked. I think 
everything else is set at whatever their default values were. 

Original comment by sodh...@gmail.com on 4 Apr 2013 at 11:52

GoogleCodeExporter commented 9 years ago
for anyone who's got the Sprint model (toroplus) and is having issues - the 
following settings worked for me:

Device profile: Samsung Galaxy Nexus (CDMA/LTE)
WiFi-driver reload: checked

even though the gnex CDMA/LTE device profile option is for toro, yet the Sprint 
model is toroplus, tethering seems to work after enabling the driver reload 
option.

Original comment by var...@gmail.com on 4 Apr 2013 at 3:11

GoogleCodeExporter commented 9 years ago
@109
I installed this apk on my Samsung Epic 4G Touch running 4.2.1 and I can get it 
working as long as encryption is off. If i turn encryption on I am not able to 
connect. I triple checked my key values to make sure that I should be able to 
connect!

I had to play with the settings a little tho. Unlike what others have said, my 
settings were as follows:

Device profile: Samsung Galaxy Nexus (CDMA/LTE)
Setup method: auto

WiFi-driver reload: NOT checked

I'll get online tonight and build my own apk with your differences to see if it 
works, then try to track down why encryption is failing. I'll probably stick 
with this for now, as my device vibrates when people connect i can go into the 
access control and hopefully give them the boot!

Original comment by adam.moh...@gmail.com on 4 Apr 2013 at 5:11

GoogleCodeExporter commented 9 years ago
it appears however that after running for 30 minutes or so tethering stops and 
my wifi adapter goes active. 
still a bit buggy i suppose

Original comment by adam.moh...@gmail.com on 4 Apr 2013 at 6:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
For the guy who posted about it downloading as a .man (seems like he deleted 
the post), that happened to me too I just downloaded it again.

Original comment by Barnwe...@gmail.com on 10 Apr 2013 at 7:16

GoogleCodeExporter commented 9 years ago
To the man that successful modified the apk to work properly for 4.2.2, please 
check your Google+ page for a message regarding another thing I wonder if you 
could look into.

Original comment by TMFG...@gmail.com on 14 Apr 2013 at 6:17

GoogleCodeExporter commented 9 years ago
#98 / #109 fixed the issue for me. Thanks. Please merge into the master 
repository!

Original comment by cjke...@gmail.com on 14 Apr 2013 at 6:12

GoogleCodeExporter commented 9 years ago
Hey guys I have a Verizon GNex running 4.2.2 CM10.1.  Here are the settings 
that I changed to get mine working with the apk from post #109.

Device Profile: Samsung GNex Vzn
Setup Method: Auto
Fallback Tether: checked
Driver Reload (1): checked
Routing Fix: checked

Everything else default.

Original comment by farle...@gmail.com on 18 Apr 2013 at 3:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have a rooted Verizon GNex running 4.2.2 AOKP MR1 Build 6, and I can't get 
anything to work for me, even with the updated apk. (I can't even get the 
built-in tethering to work.) Periodically, with some settings (I can't remember 
which), I can see the network and connect with my computer, but any page I try 
to load just times out. I'm trying to connect with a MacBook Pro 2,1 running 
10.6.8. I feel that I've tried every conceivable combination of setup mode, 
encryption on/off, driver reload on/off, routing fix on/off, etc. I appreciate 
the work by poster of #109, but it seems to me it still doesn't address all the 
issues. If I'm missing something, please fill me in. Thanks, everybody!

Original comment by nickmurp...@gmail.com on 19 Apr 2013 at 3:26

GoogleCodeExporter commented 9 years ago
soo is this going to get fixed anytime?

Original comment by Capt.Stu...@gmail.com on 22 Apr 2013 at 7:01

GoogleCodeExporter commented 9 years ago
Work on Galaxy S4 (AT&T) also.

Original comment by vntuan on 28 Apr 2013 at 2:32

GoogleCodeExporter commented 9 years ago
Verizon GNex running 4.2.2 CM10.1 Nightly. Switched to apk from post 109, works 
great. Thank you so much!

Original comment by beard.j...@gmail.com on 30 Apr 2013 at 12:21

GoogleCodeExporter commented 9 years ago
Same for me, I had tethering problems (could gonnect and get IP, but no 
internet access). I installed apk from post 109, now works perfectly. I'm in 
France, carrier Orange. Thanks!

Original comment by julien....@gmail.com on 1 May 2013 at 10:04

GoogleCodeExporter commented 9 years ago
PS: Galaxy SII + cyanogenmod 10.1

Original comment by julien....@gmail.com on 1 May 2013 at 10:05

GoogleCodeExporter commented 9 years ago
#109 works with default settings, thanks

Verizon GNex - AOKP MR1 - 4.2.2

Original comment by jeff....@gmail.com on 3 May 2013 at 7:36

GoogleCodeExporter commented 9 years ago
Fabio's application fixed problem for me. Sprint/nexus/AOKP. Jellybean.I was 
getting the config AP error. This app worked perfect.

https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter

Original comment by Jhaley5...@gmail.com on 9 May 2013 at 5:30

GoogleCodeExporter commented 9 years ago
[deleted comment]