VPN connection - Windows 10 Mobile

Is possible to keep VPN connection always open? is disconnect when screen go off

dxdy said:
Is possible to keep VPN connection always open? is disconnect when screen go off
Click to expand...
Click to collapse
While on WiFi or Cellular? Or both..?

booth... always disconnect when screen go off...
edit: with always wifi on tweak seems no disconnect few minutes on short period but after some time VPN connection switch to off

i had this problem before as well there is a rasphone.pbk file i downloaded to the phone that helped a ton and would always stay connected of course i cant find it now.

eljefe0000 said:
i had this problem before as well there is a rasphone.pbk file i downloaded to the phone that helped a ton and would always stay connected of course i cant find it now.
Click to expand...
Click to collapse
check here
https://forums.windowscentral.com/windows-10-mobile/440214-how-make-vpn-work-w10m.html
but still problem remain with disconnect... seems something Microsoft messed up in FCU

dxdy said:
check here
https://forums.windowscentral.com/windows-10-mobile/440214-how-make-vpn-work-w10m.html
but still problem remain with disconnect... seems something Microsoft messed up in FCU
Click to expand...
Click to collapse
Actually i was thumbing around and found the original post i was referring to, with this method everything works well even after the phone is idle. I can attest to it working as long as you have an internet connection. follow the link its post #23 just follow the steps 1-5.
https://forum.xda-developers.com/windows-10-mobile/problem-vpnikev2-win10-mobile-t3399104/page3

eljefe0000 said:
Actually i was thumbing around and found the original post i was referring to, with this method everything works well even after the phone is idle. I can attest to it working as long as you have an internet connection. follow the link its post #23 just follow the steps 1-5.
https://forum.xda-developers.com/windows-10-mobile/problem-vpnikev2-win10-mobile-t3399104/page3
Click to expand...
Click to collapse
IpPrioritizeRemote is already value 1....

dxdy said:
IpPrioritizeRemote is already value 1....
Click to expand...
Click to collapse
Did you try this method previously already ? because it has never faltered when ever i have my vpn connected. i can connect my vpn go to bed and the next day its still connected.

eljefe0000 said:
Did you try this method previously already ? because it has never faltered when ever i have my vpn connected. i can connect my vpn go to bed and the next day its still connected.
Click to expand...
Click to collapse
i not change anything in rasphone.pbk file, just added few servers from VPN Unlimited in phone APN settings. this is first time to open pbk file and IpPrioritizeRemote value is "1", not "0"
IpInterfaceMetric is value "0" and tried to change to "15" but seems still VPN disconnect when phone idle...

dxdy said:
i not change anything in rasphone.pbk file, just added few servers from VPN Unlimited in phone APN settings. this is first time to open pbk file and IpPrioritizeRemote value is "1", not "0"
Click to expand...
Click to collapse
yes the setting on the pbk file are fine just save it and exit and your vpn should always stay connected.

eljefe0000 said:
yes the setting on the pbk file are fine just save it and exit and your vpn should always stay connected.
Click to expand...
Click to collapse
seems now is on... thank you... hope this work...

is not working... disconnected...

Could be on the server side. Idle disconnect. Do you have the log of the disconnect to see if it is a client side or server idle timeout?

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KeepWiFiOnSvc]
"Start"=dword:00000002
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\icssvc\Settings]
"PeerlessTimeout"=dword:00000078
"PublicConnectionTimeout"=dword:0000003c

nate0 said:
Could be on the server side. Idle disconnect. Do you have the log of the disconnect to see if it is a client side or server idle timeout?
Click to expand...
Click to collapse
no disconnect on PC or tablet (W10), only mobile...
i dont care... forget it.

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\RasMan\Parameters]
"KeepRasConnections"=dword:00000001

spavlin said:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KeepWiFiOnSvc]
"Start"=dword:00000002
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\icssvc\Settings]
"PeerlessTimeout"=dword:00000078
"PublicConnectionTimeout"=dword:0000003c
Click to expand...
Click to collapse
The KeepWiFiOnSvc did the trick for me.

Related

Chome weather won't update!

I make sure I've got data connected by testing on Google maps and ie, so I know the connection is present. When I goto "Weather Update", it looks to stall at 10%. I set it to "y" for connect to GPRS first. I have re-installed Chome weather and rebooted still no luck. BTW I'm running v 1.9d.
AznGunner said:
I make sure I've got data connected by testing on Google maps and ie, so I know the connection is present. When I goto "Weather Update", it looks to stall at 10%. I set it to "y" for connect to GPRS first. I have re-installed Chome weather and rebooted still no luck. BTW I'm running v 1.9d.
Click to expand...
Click to collapse
Change the "Y" to an "N" for 'Connect to GPRS first'. Try to update after that. If it doesn't work, then reboot and try to update again.
R U going through a proxy. (ie: using the 5.99 t-zones hack?) i've heard that using the proxy can cause issues with the update. The other thing is, if you are not using a proxy and are using the 19.99 tmobile plan, make sure under gprs settings and whatever you have your data connection named, that it's set to access "the internet"
pudgedaddy said:
R U going through a proxy. (ie: using the 5.99 t-zones hack?) i've heard that using the proxy can cause issues with the update. The other thing is, if you are not using a proxy and are using the 19.99 tmobile plan, make sure under gprs settings and whatever you have your data connection named, that it's set to access "the internet"
Click to expand...
Click to collapse
I am using the 5.99 proxy. Will updates work using this method? if so, how.
I'm going to look into this, but i believe i may have to add a line that specifies the proxy in he weather script.
I think I got it working. Previously, to get the 5.99 to work, I ran "tmotzones.cab" which input the settings for the proxy to work. I think that was my problem...now I removed that app and manually input the proxy settings, so now it looks good. Thanks for the replies.
i have the proxy manually input and it still doesn't update no matter what i do and i've done it all. The only time i can get it to update is via wifi. I can't even get it to work via usb sync only thru wifi. I have the starting 10% and when i press update it says no internet connection? but i have one and the proxy works on ie, live search, etc. any ideas?
try going to www.yahoo.com in IE and see if that works. Let me know if it does or not.
Update seems to be working, but now it looks like the pretty icon has turned to a large red "X".
What layout are you using and what's your location code ?
OrganicM said:
What layout are you using and what's your location code ?
Click to expand...
Click to collapse
I've just switched to Iphone slim LCD and will observe again...location @ 77346.
I had this same problem and posted it on the Chome weather thread:
http://forum.xda-developers.com/showthread.php?p=2217606#post2217606
Glad you got some answers.
I guess I'm still to new to the site.
I am using 5.99 plan, when i insert give me 10% update, when i insert (Y) uppercase worked. 100% . try and post.
Good observation. Works over data for me too when I capitalize the Y.
Thanks for the catch guys, I updated the script to detect that now I never had to use that options myself, since I'm on an "always on" connection. I just made that option available for guys like you, but never had a chance to really test it out on my own

[REQ] Data Auto Timeout

Hello,
I've tried searching but can't find anything except for the all singing all dancing tweak programs, so what I would like to know, is there an app that will simply disconnect the data connection after a specific idle time.
Say if the data connection isn't used for 10 minutes, it disconnects.
If there is such an app, could someone kindly point me to it, if not, could some of our gifted members make one? I wouldn't of thought it would be too difficult.
Thanks.
use HDtweak in the stickies at the top of the forum. That has an Auto-Dicsonnect on idle setting.
Wiggz said:
use HDtweak in the stickies at the top of the forum. That has an Auto-Dicsonnect on idle setting.
Click to expand...
Click to collapse
Thanks for the reply but like I said, I dont want the whole tweah everything program, just something to disconnect the data connection when idle after x minutes.
PooleyUK said:
Thanks for the reply but like I said, I dont want the whole tweah everything program, just something to disconnect the data connection when idle after x minutes.
Click to expand...
Click to collapse
I understand, but HDTweak doesn't have to tweak every program, it simply gives you the option...if you choose to use the auto disconnect tweak and none of the others that is all that will be tweaked (twunk??)
Cheers

WIFI Issue

I finally received my HTC desire today. After playing for a while, I found that it has a problem connecting to a hidden WPA2 secured wireless connection. Can anyone share some light with me here??
No probs here, tested with a couple of networks (hidden, of course)...
should install my new Linksys tonite (or on friday), and will post if anything goes wrong with that.
JapanLover said:
No probs here, tested with a couple of networks (hidden, of course)...
should install my new Linksys tonite (or on friday), and will post if anything goes wrong with that.
Click to expand...
Click to collapse
Hidden with WPA2?? impressive....you must be the lucky one!
sorry, WPA
I have the same issue.
I have a Draytek 2820n modem/router and my Desire will only connect to it if the SSID is not hidden (using WPA2 - that's what the router tells me).
Same problem here. At work the wlan is WPA2 with hidden ssid. Google'd the problems, and seems to be a known issue with Android.
Protac said:
Same problem here. At work the wlan is WPA2 with hidden ssid. Google'd the problems, and seems to be a known issue with Android.
Click to expand...
Click to collapse
I had a similar problem, and there is an application on the Market which is supposed to handle this. Sorry, I don't know whether it works, because finally I used SSID broadcast. I think the name was HiddenSSDI Enabler.
Jade_user said:
I had a similar problem, and there is an application on the Market which is supposed to handle this. Sorry, I don't know whether it works, because finally I used SSID broadcast. I think the name was HiddenSSDI Enabler.
Click to expand...
Click to collapse
I've just tried HiddenSSID Enabler on my Desire and it appears to work OK. You need the wi-fi turned on to enable it but you get no indication that it is enabled. I just rebooted (to be sure) and it works. If wi-fi is off when you enter your SSID, it will tell you that it can't find it - which seems logical to me.
Thanks for the tip Jade_user.
Sorry to hijack but it is along the same lines..
When I attempt to connect to my wifi router it gets stuck on Obtaining Address.. So I thought to myself right... set up static IP address for the desire... Connected.. Brilliant... except its not.. can't get on any web pages or any thing else that requires a connection!
I have been able to connect to other wifi spots fine but just doesn't want to seem to work on my router at home! I have checked the settings on the router and all appears to be fine (never had a problem before with any of the multitude of devices that have been connected). Checked the spectrum and the wifi channel appears to be all clear.
The SSID is not hidden, the security is WEP... the router is the stock job sent by O2 (they call it O2 Wireless box II, I forget the real model name but I am pretty sure its a rebranded Thompson..). I have a similar router at another address and it connects fine on that one and both are on ASDL2 lines.
Sorry for the long post but tried to include as much info as possible! Its really annoying not be able to get on the wireless as its a basement flat and phone reception is dire to say the least!!
Many thanks in advance,
Pixie
I have the same issue, phone thinks it is connected to wifi just fine, but no data.
However, after investigating a bit more, it seems that it is the DNS lookups that fails, since in that situation, surfing directly to an ip address works just fine, but not if it requires a dns lookup !?!
Hmmm... I just changed the security to WPA and now it is working fine :S.. still annoying because now we are going to have to change all other devices over.. Might be worth a punt in your case tunedude?
REB1 said:
I've just tried HiddenSSID Enabler on my Desire and it appears to work OK. You need the wi-fi turned on to enable it but you get no indication that it is enabled. I just rebooted (to be sure) and it works. If wi-fi is off when you enter your SSID, it will tell you that it can't find it - which seems logical to me.
Thanks for the tip Jade_user.
Click to expand...
Click to collapse
Can you tell me where in the option there is a feature called "HiddenSSD enabler" just cant seem to find them anywhere. Maybe I am blind, can you share some light???
kuailan said:
Can you tell me where in the option there is a feature called "HiddenSSD enabler" just cant seem to find them anywhere. Maybe I am blind, can you share some light???
Click to expand...
Click to collapse
Have you looked in the Market? It's not a standard option, you need to install it from the Market - just search for HiddenSSID.
REB1 said:
Have you looked in the Market? It's not a standard option, you need to install it from the Market - just search for HiddenSSID.
Click to expand...
Click to collapse
Ya found it, install it...but no effect?? dont even know if the program work. It just have the screen to type the SSD?? and then enable button. I have clicked many times on the button, but nothing happen. In the Wifi setting, I created the name but still it says out of range.
There is nothing wrong with the WIFI, when I broadcast the SSID, it work just fine. Anyway, I give up...I just broadcast them.
Just add MAC filtering as mentioned before - more secure than hidden SSID
EddyOS said:
Just add MAC filtering as mentioned before - more secure than hidden SSID
Click to expand...
Click to collapse
I'm using both - just to make sure.

[Q]wifi ad-hoc network?

hey all anybody out there is able to connect to ad-hoc networks?
its the only thing that keeps me from using android cuz i use my phone as a link to the internet
I tried some stuff posted in other places but it didn't work
thx in advance
So you want to tether the data connection on your phone to your laptop, or the other way around...?
XDAndroid wifi tethering app - that'll allow you to tether your data cxn on your phone to a wifi enabled PC.
If you want the other way around... bleck, not sure.
i don't want to tether my brother uses the computer all the time and im stuck with ad hoc in winmo,
there is a solution all over the internet like this one http://exop.pro/blog/2010/08/15/ad-hoc-support-for-android/
but i don't know if it will support our phones because i don't know how to apply patches
p.s this requires a rooted phone whatever that means
husam666 said:
i don't want to tether my brother uses the computer all the time and im stuck with ad hoc in winmo,
there is a solution all over the internet like this one http://exop.pro/blog/2010/08/15/ad-hoc-support-for-android/
but i don't know if it will support our phones because i don't know how to apply patches
p.s this requires a rooted phone whatever that means
Click to expand...
Click to collapse
XDAndroid is already rooted... Comes that way.
You can try to apply the patch, no clue. Never used it.
So I assume the laptop has a wired internet connection, and it's being shared as an ad hoc connection thru the laptop?
I'd say two choices - try to fiddle with the patch, or just spend $30 and get an actual router
WTF!!!
Definitely go for the router, mate.
You are trying to solve a problem possibly creating a new one, but a hundred times bigger.
tried to mess with my system image by mounting it and replacing the files no luck at all (you will get error when starting wifi);
I should go for a faster internet connection such as wimax that comes with a router
thx for support guys
husam666 or anyone else who got this working,
I saw in another thread you got this working but you didn't say how. I tried to edit my froyo.user.conf but I didn't know what I was doing and it didn't work. Can you tell me how you got it to work? Which file and how to edit froyo.user.conf?
Specifically, I'm running Froyo7 on my Rhodium and trying to connect to an ad-hoc network that is broadcast from another cell phone (a Nokia--so no infrastructure available).
Thanks!
matt300 said:
husam666 or anyone else who got this working,
I saw in another thread you got this working but you didn't say how. I tried to edit my froyo.user.conf but I didn't know what I was doing and it didn't work. Can you tell me how you got it to work? Which file and how to edit froyo.user.conf?
Specifically, I'm running Froyo7 on my Rhodium and trying to connect to an ad-hoc network that is broadcast from my other cell phone.
Thanks!
Click to expand...
Click to collapse
Seems Android doesn't support ad-hoc out of the box, which it seems you already know.
I would much prefer to use a real AP, as opposed to anything adhoc. But that's just me.... What is your other phone? That isn't capable of putting up an actual AP?
lol, just read your sig. If the other phone is the Tytn, I feel your pain.
Actually, I still have the Tytn (still works!), but I'm using a Nokia E71 as my main phone at the moment. Too much of a pain to pop the sim card out when I want to use Android and the Nokia's Joikuspot (equivalent to WMWifi Router) is ad-hoc only.
yeah i got it to work actually, i found drivers somewhere, but sorry dude, it's been a long time and i forgot where
yeah i got it to work actually, i found drivers somewhere, but sorry dude, it's been a long time and i forgot where
Click to expand...
Click to collapse
If you get the time, could you copy the relevant lines out of your froyo.user.conf file?
I've tried two versions of the wpa supplicant I found, wpa_adhoc-signed from http://forum.xda-developers.com/showpost.php?p=7674767 and wpa6_adhoc-signed from another thread.
My guess is I was editing the froyo.user.conf incorrectly.
If there is some way to fix ad-hoc permanently, I wouldn't mind integrating it into the build. If stine is cool with it, it'll get baked into the system image. If he's not... I'll just include it with the bundle .
Let us know if you figure it out.
is it possible (in general) to put it in Infrastructure mode?
AkumaX said:
is it possible (in general) to put it in Infrastructure mode?
Click to expand...
Click to collapse
Not when using WMwifirouter (Windows Mobile) or Joikuspot (Symbian) as the access point. I don't keep my sim card in the Rhodium full time but it's nice to have internet on it when I need it.
Cool, Working!!
OK, I finally got it right. Here's what I did:
Downloaded the wpa_adhoc-signed.zip file from this post: http://forum.xda-developers.com/showpost.php?p=7674767
Copied just the wpa_supplicant file to the root of the sdcard (it's inside of the wpa_adhoc-signed/system/bin folder of that zip file)
Using Notepad++, inserted the following line into the froyo.user.conf file:
mount --bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant see this post: http://forum.xda-developers.com/showpost.php?p=10984380&postcount=1
Here's how the last section of my froyo.user.conf file looks:
# custom shell commands, these commands run last
custom_shells{
chmod 777 /etc/dbus.conf
mount --bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant
#echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch
rm -f /sdcard/fsck*.rec
modprobe ipv6
modprobe xt_owner
modprobe ipt_REJECT
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
}
Seems to be running nice and stable with my Nokia E71 providing the internet connection using Joikuspot and secured with WEP. Tried switching back to my home network secured with WPA2 and it still works as well.
matt300 said:
OK, I finally got it right. Here's what I did:
Seems to be running nice and stable with my Nokia E71 providing the internet connection using Joikuspot and secured with WEP. Tried switching back to my home network secured with WPA2 and it still works as well.
Click to expand...
Click to collapse
Cool! Looks like this will have to be shoehorned into the system - so it'll have to be something stine accepts. Thanks!
this is what i added to my config file:
Code:
--bind /sdcard/wpa_supplicant /system/bin/wpa_supplicant
i had the wpa_supplicant file in the root of my sdcard
and yeah, the drivers also fixed WEP
husam666 said:
and yeah, the drivers also fixed WEP
Click to expand...
Click to collapse
Damn! Well I guess we're really going to have to find a way to implement those. Awesome... I wish I would've noticed this last time this thread was popular .
arrrghhh said:
Damn! Well I guess we're really going to have to find a way to implement those. Awesome... I wish I would've noticed this last time this thread was popular .
Click to expand...
Click to collapse
lol, i tried to tell you more than once, in different threads, i guess you were busy
husam666 said:
lol, i tried to tell you more than once, in different threads, i guess you were busy
Click to expand...
Click to collapse
Hum... I guess I vaguely remember the adhoc conversations, but I don't recall the WEP ones. At least I didn't realize that they went hand-in-hand...
We probably did talk about it. I've lost a lot of things in the ether... Oh well, I'll try not to forget it next time we're scrambling to do a release .

[Q] Data problem

Hello,
I use this variable for the data connection #NCCONNS#. Before when I put the data off, a text "None" appears to say i'm not connected.
Now when I put my data connection off the "E" or "H" stay and I would like the see the "None" comeback. I'm not connected on wifi or on data.
Thanks for help
Faxx4840 said:
Hello,
I use this variable for the data connection #NCCONNS#. Before when I put the data off, a text "None" appears to say i'm not connected.
Now when I put my data connection off the "E" or "H" stay and I would like the see the "None" comeback. I'm not connected on wifi or on data.
Thanks for help
Click to expand...
Click to collapse
One possible solution:
Code:
$#NDATAON#=1?#NCCONNS#:None$
kwerdenker said:
One possible solution:
Code:
$#NDATAON#=1?#NCCONNS#:None$
Click to expand...
Click to collapse
The problem is that with #NCCONNS# the "E" stay but when I change the variable for #NDATAON" it shows me 0 !
Before everything works fine I didn't change anything and now no more "None" when data are Off...
Faxx4840 said:
The problem is that with #NCCONNS# the "E" stay but when I change the variable for #NDATAON" it shows me 0 !
Before everything works fine I didn't change anything and now no more "None" when data are Off...
Click to expand...
Click to collapse
Use the full string as I posted it. #NDATAON# just tells if data is on or not. It's used as a condition to decide if #NCCONNS# should be displayed (if #NDATAON#=1) or not (if #NDATAON#=0).
kwerdenker said:
Use the full string as I posted it. #NDATAON# just tells if data is on or not. It's used as a condition to decide if #NCCONNS# should be displayed (if #NDATAON#=1) or not (if #NDATAON#=0).
Click to expand...
Click to collapse
When I'm on wifi it says 1 its normal ? When I put wifi and data off it says to me 0 that's ok but one thing I don't understand its after if I choose the variable #NCSTATE# it shows me 3 who says "connected" normally this would be also on 0 if everything is off ?
Faxx4840 said:
When I'm on wifi it says 1 its normal ? When I put wifi and data off it says to me 0 that's ok but one thing I don't understand its after if I choose the variable #NCSTATE# it shows me 3 who says "connected" normally this would be also on 0 if everything is off ?
Click to expand...
Click to collapse
In that case I misread the documentation for the variable. I thought it meant cellular data but it seems to be for either cellular or wifi. In that case we just have to test for wifi too:
Code:
$#NDATAON#=1 && #NWSTATE#!=2?#NCCONNS#:None$
kwerdenker said:
In that case I misread the documentation for the variable. I thought it meant cellular data but it seems to be for either cellular or wifi. In that case we just have to test for wifi too:
Code:
$#NDATAON#=1 && #NWSTATE#!=2?#NCCONNS#:None$
Click to expand...
Click to collapse
I use this $#NDATAON#=1&&#NWSTATE#!=2?#NCCONNS#: $
Awesome now It shows me a E or H when I'm connected and nothing when I'm off for the data ! That's what I'm looking for a while !
Great thanks to you !
Faxx4840 said:
I use this $#NDATAON#=1&&#NWSTATE#!=2?#NCCONNS#: $
Awesome now It shows me a E or H when I'm connected and nothing when I'm off for the data ! That's what I'm looking for a while !
Great thanks to you !
Click to expand...
Click to collapse
Ah ok, my understanding of your question was how to get the 'None' back. If you just want to blend out the #NCCONNS# you can leave the ': ' out entirely so the end looks like this ?#NCCONNS#$
Have fun with it
I am also wondering why the #NCONNS# dont show the none or nothing when the data were off.
And unfortunatly u got me what i was looking for for a long time.
Envoyé depuis mon Nexus 5 avec Tapatalk 4

Categories

Resources