Recommended Posts

Hey everyone, 

 

I haven't touched my network setup in a long time as it's been working with no issues for months. 

 

Over the last week or so, I've noticed that some devices struggle to stay connected to the network. At the moment, there's a Kindle and a desktop that are struggling to stay connected. 

 

I've no idea where to start looking into this so any pointers would be great!

 

I have a USG, two Unifi APs (Lite) and a D-Link switch (DGS-1100-08P).

Link to comment
https://www.neowin.net/forum/topic/1395319-network-keeps-dropping-off/
Share on other sites

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

3 minutes ago, Mindovermaster said:

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

Yeah all wireless devices. Just over a 12 months old so I really hope not!

11 minutes ago, Mindovermaster said:

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

Multiple APs failing?🤨

@dipsylalapo

Start here: look at the events and alerts in the Unifi controller for clues. When is the last time you restarted your network equipment?
 

 

2 minutes ago, adrynalyne said:

Multiple APs failing?🤨

@dipsylalapo

Start here: look at the events and alerts in the Unifi controller for clues. When is the last time you restarted your network equipment?
 

 

Just this morning, there was an update that was pushed. I don't think they two are connected as the timings don't match up.

 

Nothing specific in the alerts.

So I think I've resolved it. I did some Googling and changed the DTIM period from 1 to 3. Not something that I'd changed or has been a problem before, but it seems to have resolved the issue.

 

The 18 or so devices that I have connected seem to be holding steady. Something that hasn't happened all day. 

 

Bizarre.

 

Edit - @BudManPlease stand down 😉

  • Haha 1

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

1 hour ago, BudMan said:

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

I bet he triggered a re-provision with the setting change  and that was what fixed whatever weird state the APs were in. 

Quite possible sure..  It seems odd that changing dtim would have such an issue to be honest.. My guess is something to do with dhcp.. That could possibly be related..   Loss of lease would for sure drop a client off the network.

On 5/9/2020 at 10:37 PM, BudMan said:

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

Of course you were right :) Sorry missed these last few posts. The issue is back today. 

 

One of the devices (an iPad mini) still has the issue but another iOS device has joined the fray with random disconnects. 

 

I've set the DTIM back to 1 and I'll see what happens. Do you need to know the bits re. the DHCP now or after they have issues?

 

EDIT - So the iPad Mini is still not connecting. It has an IP on the lease table, due to expire 24 hours from now.

Yeah that would make more sense.. Whats your dhcp server - some ###### router?

 

To be honest 3 vs 1 on dtim would prob make that worse..  How exactly are you setup?  What is the layout of your network.. You said usg and some AP - but are the ap wired, or using wireless uplink to each other?  Never ran dhcp on the usg myself - running it at my sons place, but its only been a week or so - and to be honest just the little bit been over there setting stuff up, have seen some dhcp issues.. shrugged it off - because it worked after a bit, etc.

 

He just got a new place, and had a usgp3 on the shelf, told him he could have it - he got a flexHD for his AP.. And stuff reports to my controller so I can keep an eye on the network... But I can see getting him a pfsense box at some point..

 

I had that usg as my router for a few weeks, couldn't get rid off it fast enough if you ask me (sg4860 was on back order at the time).. While I love their AP.. And the usg is a great price point.. And has some great eye candy, etc.. Not overly impressed to be honest - the management is horrible for any sort of firewall rules, etc..

 

Wouldn't be surprised if issues with the dhcpd on it.. What firmware you running?

 

With a working dhcp as it suppose to, your lease should never get past the 50% mark, since that is when it renews.  So if you have a 24 hour lease, every 12 hours you should get a new 24 hour lease.. It should never get close to expired..   The closer it gets the more often it asks for renew.. Until finally it gives up, drops the lease and does a discover - you should never get there.  If you are, something is wrong.

 

If its doing that - then yeah you could see a disconnect from internet, and if taking a bit to get new one from discover - you could see some down time.

On 5/13/2020 at 10:23 PM, BudMan said:

Yeah that would make more sense.. Whats your dhcp server - some ###### router?

 

From what I can tell that's all set to Auto/default at the moment.

Quote

To be honest 3 vs 1 on dtim would prob make that worse..  How exactly are you setup?  What is the layout of your network.. You said usg and some AP - but are the ap wired, or using wireless uplink to each other?  Never ran dhcp on the usg myself - running it at my sons place, but its only been a week or so - and to be honest just the little bit been over there setting stuff up, have seen some dhcp issues.. shrugged it off - because it worked after a bit, etc.

I have my cable modem attached to my USG  which is connected to a switch and the two APs are hardwired to this. Like below

image.thumb.png.1b82c6becc53012a4f1c992f50cee79e.png

On 5/13/2020 at 10:23 PM, BudMan said:

Wouldn't be surprised if issues with the dhcpd on it.. What firmware you running?

 

It's running 4.4.51.5287926 which is latest stable build

 

On 5/13/2020 at 10:23 PM, BudMan said:

With a working dhcp as it suppose to, your lease should never get past the 50% mark, since that is when it renews.  So if you have a 24 hour lease, every 12 hours you should get a new 24 hour lease.. It should never get close to expired..   The closer it gets the more often it asks for renew.. Until finally it gives up, drops the lease and does a discover - you should never get there.  If you are, something is wrong.

 

If its doing that - then yeah you could see a disconnect from internet, and if taking a bit to get new one from discover - you could see some down time.

Is there any way I can check/confirm this? Set a shorter lease time (say a few hours) and see what happens there?

 

On Saturday when I was looking into it a bit more I noticed that a machine we have flat out stopped connecting to the network because my wife was in the middle of something and needed to get going ASAP, I put together a new wireless network and move over the 2/3 devices that were having issues to it. Since then those devices have been fine. I'm going to do some digging today to see if I can see if there's a difference in the set up. 

 

Thanks again!

On 5/18/2020 at 3:03 AM, dipsylalapo said:

Is there any way I can check/confirm this? Set a shorter lease time (say a few hours) and see what happens there?

That would be a good way to get your problem window into a shorter time frame from troubleshooting sure.

 

Do you have dhcp snooping enabled or not?  If you have it enabled have you setup the trusted dhcp server?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • If I ever get that issue I will let you know how I fix it
    • As I've been usually saying lately - we all can thank "AI" for this.
    • Friday Windows 11 preview builds are here. Insiders in the Experimental (formerly Dev) and Beta Channel can download builds 26300.8697 and 26220.8690. My Windows11 device on the Preview Channel just got 26220.8728. My guess is this build is a nightly update from 26220.8690.
    • Traffic has a surprisingly unexpected impact on your surroundings by Sayan Sen Image by Radik 2707 via Pexels A collaborative study by researchers from several Israeli institutions found that everyday pollution from traffic and industrial activity measurably changed the atmospheric electric field over the Tel Aviv metropolitan area, providing new evidence of how human activity can influence the lower atmosphere. The research was led by Dr. Roy Yaniv of the Hebrew University of Jerusalem and the Gertner Institute at Sheba Medical Center, Dr. Assaf Hochman of the Fredy & Nadine Herrmann Institute of Earth Sciences at the Hebrew University, and Prof. Yoav Yair of Reichman University. The study also involved Itay Froomer, a student from Hadera High School and the Israeli Museum of Medicine and Science (Technoda), who carried out the work as part of the Ministry of Education's 5-unit physics research track. The researchers focused on the atmospheric electric field under fair-weather conditions. Even in the absence of storms, a weak electric field naturally exists between Earth's surface and the atmosphere. One of the main ways scientists measure this field is through the Potential Gradient (PG), which is the inverse of the vertical component of the electric field. PG is a key part of the global electric circuit, a planet-wide system of electrical currents maintained by thunderstorms and electrified clouds around the world. Scientists have long known that the atmospheric electric field can be influenced by factors ranging from large-scale atmospheric processes to local weather conditions such as dust, fog and clouds. Human-made pollution is also known to play a role, but understanding exactly how urban emissions affect the electric field close to the ground has remained an area of ongoing research. To investigate this relationship, the team analyzed measurements from a newly installed electric field mill, an instrument used to continuously monitor the strength of the atmospheric electric field. The instrument was installed at the Center for Technological Education (Roter House) in Holon and became operational in August 2024. It was funded by Israel's Ministry of Education and the Holon municipality. The electric field mill forms part of a broader monitoring network that includes nearby meteorological stations and air-quality monitoring sites. This allowed researchers to compare electric field measurements with detailed weather data and pollution records to better understand what was driving changes in the Potential Gradient. The study focused on two major urban pollutants: fine particulate matter (PM2.5) and nitrogen oxides (NOx), both commonly produced by vehicle traffic and industrial activity. PM2.5 refers to microscopic airborne particles small enough to remain suspended in the atmosphere for extended periods, while NOx is a group of gases released during fuel combustion. Researchers examined daily, weekly and seasonal patterns in the atmospheric electric field and compared them with changes in pollutant concentrations. Their analysis revealed a clear relationship between NOx levels and changes in the Potential Gradient, particularly during morning and evening rush hours when traffic emissions were at their highest. “What we observe is a direct physical link between emission peaks and electrical variability,” explained Dr. Roy Yaniv. “NOx reduces atmospheric conductivity very quickly, so the electric field responds almost instantaneously during traffic rush hours.” Atmospheric conductivity describes how easily electrical charges move through the air. According to the researchers, nitrogen oxides rapidly alter this conductivity, causing a near-immediate response in the electric field. PM2.5, however, was associated with a delayed response. The researchers attributed this difference to the particles' longer atmospheric residence time, meaning they remain in the atmosphere for longer periods, as well as their different microphysical interactions with surrounding air and atmospheric components. The study also identified a pronounced "weekend effect." In Israel, traffic volumes and some industrial activity decline significantly on Fridays and Saturdays. During these periods, concentrations of both NOx and PM2.5 dropped, and corresponding changes were observed in the atmospheric electric field. “The weekend signal demonstrates just how sensitive the electric field is to changes in human activity,” the researchers noted. “When emissions decline, the electrical environment adjusts at once, providing a high-resolution indicator of urban atmospheric conditions.” The findings showed that pollution levels can influence not only the chemical composition of the atmosphere but also its electrical properties. Researchers said the results strengthened the case for using atmospheric electricity as an additional tool for environmental monitoring, particularly in densely populated urban areas where anthropogenic, or human-caused, influences are most pronounced. The study also pointed to potential public health applications. By combining air-quality measurements with observations of atmospheric electricity, researchers said they could gain a more complete picture of how urban atmospheric conditions change over time. “Integrating air-quality data with electric-field measurements gives us a clearer picture of how the lower atmosphere evolves moment by moment,” the researchers added. “It’s a framework that can support both scientific insight and practical environmental decision-making.” Beyond the scientific findings, the project highlighted a collaboration between universities, public institutions and secondary education. Researchers said the work demonstrated how students could take part in real-world environmental research while contributing to studies of air quality, atmospheric processes and their potential effects on society. Source: Hebrew University, ScienceDirect This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing
  • Recent Achievements

    • Week One Done
      AMV earned a badge
      Week One Done
    • One Month Later
      AMV earned a badge
      One Month Later
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      540
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      80
    4. 4
      Michael Scrip
      77
    5. 5
      Steven P.
      72
  • Tell a friend

    Love Neowin? Tell a friend!