[q] pptp vpn - Nexus One Q&A, Help & Troubleshooting

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.

Related

WiFi issue (on any ROM!)

Hello, I kept on making a post for it until Iread everything that Icould but I can t solve this.
I have a Continental European G1, radio 1.3xxxx.2005, and the UK version.
My problem is that WiFi isn't working on any ROM, cyan (3-4 versions of it, the last months of ROM's made by him), SenseHero, KingxROM, Dwang, and mannnnnyy other ROM, I think I tested like 40-60 ROM releases in the last two months and Wifi hangs on all of them. There are times when market is loading after 1-2 minutes, but that's it, no app works over WiFi, Google Sync after a new install of a ROM worked, but that was it again.
I have e DLink DI-524 Wireless G router, standard Settings(tryed with upnp enabled/disabled), w/o and with secured Wireless, it always detects the network, connects on it but it isn't working.
Another strange thing that happens:
Let's say that I have WAP2(PSK) protection on my router, I disconnect my G1 from it, remove the security, so now I have an open network, until restart my G1 detects my network in it's last state, protected. This is really pissing me off, I have 100mb free and 0.4Eur/10mb in my contract with Orange, but at home I would really like to use my wireless, e.g. to use Gmote and so on.
Does anyone has any idea?
THANKS A LOT!!
Is this a problem with your network or all wifi connections?
I had the same problem
After flashing more roms than I can count to try and see if I could get wifi to work. Even unrooted and went back to stock then back to rooted and still had no luck. I finally called my carrier and talked to there tech department and they said it was probably a hardware issue. I have since had it replaced under warranty. Sorry but I'm pretty sure its the hardware so no matter what rom you flash it won't work
This can't be real, hardware problem? I bought the phone from a friend from France, because here in Romania I would have to pay double for it at my carrier, so no warranty for me...
Does anyone else has the same problem??
Yesterday I tested SenseHero 's latest ROM, I act. WiFi and Google sync'ed but twitter won't.... I hope it's solvable, I started collecting logs, I see in my router that the phone connects through very weird ports to different sites on internet, have to look into that, sorry for grammar mistakes, not native english and writing from my g1. Bye
Twitter sync have always been an issue. It should work after a few tries. I have wifi hangs a lot too, and I dont have a data plan either.
if you can post a logcat, it would help us pin down the issue
I was in the process of creating my first theme(YIPPIII), but I will test it right now. IT's coming.
EDIT: Here is the log, so, during a 5 minutes time, I started wifi, and tryed to search xda on google, anyhow, that can be seen in the log and then tried to download a app from the market.
Hope it helps, I'm really stuck.
THANKS!!!
Does nobody knows smt? this thread is sitting here a while now, should I try reflashing everything? maybe the problem is in the "lower layers of hardware" , radio, spl???
Sorry i couldnt find too much in that log (its a little long and im usually sleepy)
but it seems as though its not routing properly
it seems to be connecting to the internet, but not routing. Do you have DNS settings on your router?
My router connects through PPPoE and the WAN connection has some DNS's but that shouldn't count, those DNS's are the routers problems, the internet 'thrown' in LAN and WiFi should be and it is without any dns's and such.extremely weird...

Wifi really slow?

Anyone else's nook have really slow/sporadic wifi? Mine seems to burst, then come to a crawl and sometimes not do anything at all. The dropbox app is basically useless as it fails to download 99% of the time. The browsers are all slow too. I have wireless N and a 16Mbit connection at home so it's not my internet. My Evo downloads and runs 100x faster than my nook, on 3G.
I'm not having any issues.
None of those issues here on home wifi or tether to Evo. Dropbox is one of my newest fav programs and hasnt stopped an in progress DL once..
I am not seeing any sort of weird "slowness", but I will say that Opera Mobile is, **by far**, the best browser for this device in terms of performance.
yeah it does the same for me. reboot it. it works well on that for while, and sometimes turning wifi off, then back on will help.
sisith said:
Anyone else's nook have really slow/sporadic wifi? Mine seems to burst, then come to a crawl and sometimes not do anything at all. The dropbox app is basically useless as it fails to download 99% of the time. The browsers are all slow too. I have wireless N and a 16Mbit connection at home so it's not my internet. My Evo downloads and runs 100x faster than my nook, on 3G.
Click to expand...
Click to collapse
Yes this happens to me, more often I would like and there are times when it just seems to stop but the wifi is at full bars (what ever they are called). I have noticed that when I check the wifi in the Nook settings the wifi will say "connected-testing", this means it is not connecting, it "sees" the signal but no data is being transfered, turning it on and off usually does the trick. When it says "connected to the internet", data is being transfered.
I too have ridiculously slow network connections. It is almost useless in some apps. But browser seems to be okay.
Can you guys that are having this issue post your Wifi settings and Router models perhaps there is a commonality on this,
Personally I have had no trouble out of mine, Using Wireless N, WPA2, off a Netgear WNDR 3400
I have been experiencing the slow wifi also. Downloading apps from Market is like 1KB/sec.
Running Nookie 0.6.7 from SD card (class 4). Using WPA2 AES.
I'm having slow wifi problems on a new Class 10 (supposedly) froyo install as well.
Not just wifi, too. It seems to go off to lala-land for a few seconds when I try to do much of anything. Scrolling and things like that still respond, but the apps themselves freeze.
Ok, so that is Two people using Froyo having the wifi problem? what rom are you other guys using?
I have not had this problem and I'm Running Rooted 1.1
Perhaps this is a issue with the Froyo build?
My nook was rooted on 1.0 and I'm running stock 2.1 android and I'm having the same problems
Sent from my ADR6300 using Tapatalk
My nook's connection is unbearably slow on my home connection, which is wireless b/g with WPA PSK. If connect anywhere else (except for a Border yesterday) it does not have this problem.
Also have the "connection testing" problem. I am returning mine to Best Buy - will advise.
ROM 1.0.1 problem not as bad
ROM 1.1.0 problem unacceptable...
Both rooted...
Yes, it's definitely only a froyo issue with me. My rooted 1.1 stock rom is zip-zip-zippy.
I've tried froyo installs four times (both the std and mod versions) on a Class 4 and a Class 10 card. All had wifi issues and general sluggishness. And yet I see people saying froyo is quick. Hmmm....
brie987 said:
Yes this happens to me, more often I would like and there are times when it just seems to stop but the wifi is at full bars (what ever they are called). I have noticed that when I check the wifi in the Nook settings the wifi will say "connected-testing", this means it is not connecting, it "sees" the signal but no data is being transfered, turning it on and off usually does the trick. When it says "connected to the internet", data is being transfered.
Click to expand...
Click to collapse
This is a hardware problem. I had the identical symptom - tried all sorts of apps (softlocker, etc...)
Just returned by exchanging my NC at Best Buy and the problems are gone. I am at 1.1 with Monster Pack 0.7.
The offending NC serial no is 2010 110 0650xxxx
The good NC serial no is 2010 110 1509xxxx
So make sure the SN of the replacement unit is higher!
I've had this problem since the day I bought my nook.
A couple of things I've found...
1) The problem is with how the nook handles wifi. My college wifi is a piece of crap, and everything has problems connecting. Nook won't/can't establish a reliable connection.
2) I have no problems with wifi using DeeperBlue's HoneyComb. Hell, HC can get a better signal than my notebook. If I can get that to install market, I'll just run that off the sdcard. Battery life seems better there too.
3) If you get internet at B&N, then it's not a hardware problem. Every Nook of any kind has the same problems that i'm having.(on this network)
a couple of solutions I found.
1) Connectify. Nook doesn't really like it, but it works better than no intertubes.
2) Reboot the wifi. It works sometimes.
3) pray?
I've been having odd wifi problems with my NC, and I'm at my end with this.
My NC is stock, unrooted v.1.1. I can boot from one of two Nookie Froyo SD cards (one with an OC kernel, another vanilla).
Quite simply, the Android side will no longer connect to the internet, Marketplace, etc. The B&N stock side does just fine.
The Android side worked briefly -- out-of-the-box, I connected it to an open network and got on the Marketplace, whereupon it locked up on me. I put it away, and didn't pick it up until yesterday, at which time I found that no matter which SD card I used, there's nothing doing on wireless networking. While Android finds and connects to open or secured networks, I can't bring up a webpage, go to email, check the Market, you name it.
I don't think this is a hardware issue given that the Stock side can get online (albeit slowly at times). What the eff is going on with my Android side? Should I start over and build up *yet another* card? What can I do to diagnose and solve this?
I'm willing to return this NC, but I don't see the point if I'm somehow doing something to "break" the wireless connectivity in installing apps and pushing files and customizing the install (and whatever else) in creating my Nookie Froyo cards.
Any tips or suggested resources are greatly appreciated!
I had the same problem with Stock, Rooted with Autonooter, and Froyo boot from sd card. I changed the settings on my router to WEP security from AES and now have no problems with it.
rancherochido said:
I had the same problem with Stock, Rooted with Autonooter, and Froyo boot from sd card. I changed the settings on my router to WEP security from AES and now have no problems with it.
Click to expand...
Click to collapse
On the unit that I exchanged, I had problems with both secured (WPA2) and unsecured (Wifi N). The exchange seemed to fix it...

[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

[Q] Can not access android market on wifi I HAVE TRIED everything

OK. I see a lot of this, in a lot of threads. I have a bionic. This is actually the THIRD one I have had since I got it (now outside of my 14 days of course). The issue as brief as possible: all three phones i have rooted, ROM'd , factory reset, reinstalled stock ROM, re ROM'd , factory reset, etc.. OK now so you know. Wifi alone works well with browser. Sometimes (and I mean extremly rarely) I can get wifi to act with 3G IF I turn it on AFTER i'm in the market but then it is 'stuck on downloading'. I called verizon tech support three times: first two times they said that is normal as verizon network is secure and the droid market needs thats. Third time I was told it happens to 'some' bionic devices and is a known issue. WTF is the deal? I've tried FXR and I work in IT and even my open wireless connections from people I know do NOT WORK. Only works with 3G/4G on.
Really ? No one else ? i know that's not the case at all because the guy I work with was able to get to the market thru wifi just fine until last nite and today. It isn't just me
I am accessing the market on WiFi just fine. Though, to be honest, I rarely check, and I often install apps from https://market.android.com/ (I installed three from there yesterday while on WiFi - it worked just fine.)
The phone is two days old - never rooted.
Even weirder still...
see that's another werid thing. The times I try to go to market.android.com/rl] I get web page can't be displayed. anything with the words 'market' or 'android' give the page can't be displayed (over wifi). anything else at all on wifi internet wise works perfect.
Maybe I'm misunderstanding the issue... but have you tried connecting to a different WiFi AP? It sounds to me like access to the market is being filtered. Can you get to market.android.com on your PC while it's connected to the same AP as your Bionic?
effinay said:
Maybe I'm misunderstanding the issue... but have you tried connecting to a different WiFi AP? It sounds to me like access to the market is being filtered. Can you get to market.android.com on your PC while it's connected to the same AP as your Bionic?
Click to expand...
Click to collapse
Plus one for this. It's the wifi not the Bionic.
Yeah I can get to the wifi on my laptop at both places and can get to market.android.com from both computers. somethng else funny I can't download from market.android.com on the pc to the phone with wifi on; it never downloads. I don't know what the hell the issue is but it's frustraing. i'm hearing another of my friends lost access to the market over wifi yesterday all of the sudden. It's got to be some sort of coding as the wifi does work, just not for the marketplace

[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?

Categories

Resources