Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


mdf

mdf

3513 posts

Uber Geek

Trusted

#255674 23-Aug-2019 11:30
Send private message

I have multiple access points for my wifi network - Cambium E400s in my case with an EdgeRouter Lite. I have had all sorts of issues in getting various IOT stuff onto my wifi. This has included bulbs (LIFX), controllers (Broadlink) and actual ESP8266 boards (Wemos). I have usually managed to get there in the end, but recently everything got kicked off and I could not get them back on.

 

There seem to be hints on the internet that others have had similar problems, but not necessarily definitive solutions.

 

After much cussing, I may finally have cracked it and sharing here to maybe help others avoid my pain. I'm not sure if this is unique to Cambium APs (or perhaps even the ERL), but the internet seems to hint that it is possibly more to do with invariably cheap wifi chips (perhaps even ESP8266s) that find their way into IOT stuff. Someone that knows more about wireless networking than me (i.e. something that knows anything about wireless networking) might be able to chime in with whys, wherefores and whether it is unique to my set up or not.

 

For my set up, I have managed to get reliable results with:

 

  • Client isolation OFF (yes, I know that now)
  • Proxy ARP / respond to ARP requests on behalf of clients OFF (thanks @rphenix)
  • Using different SSIDs for each AP

That last one is the latest development and took me by surprise when it actually worked. I could see in the logs that the IOT device would attempt to connect, then shortly after get booted off for "disconnect-info code=8". I couldn't find that code on anything Cambium related, but Ruckus suggests that "Reason Code 8 is due to client leaving the BSS by means of AP moving the client to another access point using non-aggressive load balancing".

 

I'm not really sure what that means, and I didn't want to muck around with the roaming settings in my APs. The entire point of them is that we get wifi around the house seamlessly. However for me, I was able to set up another WLAN just for IOT stuff and then set a different name for that WLAN SSID on each access point (Cambium's cloud management solution lets you do this easily enough once you find the setting). None of the IOT stuff is intended to move around the house, so tying them to a single AP shouldn't matter.

 

Only 24 hours in so far, but managed to get everything to connect first try (compared to dozens of failed efforts previously) and everything seems solid so far.


Create new topic
hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #2304536 23-Aug-2019 12:04
Send private message

I run ESP8266's on my E400s perfectly fine, never have an issue.

I have client isolation On, Proxy ARP On, Single SSID across all AP's for HAB (Routed vlan)

 

 

 

No roaming turned on on that SSID.

 

I did have issues with drops for awhile, they seem to all center back to Breadboard links rather than actually the network - The ones that sit in my Rack run for months on end without needing a reboot.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 




davidcole
6034 posts

Uber Geek

Trusted

  #2304547 23-Aug-2019 12:15
Send private message

Aren't ESP8266's generally installed in a static location, so roaming shouldn't be an issue.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #2304555 23-Aug-2019 12:23
Send private message

davidcole:

 

Aren't ESP8266's generally installed in a static location, so roaming shouldn't be an issue.

 

 

With the way many of the AP's these days work in some of their autonomous modes, they can change their power down and thus cause a roam event to happen...





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 




mentalinc
3233 posts

Uber Geek

Trusted

  #2304579 23-Aug-2019 13:14
Send private message

I had the issue (may still do) where they would only connect to the AP they first joined when they booted up.

 

Ie. move to the other end of the house and they wouldn't join the closer AP.

 

Will try the above (but not writing different code for different AP SSIDs depending on where they are physcially lotcated.

 

I have a seperate Automation SSID, but it has the same name on both APs per the above...





CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


richms
28176 posts

Uber Geek

Trusted
Lifetime subscriber

  #2304581 23-Aug-2019 13:21
Send private message

All my ESP8266 stuff seems to be fine on my unifi gear. Sometimes will see one connected to an AP not too close to itself, but still with -70 or so signal and working. Eventually will move to a closer AP but I think its trying to limit the number of clients on one AP since the closest to that room would have 40+ things on the iot vlan SSID.





Richard rich.ms

chevrolux
4962 posts

Uber Geek
Inactive user


  #2304641 23-Aug-2019 13:50
Send private message

I think it depends on the code they are running too. I run lots of wemos d1 mini's with ESPeasy, and they seem to like to lock to a specific AP based on MAC regardless of where I move them to.

 

Whereas the Sonoff's running Tasmota will happily roam to other AP's based on signal strength alone.


mdf

mdf

3513 posts

Uber Geek

Trusted

  #2304646 23-Aug-2019 13:58
Send private message

Just to be clear, (almost) all my problems relate to getting IOT stuff to acquire an initial IP address. The Lifx bulbs, for example, took an age to set up initially but once successfully connected to the wifi were solid for the last year or so.

 

But once they did lose the connection, there was nothing I could do to get them back on to the wifi. I could see them attempting to connect but then never get an IP and the setup would eventually time out.

 

Following @mentalinc's post (and others - cheers), I'm now wondering whether it might have just been connecting to a "new" SSID name (the renamed network on the single AP) that might have helped? I did repeatedly reset them but maybe not all resets are created equal?


 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
BarTender
3606 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #2304789 23-Aug-2019 15:51
Send private message

I have an IoT SSID that is only provisioned to one AP and I never have issues with any of the ESP8266/ESP01 devices connected to it. I have 2 APs covering my whole house with 2 other SSIDs being used for Family/guest networks.

 

If I had the sorts of issues you are talking about yes I would provision additional SSIDs on the other AP (IOT1 / IOT2 etc), or another option would be to enable MAC address authentication on your IOT network and point to a Radius server (FreeRadius) for authentication so that MAC Addresses of IOT devices are married to MAC addresses of APs. That could create issues with when the device attempts to connect to the other AP and gets rejected, but I would think that most devices would recover from that.

 

It's how I setup Chromecasts for a friend of mine using MAC address auth so the Chromecast only attaches to a dedicated AP. 


hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #2304790 23-Aug-2019 15:53
Send private message

BarTender:

 

If I had the sorts of issues you are talking about yes I would provision additional SSIDs on the other AP (IOT1 / IOT2 etc), or another option would be to enable MAC address authentication on your IOT network and point to a Radius server (FreeRadius) for authentication so that MAC Addresses of IOT devices are married to MAC addresses of APs. That could create issues with when the device attempts to connect to the other AP and gets rejected, but I would think that most devices would recover from that.

 

 

Because it's really a good idea to let you play with radius!...





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 


BarTender
3606 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #2304801 23-Aug-2019 16:45
Send private message

hio77: Because it's really a good idea to let you play with radius!...

 

FreeRadius makes EVERYTHING better.


richms
28176 posts

Uber Geek

Trusted
Lifetime subscriber

  #2304861 23-Aug-2019 17:29
Send private message

Ive had similar problems on initial setup but it seems that it was the app discovering the device failing, not the device getting online. The phone had to be in the same /24 range as the device it was setting up to find it, even tho the network is a /22 to allow for enough addresses. I ran into the problem when my DHCP range which was n.100 - n+3.100 finally rolled over to the 3rd range, but the phone still had an ip from the second range. Seems that magighome and ewelink dont understand subnets and assume only the final octet will be differerent in their discovery phase.





Richard rich.ms

Tinkerisk
4227 posts

Uber Geek


  #2305534 24-Aug-2019 23:13
Send private message

Setting RSSI to -40dB on all APs (rooming enabled) should do the job.





- NET: FTTH, OPNsense, 10G backbone, GWN APs, ipPBX
- SRV: 12 RU HA server cluster, 0.1 PB storage on premise
- IoT:   thread, zigbee, tasmota, BidCoS, LoRa, WX suite, IR
- 3D:    two 3D printers, 3D scanner, CNC router, laser cutter


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.