vgijssel / setup

Workstation and server setup
MIT License
8 stars 0 forks source link

Improve Matter + Thread stability #640

Closed mvgijssel closed 5 months ago

mvgijssel commented 6 months ago

Ideas to improve thread stability:

Articles

mvgijssel commented 6 months ago

Disabled spanning tree protocol on the hallway unifi switch for the tp link port.

mvgijssel commented 6 months ago

Currently internet / ping6 is not working on haos when enabling ipv6. Could be due to USG as described here https://community.ui.com/questions/Unifi-USG-Problem-with-IPv6/dbe432ee-54e5-4436-bad1-fb95350d56e8.

mvgijssel commented 6 months ago

The provisioner is no longer reachable at 192.168.1.31 for some reason 🤔.

mvgijssel commented 6 months ago

Used the ipv6 sld template, maybe should be mixed profile in the switch?

mvgijssel commented 6 months ago

Set the prefix delegation ID to 0 as mentioned here https://www.reddit.com/r/Ubiquiti/comments/f5k8mn/can_a_novice_get_some_ipv6_help/.

mvgijssel commented 6 months ago

The provisioner is no longer reachable at 192.168.1.31 for some reason 🤔.

Switching the cables between the PS5 (previous cat5e) and the provisioner (previous cat 7) it now seems to work. Haven't validated if the PS5 now has internet access, but at least the provisioner works.

mvgijssel commented 6 months ago

Updated the USG to disable rapid-commit, restarted the Home Assistant ipv6 interface but to no avail:

ssh -o PubkeyAuthentication=no ubnt@192.168.1.1

configure
set interfaces ethernet eth0 dhcpv6-pd rapid-commit disable
commit;save;exit

release dhcpv6-pd interface eth0
delete dhcpv6-pd duid 
renew dhcpv6-pd interface eth0
mvgijssel commented 6 months ago

Set prefix delegation id to blank?

mvgijssel commented 6 months ago

Installed the tp link omada router instead of the USG

mvgijssel commented 6 months ago

https://www.reddit.com/r/Nanoleaf/comments/13kzie9/homekit_nanoleaf_matter_thread_bulbs_not_behaving/ disable the Nanoleaf cloud sync feature

mvgijssel commented 6 months ago

Decided to give up on Nanoleaf essentials, because it's simply too unstable https://www.google.com/search?q=nanoleaf+essentials+unstable+site:www.reddit.com&sca_esv=599184041&sa=X&ved=2ahUKEwjA4s32_eSDAxVW1AIHHVOzDG8QrQIoBHoECB8QBQ&biw=1410&bih=1059&dpr=2#ip=1 after trying so many different things. I think the thread coverage is good enough with two apple tvs and a SkyConnect stick, so doing it without a mesh extender for now.

mvgijssel commented 6 months ago

After removing the nanoleaf nodes I'll monitor the matter server to see if there still a lot of errors happening and/or if reconnecting nodes takes a long time.

mvgijssel commented 6 months ago

Current Unifi firewall portforwarding rules:

Name From Port Dest Port/IP Enabled
provisioner-teleport * 443 192.168.1.31:443  
unifi-controller-inform * 8080 192.168.1.2:8080  
unifi-controller-stun * 3478 192.168.1.2:3478  
mvgijssel commented 6 months ago

Configure ipv6 wan in the omada controller as follows

image

Configure ipv6 lan in the omada controller as follows

image

mvgijssel commented 6 months ago

Pinged the ipv6 address from the WAN which returns just fine from mobile tethering. Pinged the ipv6 addresses of the provisioner and hypervisor which both did not resolve, making me believe the firewall is blocking inbound ipv6 traffic correctly.

mvgijssel commented 5 months ago

Using

trying to get the new PCI ethernetcard passthrough to work

Check if vfio-pci module is loaded

lsmod

Check what driver the pci card is using (this should be vfio-pci and not e1000)

lspci -vnn

Using PR got it to work https://github.com/vgijssel/setup/pull/648