WiFi Hotspot timeout registry key - Windows 10 Mobile

Hi Folks,
I have win 10 Lumia 650 and use it as wifi hotspot sometimes as i have my 4G sim in it.
The default timeout for turning off hotspot is very low, if i move out of room and the connection drops from connected devices within couple of minutes hotspot turns off.
Does anybody know the registry entry for increasing the timeout period?
Cheers!

Increase WiFi Mobile Hotspot no clients timeout:
The time-out period, in minutes, after which Internet sharing should automatically turn off if there are no longer any active clients. This node can be set to any value between 1 and 120 inclusive. A value of 0 is not supported. The default value is 5 minutes.+
A reboot may be required before changes to this node take effect.
Code:
HKLM\System\ControlSet001\Services\ICSSVC\Settings\PeerlessTimeout
Increase WiFi Mobile Hotspot no internet connection timeout:
The time-out value, in minutes, after which Internet sharing is automatically turned off if a cellular connection is not available. This node can be set to any value between 1 and 60 inclusive. The default value is 20 minutes. A time-out is required, so a value of 0 is not supported.
Changes to this node require a reboot.
Code:
HKLM\System\ControlSet001\Services\ICSSVC\Settings\PublicConnectionTimeout

Related

How do you enable auto wifi on startup or auto-connect at hotspots?

How do you enable auto wifi on startup or auto search for hotspots?
Like to have the phone connect automatically ecah time its within network range.
What's needed to allow "auto" hotspot connections so the phone connects automatically when in hotspot range?
Thanks
Big_O said:
How do you enable auto wifi on startup or auto search for hotspots?
Like to have the phone connect automatically ecah time its within network range.
What's needed to allow "auto" hotspot connections so the phone connects automatically when in hotspot range?
Thanks
Click to expand...
Click to collapse
think you would just have to add that hotspot...then leave your wifi on which will kill your battery...when it detects that hotspot it should auto connect
Big_O said:
How do you enable auto wifi on startup or auto search for hotspots?
Like to have the phone connect automatically ecah time its within network range.
What's needed to allow "auto" hotspot connections so the phone connects automatically when in hotspot range?
Thanks
Click to expand...
Click to collapse
if you want to constantly search for hotspots with a wifi finder, you're going to eat thru battery like crazy. The constant searching and findin no signal will suck your juice.
Starting on startup is a matter of placing a link to start it in windows\startup . Depending on how the app starts, it may need a script to assist with the startup.

[Q] PROBLEM: WLAN (WPA Enterprise) does not work for a long time

Hi!
First: I do not know wether General discussion - Networking would be a better place, so if an admin thinks so, please move this thread.
my problem: after some hours, offen after night, my wlan does not work properly:
my config:
2 WLAN-routers Syslink WRT54G with DD-WRT v24-sp2 with identical config (SSID and so on - but of course different channels):
two virtual WLANs on each
1) WPA(2) Enterprise with username/pass or user certificate
radius server
for individual users
2) WPA(2) PSK for wlan radios and so on
my Desire uses 1) (tried both: username and certificate, same result)
my Desire:
various radios, now 5.10.05.23
LeeDroid V2.0a Froyo
my problem:
after some hours in the Wi-Fi config I got:
Wi-Fi: Authenticating with MY_SSID...
and this messages does not change.
This has interesting effects to my Desire:
there is still the wlan symbol in status bar, no G3 (mobile network setting is on) so my Desire seems to know, that wlan is working
htc weather app - refresh - "Unable to connect You need a network connection to use this application. Please turn on mobile network or Wi-Fi"
standard internet browser - internet works fine
http://mobil.tagesschau.de Streaming of Tagesschau in 100 Sekunden
popup "Movies or Streaming Media Player" - Movies = all works, Streaming = "Connection failes This application requieres network access ..."
Astrid snyc - works
maps - works
K-9 - new mails are received after manual "check mail" but not pushed via IMAP idle
via *#*#4636#*#*
Wifi Config
* ID 5 SSID: "MY_SSID" BSSID: null
PRIO: 67
KeyMgmt: WPA_EAP IEEE8021X Protocols: WPA RSN
AuthAlgorithms:
PairwaiseCiphers: TKIP CCMP
GroupCiphers: WEP40 WEP104 TKIP CCMP
PSK:
eapEAP
phase2: auth=MSCHAPV2
identity: My User Name
anonymous_identity:
password: xxxxxx
client_cert:
private_key:
ca_cert:
Wifi Status
Wifi State: enabled
Network State: Authenticating with MY_SSID
Supplicant State: COMPLETED
RSSI: -61
BSSID: 00:14:xxxx
SSID: MY_SSID
Hidden SSID: false
IPaddr: 192.168.1.15
MAC addr: 38:xxxx
Network ID: 5
Link Speed: 54 Mbps
Scan results:
run ping test:
ping IpAddr: pass
ping Hostname (www.google.com): pass
HTTP Client test: pass
even if there is an "authentication ..." message
my radius server log shows me no authentication process, no working and no failing one.
so, now I have to options:
wifi off/on or
going to the second wlan ap, so my Desire switches to it because this is then the stronger wifi
signal
in wifi setting now: Connecting MY_SSID, scan, Connecting, Connected with MY_SSID
after this K-9 get immediately new mails pushed via imap idle, weather updating works, streaming is fine ... and my radius server log shows me an authentication process
(I swaped both routers but no effect for my problem.)
changes in *#*#4636#*#*
Wifi State: enabled
Network State: Connected to MY_SSID
RSSI: -64
Any idea for this strange phenomenon? It is very annoying!
nobody here who uses WPA enterprise / wpa with radius?
Hi
were you able to ever fix this problem. I am currently having the same issue
thanks
there is an issue in google's android bugtracker, with many concerned users, but no help by google.
http://code.google.com/p/android/issues/detail?id=12125
Hi Folks
Does anyone know if there is a ROM that fixes this issue, or if there is a fix anywhere. We have a number of Desires in the office which all suffer this issue when connected to our Cisco based WiFi network (WPA Enterprise). We have managed to get IT to extend the re-auth period to 1hr, but they will go no further. Current work around is to take a walk to the other side of the office and force a re-associate to a new AP (or dis/enable wifi on the phone). Not ideal.
Thanks
there is still no fix to this, but I found a working solution:
Fix My Wifi
https://market.android.com/details?...wsMSwxLDEsImNvLnVrLnN5c2x5bnguZml4bXl3aWZpIl0.
https://market.android.com/details?...xLDEsImNvLnVrLnN5c2x5bnguZml4bXl3aWZpZGVtbyJd
HTH

Help with my wlan_rx_awake issue N7 4.2.2

I've been trying to narrow down the battery leech on my Nexus 7. Something is keeping it from going into deep sleep; it will spend more than 80% of its time in wlan_rx_awake and 20% in deep sleep and a few others (with screen off and otherwise idle). For example I just rebooted about 2 hours ago and while PowerManagerService is currently the #1 offender since I've actually been using the tablet, for just wlan_rx_wake I've got 32 minutes and a count of 2204. Last night I saw the count at over 8000 and the majority of the time.
I've blown away the obvious suspects - apps that might be waking my device up like facebook or garbage like that. I've done a lot of googling and UTFSE, and have been monitoring BetterBatterySaver, Network Log, and CPU SPY. There are no single processes or appps that seems responsible on the N7 - I'm thinking it's some sort of wireless broadcasts from my d-link 655. Network log shows a lot of UDP packets from 192.168.0.184 to 255.255.255.255, with source ports either 32805 or 32806 and dest port 1234 or 53274. Some research shows 1234 is VLC USP stream and 53274 TCP is "Xsan. Xsan Filesystem Access" from Apple - but I don't find anything about UDP 52374 192.168.0.184 is my Seagate Goflex Home, my network attached storage device - which is also a media server. I don't use the media server component but it apparently can't be disabled (though I've thought of logging into the goflex via the secret ssh interface and killing the minidlna server for troubleshooting purposes[it's running an embedded linux].) I've already disabled UPnP on it and that didn't change anything. I've also gone to the 2 Windows 7 machines that share the wifi and disabled the IP Helper service; something I read somewhere suggesteted that. It also suggested disabling Shell Hardware Detection, but disabling that service disable Windows Image Acquisition, rendering my wifi-attached HP 3050 scanner inoperable. So I had to leave those running. I'm not seeing a lot of packets from that printer so I don't think that's it - I really am suspecting the Goflex Home.
I wish I could output from Network Log. The Goflex home traffic is broadcast in bursts of about ten packets with anywhere from 1 minute to 45 minutes between. That's why this is my suspect but it could be a red herring. Can anyone offer me suggestions on how to proceed? Is there perhaps a sysctl command I can use to tell the device to go into deep sleep quicker? I suppose I could just have wifi turn off when the screen does but I'd rather not, I like the benefit of having everything sync'd and up to date. For now I've installed DS Battery Saver which just intermittently turns on Wifi. Hasn't been long enough to know if that helps.
Thanks for any help!
tl;dr wlan_rx_wake is keeping my device from deep sleep, leeching battery, and I suspect it's my Goflex Home's network broadcasts but I'm not sure.
Edit: Attached BetterBatteryStats output log
Did you try shutting the NAS down for some time, to really see if that's the culprit ?
Also one idea I've seen is disabling IPv6 on Windows clients in Adapter settings, which connect to the network, but this probably isn't the main case here.
Regarding output from Network log, you can enable monitoring in the app, so the log gets recorded to the storage. You can even filter the output before recording, so it's not crowded.
madd0g said:
Did you try shutting the NAS down for some time, to really see if that's the culprit ?
Also one idea I've seen is disabling IPv6 on Windows clients in Adapter settings, which connect to the network, but this probably isn't the main case here.
Regarding output from Network log, you can enable monitoring in the app, so the log gets recorded to the storage. You can even filter the output before recording, so it's not crowded.
Click to expand...
Click to collapse
I've got it logging, and filtered right now for just the Goflex IP.
I have rebooted the goflex, but not shut down for a period of time. Since it's only a weekly backup server that's not a bad idea.
I have made some progress. I got root on it and killed the minidnla service as well as the mt-daapd service (the latter provided Itunes [and possibly Bonjour] service I learned). Even with those killed I'm getting the same spurious UDP broadcasts with the same UDP ports. Using netstat on the goflex I found that a service called "locator-server" was opening connections to one of the aforementioned remote ports (didn't note which). I can find very little info on this service in google though. The goflex's core is an Axentra so I'd think more info would be available but not that I could find. Here's what's in the startup script for that service:
# locator: UDP broadcast of HipServ's presence
# description: broadcasts UDP messages to announce presence
I *think* that locator broadcast is just for this garbage Seagate dashboard program which is not necessary for the function of the NAS and is not installed. But I'm not sure. I suppose I need to shut it down and see if I lose functionality.
I guess I before I spend more hours on this I need to answer a basic question: does a series of wireless UDP packets to 255.255.255.255 even keep the N7 in wlan_rx_wake state?
Whatever's doing it is hitting it hard, of 2 hours uptime BetterBattery shows 45 minutes wlan_rx_awake right now with 2nd place going to just 2 minutes of PowerManagerService.
Edit: well I killed locator and not 2 minutes later got another burst of traffic from it, to UDP ports 1234, 53274, from 32775 and 32776. I even did "netstat -cap|grep -e 1234 -e 32775 -e 32776" but got no output. Time to shut it off.
Edit: No longer getting the spurious broadcast packets, but the wlan_rx_awake number continues to grow. All apps look normal - google play, mail, currents.
Hm, maybe try shutting down all devices in your network except the phone and router. That's the easiest route to troubleshooting with so many parameters - exclusion.
If this doesn't help, then you might want to borrow another router and after that it must be the phone configuration. But you'll know where to focus on.
A quick google for udp broadcasting to 255.255.255.255 says it might be the Apples Bonjour service. I presume you have some Apple software on the clients, so you might want to check that out. Try my suggestion above to see if it clears up when only the phone is present on the network and you'll know it's the other clients for sure.
Well I did a sort of test like that today - I took it to work. No issues at all with it going into deep sleep or wlan_rx_wake increasing dramatically. My battery lasted all day even with quite a bit of use.
Using Network Log I can easily see which systems are sending out the 255.255.255.255 packets, next step is to narrow it down as to what IP corresponds to what device. I can't shut all devices down, I have roommates.
With the Goflex NAS shutdown, my network broadcasts have dropped dramatically. At work I can use it off and on all day and still have 80% battery with 5 hours deep sleep. I get home and the battery starts to drop faster, and the wlan_rx_wake counter starts rapidly going up. But Network Log shows only normal things like checking email, no suspicious packets. I don't get it - why is it that at home the wlan_rx_wake counter just goes nuts and my battery shoots downwards -- it's now at 64%, down from 80% when I got home four hours ago, and I haven't even touched it.
Then it's the clients or router, if thats also whats left in the network ;] As i said try to troubleshoot those, talk to roomates to shut them down for couple hours or something.. Maybe its just one particular client, with some kind of broadcasting **** which is waking your device.
Sent from my Galaxy Nexus using Tapatalk 2
Do you happen to know does any packet sent to the broadcast address wake an N7 up from deep sleep?
Also shouldn't they be showing in Network Log? It's like wireshark so it should be showing any packets I receive.
You can also go through some tips in here : http://forum.xda-developers.com/showthread.php?t=2133176
The NetBios part was happening in my home network and I saw those in Network Log app.
Thanks, those are good tips I hadn't stumbled across that thread. I don't think I can disable netbios (I'd have to google how to do that anyway); I do my backups and file storage to a Goflex NAS via Windows networking and my wife I and I share some files between our Windows 7 machines. I also can't turn off Shell Hardware Helper service, as it seems to be needed for my network scanner. I did turn off the other services already "IP Helper" and "Windows Media Sharing Service" with no change. I've already got all systems that I have control over getting a static IP from the DHCP server, though I realize that's not the same as setting a static IP. But if I set a static IP I'll have to disable it when I get to work and re-enable when I get home. If I just spent my time on one network that'd work. Actually though for testing I could do a static I suppose. It's not possible in 4.2.2 to set a static IP on one SSID and DHCP on another is it?
Network Log is really not showing much NetBIOS activity anyway - seems like dhcp requests are the most common broadcasts I'm seeing.
Biggest revelation from that thread was that Network Log doesn't capture all packets! - I'd need to put Shark for Android on my N7 then transfer the file to my desktop and use Wireshark to look through it. Ugh, time consuming but I may have to do. Another thing I can try is disable IPv6 on my N7 but it looks like I need to install Android Firewall to get to that setting, it's not accessible otherwise.
Edit: Changed my DHCP leases from 24 hours to 7 days. I found these interesting checkboxes in my router config page though (Belkin d-655):
Enable DHCP Server: X
DHCP IP Address Range: 192.etc to 192.etc
DHCP Lease Time: 25200 (minutes)
Always broadcast: X (compatibility for some DHCP Clients)
NetBIOS announcement: X
Learn NetBIOS from WAN:
NetBIOS Scope: (optional)
NetBIOS node type :
Broadcast only (use when no WINS servers configured) X
Point-to-Point (no broadcast)
Mixed-mode (Broadcast then Point-to-Point)
Hybrid (Point-to-Point then Broadcast)
Primary WINS IP Address: 0.0.0.0
Secondary WINS IP Address: 0.0.0.0
I wonder what would happen if I turned off those two broadcast options....
I tried changing to hybrid mode, then making 192.168.0.1 (my router) as the first address. All sorts of things went awry then. I could get to the internet despite the Network and Sharing Center showing an X. Also when I tried to browse my network, it said File and Printer Sharing service is turned off, do you want to turn on? I'd hit yes and a second later would do again. I went into the Windows 7 settings and everything regarding sharing had been changed to no. So I turned them back on (I also share a printer from this computers) And I reverted back to broadcast only on the router and now I can browse my local network, but the goflex didn't show up under Network until I went there by hand (\\goflex_home\) in an explorer window. Very odd. Maybe I'll just stop wasting time with this before I break something, and just use DS battery saver at home.
Well, I've not made a little progress, my tablet battery can last overnight now. It still spends many hours in wlan_rx_wake (6 hours) though deep sleep is finally beating it (17 hours). The only significant changes I can think of were disabling "IP Helper" and "Windows Media Sharing" services, and disabling DLNA and mt-daapd on my goflex_home. To do that I had to ssh in, and chkconfig'ing them off didn't work - I had to rename their startup scripts /etc/init.d. I think it was the latter that helped the most as Network Log showed most broadcasts coming from it. I'm still curious if any broadcast traffic on the wlan is enough to trigger the N7 to wake up from deep sleep. CPU Spy shows most cpu time in Deep Sleep now, with the next highest being 340mhz.
Hope this info helps someone else.

[Q] change CM12 wifi hotspot broadcast channel

Background
I live in the stix and my only source of internet is my 'unlimited' data plan via phone carrier which also 'allows' me to tether.
This gives me about 15meg download on 58-65 ping which is really nice especially as there is no extra charge for the data I use.
Issue
Recently I started getting random 'limited' connectivity.... which of course means no net connection and to fix I discover the 'Default gateway is not available' and the adapter needs resetting. This solves the network connection.... but a complete nightmare if I'm downloading a big file that can't be torrented and I have to start again. I've tried changing from 'Obtain IP address automatically' to manually setting the IP address,subnet mask and default gateway but this random dropout to 'limited' persists.
I installed Vistumbler to check traffic and discover I'm broadcasting on channel 6 which is populated with lots of other traffic (5 other networks near by using channel 6) and figure this may be a potential cause. (someone else disconnecting from channel 6 at shutdown maybe...?... but that's a wild guess) So only way to discover how to stop this happening is by a process of elimination.
Question:
Does anyone know which 3rd party Wi-Fi tethering app will work on Lollipop and can change the broadcast channel number of my wifi hotspot from my Z1c running CM12...?

any way to increase wifi tethering speed?

I am on a Verizon grandfather unlimited. Rely on tethering especially when traveling. Any way to increase tethering connection speed?
I'm not familiar with what vzw uses to detect tethering.
On cricket they use ttl. Anything other than 64 results in 128 kbps throttle.
So far two ways work.
1) Change client device ttl to 65 (decimal) in registry (https://social.technet.microsoft.co...-ttl-in-windiws-10?forum=win10itpronetworking) . On other rooted android devices use can try TTL master - doesn't work on this one because ttl mod is missing from kernel).
2) If this is not possible, you can use Vpn hotspot (https://play.google.com/store/apps/details?id=be.mygod.vpnhotspot&hl=en_US) to bind the phone's hotspot and vpn connections. This works too but relies on an upstream vpn server. I run my own vpn server for remote access so this requirement is easily met.
#2 will consume is more resource intensive because of the vpn connection management.
According to https://www.reddit.com/r/Android/comments/cmxp66/2019_bypass_verizon_hotspot_throttle_no_root/ , vzw uses ttl too, so these methods should work.

Categories

Resources