/edit: did a firmware upgrade of the AP and can’t replicate it anymore. Thanks all for the input, much appreciated. In case it happens again I will use your tips.

I have a very weird issue. I’ve got a relatively simple network setup:

  • router connected to ONT (Fibre)
  • 10 port switch A connected to router, cables to various places in house
  • 4 port switch B connected to switch A, with TV & Xbox connected
  • Unify WiFi AP connected to switch A, both 2.4Ghz and 5Ghz networks

That works well. However, when I connect the WiFi AP to switch B I’m having issues. Initially it all works well, but after ~30 minutes the wifi stops working; I can no longer ping e.g. the router. It only happens to one of the WiFi networks (2.4Ghz or 5Ghz), not both. A reboot of the AP solves it again, but then it stops working after ~30 minutes.

Both switch A and B are 1Ghz switches, zero issues with other devices.

Any idea what I can try?

7 points

Double check the AP doesn’t have a DHCP server enabled. Also, check routes and IP settings when a client first connects to the AP and things work, then again when things stop working.

permalink
report
reply
3 points

Yep, thanks for checking, there’s only 1 DHCP server on my network. I’ve just moved it back to behind switch B and will do more investigation when the problem occurs again.

permalink
report
parent
reply
2 points

from your router can you ping the AP behind that switch, while the issue is occurring? All L2 unmanaged switches, no tagging? POE from the switch or an injector? If from the switch maybe put an injector in between?

I work for an ISP in the network engineering dept, I personally have never seen an issue exactly like this before, but we generally do power calculations for switching and wifi, this sounds like a power issue to me.

permalink
report
reply
2 points

I’ve just moved it back to behind switch B, will do testing as you suggest.

The switch doesn’t have POE, the Unifi AP does use POE via its own POE injector.

permalink
report
parent
reply
1 point

Reset the AP to make sure it uses dhcp for its own ip and update firmware from unifi network after adopting the AP again.

Test it by swapping places of the access points to find out if the issue is related to the access points or something else.

permalink
report
reply
1 point

Thanks. I’ve recently reset it, it has its own IP via DHCP. I’ve just moved it back to behind switch B, will do testing as you suggest.

permalink
report
parent
reply
3 points

I can imagine several causes:

  • more than one DHCP server in your network (most likely)

  • very wrong DNS setup in your network (unlikely, because I guess you would have given us a hint in that direction)

  • heavy downloading traffic and one cheap plastic device (router, switch etc.) runs out of memory

permalink
report
reply
2 points

There’s only a single DHCP server, a Pihole, which also serves as DNS. Switch B is a cheaper switch, so that may be the culprit. I use it for heavy downloading from my Xbox and that is never a big issue. Speeds fluctuate from 100 to 900mbps (my max) but that’s not necessarily a switch problem.

permalink
report
parent
reply
2 points

Measure the time after the reboot of the AP until the next failure.

If it is always the same duration, then that excludes the memory problem. If it is a variable time, then that excludes the DHCP problem and probably also DNS.

permalink
report
parent
reply
1 point
*

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
DNS Domain Name Service/System
IP Internet Protocol
PoE Power over Ethernet
Unifi Ubiquiti WiFi hardware brand

6 acronyms in this thread; the most compressed thread commented on today has 11 acronyms.

[Thread #922 for this sub, first seen 15th Aug 2024, 07:45] [FAQ] [Full list] [Contact] [Source code]

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5.2K

    Monthly active users

  • 1.8K

    Posts

  • 19K

    Comments