Camera E1 (FW 4.5.20_0020) — NAS/SMB setup fails at “permission verification” — packet-level diagnosis shows camera never opens an SMB session despite successful discovery
Hi Aqara team and community,
I’m reporting a reproducible NAS storage bug on two Camera E1 units, diagnosed down to the packet level. I’ve already sent a detailed report to support@aqara.com on 15/08 (no response yet as of this post), and wanted to also share it here in case a staff member can pick it up or others are hitting the same issue.
Devices: 2x Camera E1, firmware 4.5.20_0020, algorithm 3.6.0 (both identical). Both have a microSD card inserted and confirmed working.
History: NAS storage was previously working correctly on one of these two cameras. After adding a second, new E1 to the account, NAS broke on BOTH cameras — including the one that was previously working. Both were factory reset and re-added fresh, and NAS setup now fails identically on both with: “Verification of permission is not okay, try again.”
Testing performed: To rule out a server-side cause, I tested against two completely different SMB servers on the same LAN as the cameras:
- TrueNAS SCALE 25.10.6, with a dedicated SMB user (username/password).
- A separate, minimal Samba container configured for fully open guest-only access (no credentials required at all).
- QNAP Storage, with a dedicated SMB user (username/password).
Both failed identically. Both servers were confirmed reachable and correctly configured — a Windows 11 PC on the same subnet connects to one of the shares successfully using the same credentials.
Packet-level finding (the key result): In every attempt, the camera successfully completes NetBIOS discovery (UDP port 137) — sends a valid NBSTAT query, receives a well-formed reply with server name/workgroup (confirmed via hex dump, fully RFC-compliant). After that, the camera never sends a single packet to port 139 or port 445 — no SMB session is ever attempted, regardless of whether the target requires auth or not. This was confirmed across repeated attempts with extended capture windows on both test servers.
Since this reproduces identically against two independent SMB implementations, the server side is ruled out. The failure is isolated to the camera’s own client logic between successful discovery and session initiation.
Ruled out: network/VLAN isolation, SMB protocol version mismatch, NTLM/auth incompatibility, packet corruption (initially suspected a UDP checksum issue, traced to TX checksum offload on a test VM’s NIC — fixed and confirmed not the cause), SD card issues, stale pairing state, server misconfiguration.
Has anyone else on 4.5.20_0020 seen this? Would appreciate any input from Aqara staff on whether this is a known regression, and whether a firmware fix or rollback is possible given it was working before. Raw packet capture in a follow-up reply below.
Thanks!
Luca