[Q] CM7/Nightly 177 not able to hold EAP WiFi? - Nook Color General

Have a unique issue that I wanted to see if anyone else has come across.
I'm running CM7 7.1RC w/ nightly 177 via a SD card. The setup runs fine at home with my WiFi/ WPA-PSK, yet at work I sign in with a 802.1x EAP. I can connect once or twice (once I enter the settings), but after about half a day, it fails to connect and I have to "forget" the network and start over.
So, is there a setting that I'm missing somewhere that will retain a EAP-coded network across a large facility without resetting the security settings every 3-4 hours?

I'm running CM7 7.1RC w/ nightly 177 via a SD card.
Click to expand...
Click to collapse
Can be only one, either 7.1RC or nb177

votinh said:
Can be only one, either 7.1RC or nb177
Click to expand...
Click to collapse
Started with 7.1, then did nb177 via ROM update.

Same problem here. Can't get EAP Wifi to work. It works after setting it up once, but later on, it'll fail to work and requires a reconfiguration to get it working again.

Can you tell me how you did the key management and setup?
I tried to import my desktop cert (wired is EAP, too) but I suspect that I'm not putting it in the right place.
A snapshot from wpa_supplicant.conf (anonymized is fine) and if or how you loaded the cert would be most welcome.
Thanks!
Sent from my NookColor using xda premium

traumadog said:
Have a unique issue that I wanted to see if anyone else has come across.
I'm running CM7 7.1RC w/ nightly 177 via a SD card. The setup runs fine at home with my WiFi/ WPA-PSK, yet at work I sign in with a 802.1x EAP. I can connect once or twice (once I enter the settings), but after about half a day, it fails to connect and I have to "forget" the network and start over.
So, is there a setting that I'm missing somewhere that will retain a EAP-coded network across a large facility without resetting the security settings every 3-4 hours?
Click to expand...
Click to collapse
Did it work before you updated the ROM?

patruns said:
Did it work before you updated the ROM?
Click to expand...
Click to collapse
Sorry for being unclear. No, it has never worked. Corporate doesn't support Android devices, so they won't help. I'm trying use the cert from my Linux desktop setup on my NC. I can generate a different one if that's part of the problem.
On linux, wpa_supplicant.conf has the cert filenames, but that didn't work here. I haven't tried to import it via Settings/Security, I just copied it onto the same directory I store my SSH keys in.
Sent from my NookColor using xda premium

Incidentally, this is a problem for my phone as well. I have to repeatedly reconfigure the wifi to make it work.

hi
had same problem with 177 changed to 176 and had no problems since

Still have yet to get it to work ... though I "borrowed" settings from my phone's WinMo setup (needed phase2 auth setting of MSCHAPV2, plus adding my domain on the "anonymous" ID.)
Updating now to nightly 197... I'll see how it works.

I'm using 197 as of the moment. EAP is not perfect, but it's tolerable. I need to turn WiFi off and on before it'd pick up an IP. Occasionally, not even that works; then I just use Titanium Backup to restore my [working] WiFi configuration, cycle the WiFi, and it would work again.

Having same problem in nigjtly 200 and 202

FWIW - the issue is still hit-or-miss with the newer nightlies. I'm now on 213, and it's not holding a connection consistently.

Related

[q] pptp vpn

I have a PPTP account with HideIPVPN which works perfectly on my iPod Touch and on my XP computers. It does not work on my Motorola Milestone - the connection is "successful" but no data gets through. At some point on some build of Froyo (I can't remember which), I was quite successfully able to use this VPN on my Nexus One for long extended periods to listen to Pandora Radio.
Recently I tried CyanogenMod 6 RC3, and to my disappointment, I could connect to the VPN but not get any data to go through. So I restored to my nandroid backup on FRF91 (which I'd originally applied via the pre-rooted update.zip). I retried the VPN and it works but after 30-90 seconds the data cuts out and won't work anymore.
Has anyone here had consistent success with a PPTP VPN on FRF91 or CM6 RC3? If so, did you have to do anything special to make it work?
Thanks
Charles
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Jack_R1 said:
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Click to expand...
Click to collapse
The phone remains awake the whole time. I connect to the VPN and then immediately jump to browser. I load one page and it pulls down successfully. Then I keep clicking links; after the second or third one nothing works anymore, and no apps are able to see data until I disconnect the VPN. This is reproducible.
On my iPod Touch, the same procedure does not have any trouble - I can connect to the VPN and browse for hours.
I located the post on HowardForums where I reported my success with VPN + Pandora on Froyo. It was June 6th, and at that time the latest Froyo build was FRF50.
So I've taken a nandroid backup and I'm going to try a little experiment... roll back to FRF50 via pre-rooted update.zip and see if PPTP works on that build. Don't know if my phone will have a problem with rolling backwards but worst case I can just restore.
Rollback test #1: Didn't clear data/cache first time round. Same results as before, ability to browse cuts out within about 30 seconds of the VPN connection.
Test #2: Wiped cache/data to get a blank (but still rooted) FRF50. Same results again... first page or two I browse to will load but then nothing else will.
Could rooting the phone somehow have destroyed the ability to use a PPTP VPN? So strange, I just can't figure out why it worked in June and not anymore today.
Ah well, since I can't get it working on *any* build right now, might as well go back to CM6 and try out the new stable mod. And I'll keep hoping/wishing/etc for a solution to this problem. Any ideas are welcome.
Well this is interesting. I can't get the VPN to work from my home or office wifi (and it works on both with iPod Touch) - but - when I brought my N1 into a WIND Mobile store and tried their test SIM, I was able to connect to the VPN over 3G just perfectly. The connection didn't stall out and I was able to listen to Pandora through the tunnel. This was using CyanogenMod 6.
I wonder why it's not working on wifi?
Am I the only one who cares about this, or is nobody else experiencing the same bug?
Same problem on the Galaxy S. I think its an Android issue, rather than phone. I understand, though never tested, that it works when doing VPN to a linux box, but never to windows or something like a cisco appliance.
OpenVPN works, but takes a fair amount of messing about to get it working.
On CyanogenMod 6.1 / 6.1.1, I can sometimes stay connected now to a PPTP VPN for 5-15 minutes at a time over Wifi. Not sure when it changed.

[Q] CM7 Wifi issues

I'm running Cm7 nightly 19 and my wifi is acting funny. Its stays connected but after a while I don't get internet and the only way to solve it is to turn it wifi off and on again.
Did anyone face this? How do you work around it?
Have you tried turning the WIFI sleep policy to never sleep?
WIFI Settings>Advanced>WIFI Sleep Policy>Never
Ya but it didn't help!
i was having issues but builds 17+ have been much much better.
no fix that i'm aware of. you could try switching your security settings on the router.
I have seen this and have determined that it could be related to router type and or brand.
See this post.
http://forum.cyanogenmod.com/topic/16323-cm7-discussion-of-nightlies/page__view__findpost__p__157374
I was having connection issues with 802.1x at one point - it would show it was connecting then just drop. I fixed it by replacing the wifi folder in /etc/.
Steps:
download the the wifi folder from dl.dropbox.com/u/3220557/wifi.zip
Unzip and Place it on your SD card.
Using Root Explorer, navigate to /etc/, select "mount R/W' and rename the current 'wifi' file 'wifiOLD or whatever you like.
Next, copy the new 'wifi' folder off your sd card and paste in /etc/.
Reboot the nook.
Hope this helps.
mndev12 said:
I was having connection issues with 802.1x at one point - it would show it was connecting then just drop. I fixed it by replacing the wifi folder in /etc/.
Steps:
download the the wifi folder from dl.dropbox.com/u/3220557/wifi.zip
Unzip and Place it on your SD card.
Using Root Explorer, navigate to /etc/, select "mount R/W' and rename the current 'wifi' file 'wifiOLD or whatever you like.
Next, copy the new 'wifi' folder off your sd card and paste in /etc/.
Reboot the nook.
Hope this helps.
Click to expand...
Click to collapse
what exactly are you replacing with that new wifi folder? did this help others?
I've had problems with a friends nook and my router (mine, same CM7 build, works fine). I'd recommend trying what mndev12 said first, and if that doesn't work try turning off all encryption/security on your router and see if it still happens. From what I can gather here on the forums is that some people are having problems with different security configs.
This might help.
I had the same issue with my NC using a D-Link DIR-615 wireless router. I solved this issue by turning Wireless N off. I set mine to BG only. Works flawlessly. Hope this helps.
Another suggestion to folks with Wifi and router issues. Make sure your router has current/updated firmware running on it. I know we all get in the habbit of setting them up and just leaving them but the mfgs do in fact push out firmware updates from time to time that can and do make a world of difference in cases like these, specially on older routers
basrawi said:
I'm running Cm7 nightly 19 and my wifi is acting funny. Its stays connected but after a while I don't get internet and the only way to solve it is to turn it wifi off and on again.
Did anyone face this? How do you work around it?
Click to expand...
Click to collapse
Did you get this issue resolved? If so, I am curious as to how... having similar issues myself. Have played with security settings on router and have tried disabling 'n'... but still seemed to have the connection issues... going to borrow and try a different router altogether tonight or tomorrow.
Good suggestion will2live. I haven't updated mine since I set it up. However I think it is a driver issue with the TI chip we have, not a router issue.
Sent from my PC36100 using XDA App
so are youll trying to say that this isnt the issue of cm7?i dont think so...i never had such problems with the stock rom..
Im seeing the same thing - running the encore version and my wifi is all open - drops a bit or takes a while to connect? anyone else?
I loaded the most recent version of CM7 and am having issues with the Nook not finding any WiFi. It worked fine for about 12 hours, but now won't find any access points. I have tried turning off WiFi and back on several times as well as rebooting.
Any ideas on how to get the WiFi to see access points?
Try a clean install? My wifi works pretty well ( I sometimes have to turn off and let it shill for 30 sec) on Phiremod 6.1 (cm7.0.2)
Ryjon90 said:
Did you get this issue resolved? If so, I am curious as to how... having similar issues myself. Have played with security settings on router and have tried disabling 'n'... but still seemed to have the connection issues... going to borrow and try a different router altogether tonight or tomorrow.
Click to expand...
Click to collapse
I have had serious wifi headaches myself (with both 7.0.0 and 7.0.2). I have tried each about a dozen times, wiping, different versions of CWM recovery, tried nightlies and always the same. Wifi will connect, I'll start downloading something, and then it will disconnect at some point (may be a minute, may be 3 or 4). Turning wifi on and off brings it back to life but only momentarily. Have no issues with Nookie Froyo or stock. I did try connecting to WEP (other than my usual WPA2) but could only do this by tethering to my phone. It seemed to have fewer disconnects but I did still have issues there. Plus, resorting to tethering or a less secure network is also obviously not really a solution. Really hoping a pattern can be discovered to diagnose this issue because its becoming a deal breaker for me. This issue aside, LOVE the ROM.

[FIX] WiFi connectivity issues with phiremod/CM7

This continued 'dropping and reconnecting' to my WPA/2 has been driving me nuts and I found the holy grail for my problem to share.
During the course of troubleshooting I:
1. updated router firmware
2. changed security from wep to wpa to wpa2
3. hard coded the nook mac address to enabled, even though there was no block setup.....
4. YadaYada.... pullin my frickin hair out then the moment of calrity
When I observed 'connected devices to my wireless I noticed that all other devices in da house had typical host names like laptop1, server1 whatever and the host name for the nook when attempting to connect was, and I quote
'android-873iurhfier98734598'
or in other words a dash with a huge random number/letter sequence that showed up as funky 'alien' ascii characters to the router.
So the fix was:
goto settings
goto applications
goto development
goto device hostname
dropdown to edit and backspace(erase) the dash-----bull****
I ended up with a host name of android
went back to wifi settings, forgot and reconnected and BAM
Done deal.
Hope this helps some of you who are having wifi problems.......
I believe this is related to certain wireless routers being unable to translate the characters into something other then gibberish ascii characters it believes its seeing????
whatever I dont care anymore....
didnt fix it for me....
**edit**
spoke too soon. worked for about 5 minutes and then i was back at the same boat
yourm0m1 said:
didnt fix it for me....
Click to expand...
Click to collapse
Hmmmm,
I have a belkin N1 wireless router and did update to the latest firmware. I did change several settings during the course of getting my issue resolved as follows:
Radio = 11g
Bandwidth = 20Mhz+40Mhz-auto
QOS = OFF
Authentication = WPA-PSK+WPA2-PSK
Encryption = TKIP+AES
obscure PSK = OFF
hopefully these will help..............
mooja said:
for the love of god and all that is holy, this fixed my issue.
if you were here id give you a beer or something, this is outstanding and i will probably love you forever
Click to expand...
Click to collapse
Easy there big fella.............. glad it worked for you
mooja said:
**edit**
spoke too soon. worked for about 5 minutes and then i was back at the same boat
Click to expand...
Click to collapse
Try the settings I gave in post #4
I have been running consistent for several hours now.....
with the .29 kernel and cm7.0.2 i dont have any issues, so i dont feel the need to screw with the router....ill wait or deal
yourm0m1 said:
with the .29 kernel and cm7.0.2 i dont have any issues, so i dont feel the need to screw with the router....ill wait or deal
Click to expand...
Click to collapse
I had issues with cm7.0.2/3 stables and phiremod 6.2, .29 kernels until I stumbled on my fix. However this also works well for me with the 2.6.32, beta 3.1.
FYI, I have been running all of these off SD, my emmc is 1.01 rooted and very stable.
Dude, you are a lifesaver. I've been running into this problem frequently and it's sort of a kiss of death for WiFi when it happens and I have to re-do the whole CM7 SD Card. It's working perfectly now though after I just had a card fixed pretty much perfectly.
Thanks for posting this...
I didn't have any connection-disconnection type WiFi problems, but I went ahead and shortened the name to just android. What it fixed for me is the YouTube on Phiremod 6.3. Previously, any clip would stop with an error message. The progress bar of loading the clip ahead of the video playback was moving slowly at the beginning, but then jumping to the very end, and when the playback was at the "jumping point", it was giving me an error. Now, after this "fix", the bar moves along slowly all the way to the end, and video never stops with an error. Even if the playback catches up with the bar, it just pauses and waits for more to be loaded (mainly for HQ clips, occasionally).
Thanks again for this "unexpected" YouTube fix
FYI, I'm no longer able to get WiFi on the 108 Nightly. I tried this sequence again and haven't had any luck. Looks like a full wipe/install again.
EDIT: Just turned off the "Network Notification" and it's working fine again. Strange, but it keeps me from having to wipe AND my WiFi is working again. I hope that helps someone else.
Well since everyone is posting what worked for them, I figure I might as well too
I started getting this problem yesterday, never had it in the week up till then.
Problem started when I changed did a factory reset on my Belkin router (yes I know Belkin sucks) and changed the security to WEP (I know, I know, WEP sucks too) so that we could connect to XBox Live with an ancient xbox receiver thing (xbox was hardwired in our old apartment, and I'm not buying a new xbox just for freaking built in wifi it should have had in the first place lol).
Enough in the way of background. Suffice to say, I was having the wifi drop issue on my nook, but the xbox, wii, and two laptops were fine.
Last night I tried flashing back to stable CM7, n108, n106, and n85. No go. Also tried the honeycomb port from SDK 11. No go.
I changed the device name in applications -> development to "android" and turned off notifications when there was an available wifi hotspot. Still no go.
Changed about every wifi my POS Belkin had, still didn't work.
I flashed back to stock 1.2 with no root and no CWM, and wifi was still turning on and off.
I did two things since then and one of two things fixed it; not 100% sure which.
1. This morning I downloaded the software for my router from Belkin and reloaded it. Before I could test it, I had to rush off to work.
2. At work I rerooted, reinstalled CWM, and loaded n110, and when I got home IT WORKED!
Seems most likely to me that reloading the router software is what did it, although it may be n110 that did it.
So anyway, for everyone who is as desperate as I was last night, here's two more things to try.
Here was my fix to my issues
http://forum.xda-developers.com/showthread.php?t=1134675
Sent from my NookColor using XDA Premium App
I'm not sure if this has been meantioned or not.......I have NO problems when tethering from my phone. Its only when connected to my router. Also I ran a couple of shows from Netflix to see if it would hold a connection from the router. Both shows ran perfect. But as soon as I tried searching on the browser it stopped working. I can then at that point wait it out or disconnect and reconnect. But again it works flawlessly tethering from my tbolt using wireless tether.
quai said:
I'm not sure if this has been meantioned or not.......I have NO problems when tethering from my phone. Its only when connected to my router. Also I ran a couple of shows from Netflix to see if it would hold a connection from the router. Both shows ran perfect. But as soon as I tried searching on the browser it stopped working. I can then at that point wait it out or disconnect and reconnect. But again it works flawlessly tethering from my tbolt using wireless tether.
Click to expand...
Click to collapse
See if the settings in my above link help
Sent from my NookColor using XDA Premium App
I can say this forum helped tremendously. Editing the Nook hostname fixed my WIFI issues. I have a Linksys WRT610N V1 with WPA2-Personal TKIP/ASIP with no issues now. All I did was make this change... Excellent connectivity now.
This is THE most frustrating issue that remains (for me) using the NC . I've tried most everything here at home to get a stable continuous connection, and end up failing.
Took it into work yesterday & sniffed out an open wifi WAP there, showed only one bar, yet it connected & played Netflix,Pandora, etc flawlessly.
well, just now reset my router (TP-Link wr1043N) & upgraded it's FW, and it is now allowing Netflix streaming. Holding breath, fingers crossed, etc
christoophat said:
This is THE most frustrating issue that remains (for me) using the NC . I've tried most everything here at home to get a stable continuous connection, and end up failing.
Took it into work yesterday & sniffed out an open wifi WAP there, showed only one bar, yet it connected & played Netflix,Pandora, etc flawlessly.
well, just now reset my router (TP-Link wr1043N) & upgraded it's FW, and it is now allowing Netflix streaming. Holding breath, fingers crossed, etc
Click to expand...
Click to collapse
Well at least you know it's a router issue, hopefully you'll have the same experience as me, perfect connectivity ever since the firmware reload here.
Sent from my NookColor using XDA Premium App
SCrid2000 said:
Well at least you know it's a router issue, hopefully you'll have the same experience as me, perfect connectivity ever since the firmware reload here.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
agreed. NC is charging now, but hoping that this issue is over for good. Thanks for the idea to look at the FW as a solution
Strange. I was using build 120 with my router with no issues, then after a few days it stopped working and would not reconnect even after a reboot. Forgetting the connection and recreating it didn't work either. However making the connection not use AES worked.
Sent from my HTC Vision using Tapatalk

[HOW-TO] Get 4g Hot Spot (Infrastructure) to work after MOD'ng

Ok,
So, I, along with a few others, pay for the Unlimited Mobile HotSpot and want this app to work as other (root) tethering apps only allow Ad-Hoc.
Here's what I did to get it to work on my Windows 7 x64 Computer as of just a few moments ago and I do plan to work on this issue to get this figured out.
I've discovered that the /data/misc/dhcp/udhcpd.conf file is what controls the DHCP addressing for the 4gMobileHotSpot App. Within this app, I discovered (in the Modded ROM (as of now, I have Gingervolt1.1)), that the "Option DNS" addresses were completely wrong. This was apparent from the get go as they were internal IP address starting with 192.168.x.x.
The steps to get this app working on Windows is:
0 - Be Rooted (Sorry, just had to point the obvious out in Step 0)
1 - Use the market and download/install the Text Edit (Paul Mach) App
2 - (TESTed and Working), Use AntTek (root) Explorer and navigate to:
/data/misc
3 - Long Press the udhcpd.conf file and select to open with the Text Edit App
4 - Change the 'option dns' from 192.168.x.x to 66.174.92.14 69.78.96.14 and save/exit
5* - In Windows, set the IPV4 Properties to:
Use Following Address:
IP Address: 192.168.1.5 (or anything in between start and end range in text file)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Use Following DNS server addresses:
Preferred DNS Server: 66.174.92.14
Alternate DNS Server: 69.78.96.14
6 - Start 4gHotSpot App
7 - Tell Windows to Connect and you should be connected.
NOTE: It is late and I know that this will become clearer as time goes on and since I have to work in the morning, this is the best I came up with in a few minutes after figuring out that the hang up was with this file, in which I knew it's been a DHCP issue all along. Why this file is changed with the Modded ROMs is beyond me and I doubt MT changed this, so likely it is something to do with the DE-odex or some other modification of this app and it's initialization. Just deleting the CONFIG file will only cause it to write a new one with the wrong values again.
For those who do use this app, it is known to stop responding at times and I am going to look into that. I'm thinking this is a DNS issue and will try some other DNS Servers (8.8.8.8 I believe is a Google public DNS)..
In the meantime, this is a start for anyone to add to this that has more DHCP/DNS/Network experience. I don't have another android device handy to test the connectivity, so will have to get that figured out.
Key point here is, is that the 4gHotSpot App gets corrupted with the Custom ROMs and for some reason sets up wrong DNS servers in the Config file.
Hope to see some thoughts, additions, fixes, to this problem with this being pointed out, from others. I will continue to work on it throughout this next week after work.
Last Note: The DNS server numbers came from the original Config prior to rooting/modding. Also, I do know that is it redundant to have them in the config file AND the Windows Properties. It's just that setting Windows to 192.168.1.1 (option router in the Config file) didn't work. Again, will work on cleaning this method up and simplifying.
-Cybie
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
displacedbuck said:
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
Click to expand...
Click to collapse
Ok, so here's what I did after reading your post:
1 - Corrected the path (Sorry, it was late and I missed that /dhcp portion of the path).
2 - Deleted "option router 192.168.1.1" from udhcpd.conf file
3 - Deleted "option dns x.x.x.x x.x.x.x" from udhcpd.conf file
Set Windows up with the Following:
Static IP : 192.168.1.2
Subnet : 255.255.255.0
Gateway : 192.168.1.1
DNS Servers : 4.2.2.1 & 4.2.2.2
That worked.
So, what I am seeing if I try to use DHCP on Windows is that the 4gHotSpot gives the computer 192.168.16.x addressing even though the config file is set to give out 192.168.1.x addresses (x=2 through 254). It also gives Windows 3 DNS servers that are local IP addresses and will never go anywhere.
What to do now? Figure out what is being changed with the Custom ROMs that is causing the app to act like that. In fact, it will act like that when I restore back to Stock GB Rooted via restore from backup in CWM, but I have yet to test deleting the config file and restarting 4gHotSpot to test. I will do that over the weekend as I don't have a lot of time I can have my phone down during week. But I do plan to up to the GingerVolt1.3 tonight.
As of right now, I am using my windows machine connected to the 4gHotSpot App to write this post. Also, I don't know about the iPhone/iPad and possible settings. If you can Force (Set a Static IP) then follow what I did up above, but you will also need to set the DNS servers and not sure you can do that on an Iphone/iPad.
The DNS Servers I listed are found on a public list and are also said to be Verizon DNS servers...
The other problem I found and is an issue with the app, is using auto b/g/n will cause the hotspot to lose connectivity. When in that mode, I connect at 65Mbps, but it drops down to 6Mbps and stalls and fluctuates. I set it to 'g' only and get a SOLID 54Mbps connection just like the tether apps.
SPEED TEST Results: 18.35 Mbps Down, 10.66 Mbps Up without a glitch.
Obviously this app works with DHCP addressing as STOCK. So, I will begin my Android Development with figuring out one of two things. Either get this app to work as it's supposed to, or create a root app with 'Infrastructure' based on whatever I can find in the coding for this app if I can figure out a way to decode it.
I personally hate the idea that you can't connect other android devices to AdHoc and also annoys me to have to manually connect Windows since it doesn't seem to have the ability to automatically connect to AdHoc Networks. Linux does perfectly fine with auto connect AdHoc, go figure. Android is Linux Based, yet can't AdHoc, but provides an AdHoc as an access point for other devices. weird, lol.
Let me know if any of this helps, but do know I am going to continue to figure this out. I'm sure de-odexing the app had something to do with it as I'm sure Verizon did their best to keep this app from being hacked for free HotSpot service.
-Cybie
Thanks for the detailed response.
I'm going to try again. I won't be able to try until tonight or tomorrow morning when I have time to play with it and roll back if necessary.
I'll let you know if it works or I find out anything else.
Before you install a ROM and have the app working, try connecting your computer and get the values (ip, dns, gateway, etc.) That the app dhcp assigns and post that. Rooting the phone alone shouldn't break the app either. By getting those values posted, would help and also save me from downgrading just for that purpose. Knowing that it works with without a mod is one thing,. So my focus is working on getting it to function with a modded ROM.
It's strange that i can get the app to work if i force the connecting device to values (static settings), but this doesn't help with certain devices and needs to connect via dhcp.
-Cybie
Sent from my VS910 4G using XDA App
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
displacedbuck said:
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
Click to expand...
Click to collapse
These number are from your connected device? What device are you connecting that give you such numbers? I'm not familiar with the iPad and how it displays connection details. Is that what that is from?
I'm still able to connect after updating to GingerVolt1.2 and manually installed 4gHotSpot app. I just got home with little time to work on this project for the night, so I will update what I can if any changes in getting things to work.
-Cybie
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
displacedbuck said:
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
Click to expand...
Click to collapse
Sounds good. Those numbers will help.
I will add, though, that someone posted a way to get the wifi tether to work with the Revolution, here in the forum. The problem, though, is that it's connection via 'n' mode, which would be great, except it drops out. If you try to download something that's fast (or going to speedtest sites), you will find that that happens and what everyone is complaining about the HotSpot app not working. All that needs to be done is changing it to 'g' only mode and a solid connection.
Anyhow, I will see if I can figure out how to get that app working on 'g' only mode also, and if I do, then I will just use that app instead. Otherwise, I plan to continue to figure out the 4gHotSpot App
-Cybie
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
jamRwoo said:
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
Click to expand...
Click to collapse
Sorry for the delay. Been working extra hours at work and haven't had the energy to do much with this past couple days.
Anyhow, no, I don't intend to try to get it working for those who do not pay. Why? There are apps out there for this and the only reason I was trying to get this to work properly was for the fact that it would be nice to have the proper connection for those who do pay. I say that because the HotSpot app actually has a faster wifi connection (using n mode) than the tether (root) apps out there, with the exception of the one posted at:
http://forum.xda-developers.com/showthread.php?t=1339150
Unfortunately I am having the same issue with the HotSpot and that app (using infrastructure mode) when connecting. They both to link up at 65Mbps. In fact, I got 72Mbps with the wifi Tether app from the link, but like the HotSpot app, I have issues with the connection dropping out using 'n' mode.
The HotSpot app will allow you to set it to 'g' only mode, though only get a 54Mbps link speed, but sustains a solid connection with no drop outs. Others say they don't have that issue, so it may just be my wifi adapter??? I am going to test it on my laptop, but if I remember, I did have that same issue with the laptop, so maybe it's just my phone??
Either way, I am going to be doing what I can to get 4gHotSpot to work correctly with rooted/modded ROMs. Strange thing is, rooted, it still works fine. After installed modded ROM, it fails to work. And if I restore back to factory rooted via CWM, it still doesn't work. You actually have to restored/flash back to total stock. After that, you can root with it working, but not after installing a ROM.
-Cybie
Any luck with the fix?
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
ALTANertive said:
Any luck with the fix?
Click to expand...
Click to collapse
I've been doing testing. Please read below for some more of my findings.
sgschwend said:
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
Click to expand...
Click to collapse
I've noticed something very strange with the HotSpot and Rooting.
If you root, the HotSpot continues to work. But, if you reboot after rooting, that's when the failures begin. So, I am thinking that the files are being overwritten. I've been able to test with clean root, root with tether app, and restore without root.
Without root, the HotSpot continues to work fine as I have been using it for the past two weeks as I need it for my new WiFi Tablet. There is the WiFi app the allows for Infrastructure, but that also allows devices to connect via N-Mode, where I have issues of the data dropping out. Forcing b/g only on my HotSpot app, I have very reliable service.
I am planning (after my trip) to root my phone, copy some DHCP files before ANYthing can be changed and before rebooting. Comparing these files and seeing if anything changes there. If so, that will allow me to create a simple app to restore these files back to stock, either automatically, or through 'starting' of the app.
I haven't forgotten about this issue and It's something that I am needing to figure out. The problem is time right now. For the past few months, I had to work a job in order to keep bills paid. That job took a lot of my hours I used to have to figure things out. I am going to be having limited time available, but do plan to work on it some more in the next few weeks, especially since i want my Tablet to work flawlessly with my phone, as that is my ONLY source of internet and I DO pay for the HotSpot service.
-Cybie
Thanks for the update.
Like you I also pay for the 4g hotspot. I jumped on it when they offered the unlimited for $30.
Now that I've tried the gingervolt rom and the supercharger script I don't think I can go back. It just feels like a totally different phone.
I haven't had as much need for it recently so I haven't tried one of the other tethering apps.
Thanks for plugging along on this.
Yes, thanks for looking at this.
Here is some more observations:
Using your set ip and other setting I can get the hotspot to work. Two of my devices are not able to set a fix address without rooting them. So they do connect but only my PC will download a web page.
Here is the address my Revo is setting on the other two devices: 192.168.16.30 and .31.
Ok, so here's an update to this issue.
I have tracked the problem down to a failure to write to the udhcpd.leases file within the /data/misc/dhcp folder.
So, I did some searches on the net about a few things, but there's not much information regarding the "paid" HotSpot feature vs the (Root) Tether Apps.
What I did comes across, though, is there seems to be some sort of issue with certain versions of busybox relating to the udhcpd.conf. I also found the file that gives the 192.168.16.x addresses. But, by the time I found it, the phone already goofed up the HotSpot app settings and things weren't working. So, next round of factory restoring via LGNPST/Tot, I will seek into that and see what I can find out.
It's weird that the 4g HotSpot app will work flawlessly on the initial boot (Rooted, ROM'd, and even OC'd). But, after a reboot of the phone (once or twice), it becomes corrupted and non-working. It's going to be related to some sort of permissions issue and some file that is able to be corrupted/changed with the root/superuser access. I had similar results with fresh restore and JUST root, so the ROM's have nothing to do with it as far as I am concerned at this point.
In case you might ask. I Refreshed phone to total stock, rooted, and then, all at one shot, installed Gingervolt 1.3, OC, and Hotspot before rooting phone. HotSpot worked fine until the next reboot, where it did work for a few minutes then Kaboom! Nodda.
If someone can access (pull) the /system/var/lib/misc/udhcpd.leases file from a fresh stock phone, or even first-time booted, rooted phone, I would appreciate that as this file may be something in question, but my file was already changed by the time I found it.
-Cybie
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
sgschwend said:
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
Click to expand...
Click to collapse
EDIT: When you copy these files, Don't view them until you zip up a copy first. They could potentially get corrupted. not likely, but with the way it's going with this 'project', who knows.
adb pull /data/misc/dhcp datadhcp (This will copy files from phone to a created directory called datadhcp)
Also, and more importantly, this is what I am really wanting:
adb pull /system/var/lib/misc varmisc (copies to created varmisc folder)
AND
adb pull system/etc/dhcpcd dhcpcd (copied to dhcpcd folder)
The created folders and files will be in the same 'dos' directory you have adb in. You can use the folder in which the all in one root is from MT if you are wondering where to get that by any chance.
Those would be a big help in getting thing figured out. At least, if those are the culprits.
NOTE: In order to have non-corrupted files, these have to be pulled from a fresh restore via LGNPST / Tot method. A restore via nandroid backup will not work. those files, once corrupted, seem to remain so, even after a restore for some odd reason, unless you were lucky enough to not have them corrupted prior to backing up, which would likely mean you rooted, rebooted into recovery and backed up before rebooting into your phone.
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
Click to expand...
Click to collapse
Please clarify on this. Are you referring to starting the 4gHotSpot, shutting it down, and then starting a (root) Tether App??? If so, I haven't really had that issue because once I have to use the root apps to tether with, that usually means my HotSpot won't work at that point. I will say, however, I have had an issue where the HotSpot didn't want to shut down. I just go into Services/App Management and force a shutdown instead of a reboot. A bit quicker....
-Cybie
I will take a run at copying this stuff later today.
On the hotspot bug. Even before rooting, or upgrading to GB there was this bug, and it is still there after GB.
Once the hotspot has been started and then the user shuts it down it appears to shut down. Then the tethering (the application that came with the phone) is initiated it looks like it is tethering but the hotspot icon comes on after the phone has finished tethering and indeed it is running that way too.
I tried this five time last night: Restored the hotspot both application and data (titanium app), installation part of the application would fail but T said it was complete. Launched the application and two of the five times the PC had the correct IP address, the other three times it had the corrupted ones. Also when the PC did come up correctly the second device's IP address was corrupted. So I may need to fiddle a bit to fine the uncorrupted files after restore.
Perhaps someone else could help with copies the files too?

[Q] WiFi Tether Won't Work (even with correct settings)?

I'm running OMJ's ROM and using WiFi Tether TrevE Mod "Version 3.2-beta-modv5-***Synergized***"
Okay so even with the settings that everyone recommends for the HTCone, and a few modifications, I still cannot get the blasted thing to work.
Settings I've tried:
Profile: Generic ICS/JB(wlan0)
Setup-Method: Auto
Encryption ON (p/w is the correct format AFAIK, about 12 lowercase letters no numbers, similar to the default)
Changed SSID to "HTCone" no spaces
Wifi Driver Reload (1) checked
MSS Clamping checked
Routing Fix checked
With those settings, I can't even get it to broadcast. It says it's running but no devices can find it. It simply isn't there.
If I disable Wifi Driver Reload (1) it begins broadcasting. However, when I attempt to connect, the second device just sits there at "Obtaining IP Address..." for about 90 seconds then retries and gets stuck at "Authenticating" then back. An endless loop never resulting in a connection.
The most frustrating thing about this is that it was JUST working the day before. I didn't touch ANYTHING and it just decided to take a dump.
Addendum: I was looking at the notes in the bottom of the ABOUT screen and I noticed the updates are quite old. Is it possible I have an old version that doesn't work with the HTC One? I got it from QBKING77's website.
Happened to me and don't have an answer. I wiped and didn't restore anything to resolve it. Restoring data broke it again.
Sent from my HTCONE using xda app-developers app
I followed this guide that worked for my Note II and I have no problems. I'm typing this message from my laptop tethered to my ONE. I have WiFi-driver reload 2 checked.
gk1984 said:
Happened to me and don't have an answer. I wiped and didn't restore anything to resolve it. Restoring data broke it again.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
klbjr said:
I followed this guide that worked for my Note II and I have no problems. I'm typing this message from my laptop tethered to my ONE. I have WiFi-driver reload 2 checked.
Click to expand...
Click to collapse
I had no luck wiping the phone and re-installing the ROM. It was still FUBAR after the fresh flash of OMJ. What drives me NUTS about that is the fact that it was JUST working not 12hrs before it stopped working.
To give some more information as to the issue, it appears that checking either one (or both) of the Force Driver options causes it to not broadcast at all. If either of those two are checked, the hotspot isn't even visible to any device. If left unchecked, the hotspot becomes visible. However, upon trying to connect to the hotspot, it gets stuck in a loop of "Authenticating..." then "Obtaining IP address" which never results in a connection.
I've tried the options listed in that guide you posted, but to no avail.
So, at this point, I'm wondering if it's just because I'm using an outdated WiFi hotspot app. If anyone has one that's been updated since a little under a year ago, I'd appreciate a link. Thanks!
wolfbuck22 said:
I had no luck wiping the phone and re-installing the ROM. It was still FUBAR after the fresh flash of OMJ. What drives me NUTS about that is the fact that it was JUST working not 12hrs before it stopped working.
To give some more information as to the issue, it appears that checking either one (or both) of the Force Driver options causes it to not broadcast at all. If either of those two are checked, the hotspot isn't even visible to any device. If left unchecked, the hotspot becomes visible. However, upon trying to connect to the hotspot, it gets stuck in a loop of "Authenticating..." then "Obtaining IP address" which never results in a connection.
I've tried the options listed in that guide you posted, but to no avail.
So, at this point, I'm wondering if it's just because I'm using an outdated WiFi hotspot app. If anyone has one that's been updated since a little under a year ago, I'd appreciate a link. Thanks!
Click to expand...
Click to collapse
Not sure which one you are using but I'm using the one right from the Play Store v3.3 beta 2. You can also get it from here. I just went back to SWG 1.18 from a 4.2.2 ROM and reinstalled and all is good. Everything connects just fine using those settings from the link I posted earlier.
klbjr said:
Not sure which one you are using but I'm using the one right from the Play Store v3.3 beta 2. You can also get it from here. I just went back to SWG 1.18 from a 4.2.2 ROM and reinstalled and all is good. Everything connects just fine using those settings from the link I posted earlier.
Click to expand...
Click to collapse
In the first post I listed which version I was using. Unfortunately, even the newest version fails to work. I don't get this. Maybe it has something to do with the OMJ ROM and how close to stock it is. Perhaps I should try a different ROM.
This is a far cry from the CM7 ROM I had on my EVO which allowed me to tether perfectly all the time without the hassle. Maybe I'll try CM again on my One.
I'm gonna download & flash OMJ's ROM & see if I can recreate it. You running the latest version right?
Sent from my HTCONE using Tapatalk 4
klbjr said:
I'm gonna download & flash OMJ's ROM & see if I can recreate it. You running the latest version right?
Sent from my HTCONE using Tapatalk 4
Click to expand...
Click to collapse
There was some kind of minor update that just came through. Not sure what it was. I haven't installed it yet. My version is current as of a week ago.
wolfbuck22 said:
There was some kind of minor update that just came through. Not sure what it was. I haven't installed it yet. My version is current as of a week ago.
Click to expand...
Click to collapse
Sorry. I downloaded the latest yesterday but was playing around with flex's & hawk's 4.2.2 ports. I'm about to flash in a couple mins and will post my results.
Similar issue here
I'm having issues with wifi tether on my HTC One, as well. I can tell you that if you set the Device-Profile to "Auto," it will create an ad-hoc connection that my Windows 7/Ubuntu Studio desktop will recognize. Ubuntu recognizes it as a regular wifi hotspot, and connects automatically. Windows recognizes it as an ad-hoc connection, and I have to connect manually. My Samsung Galaxy Tab 3 does not see the connection at all, and neither does my LG Blu-Ray player. If I change the profile to Generic ICS/JB (wlan 1), then other devices see the connection, and will even attempt to connect to it, but there is never a successful connection with internet access. If I choose Generic ICS/JB (wlan 0), then nothing sees it as a viable connection. I am running the stock sense ROM, and have done no updates (so I'm still at JB 4.1). I can tell you that wifi tether errors frequently for me, and I have to reboot quite a lot. If I leave my phone broadcasting overnight, then in the morning wifi tether thinks that I don't have root, and gives me the "your phone is in an unknown state" error message; at that point, the only way to stop the wifi is to reboot.
So, I can make it work, for a limited number of devices. I would like to use it as a wifi connection for my tablet and my Blu-Ray player, however. I have searched quite a bit to try to figure this out, and I haven't been able to find a reliable answer. Any help would be appreciated. Thank you.
I got mine to work. Can surf the web, check email, etc. now the damn thing will not stream video. I am connected to 4g and speed test on my ipad verify it but won't stream. Pisses me off.
wolfbuck22 said:
I'm running OMJ's ROM and using WiFi Tether TrevE Mod "Version 3.2-beta-modv5-***Synergized***"
Okay so even with the settings that everyone recommends for the HTCone, and a few modifications, I still cannot get the blasted thing to work.
Settings I've tried:
Profile: Generic ICS/JB(wlan0)
Setup-Method: Auto
Encryption ON (p/w is the correct format AFAIK, about 12 lowercase letters no numbers, similar to the default)
Changed SSID to "HTCone" no spaces
Wifi Driver Reload (1) checked
MSS Clamping checked
Routing Fix checked
With those settings, I can't even get it to broadcast. It says it's running but no devices can find it. It simply isn't there.
If I disable Wifi Driver Reload (1) it begins broadcasting. However, when I attempt to connect, the second device just sits there at "Obtaining IP Address..." for about 90 seconds then retries and gets stuck at "Authenticating" then back. An endless loop never resulting in a connection.
The most frustrating thing about this is that it was JUST working the day before. I didn't touch ANYTHING and it just decided to take a dump.
Addendum: I was looking at the notes in the bottom of the ABOUT screen and I noticed the updates are quite old. Is it possible I have an old version that doesn't work with the HTC One? I got it from QBKING77's website.
Click to expand...
Click to collapse
Try to go to advanced settings at the upper right portion of the settings. Then click LAN Settings > Reset to default settings. I have the same problem with you. I've tried it and it worked.

Categories

Resources