I am trying to setup the Wireless camera to connect over 2.4Ghz radio (WPA2 PSK CCMP) of my 3200ACM running Lede SNAPSHOT r6302-0f54d96d24 but DHCP doesn't seem to allocate an IP. I see the connection being initiated in the Wireless tab with hostname "?".
Logs:
Fri Mar 2 14:07:05 2018 daemon.info hostapd: wlan1: STA 88:83:5d:XX:XX:XX IEEE 802.11: associated (aid 4)
Fri Mar 2 14:07:06 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 88:83:5d:XX:XX:XX
Fri Mar 2 14:07:06 2018 daemon.info hostapd: wlan1: STA 88:83:5d:XX:XX:XX WPA: pairwise key handshake completed (RSN)
Fri Mar 2 14:07:17 2018 daemon.info hostapd: wlan1: STA 88:83:5d:XX:XX:XX IEEE 802.11: authenticated
Fri Mar 2 14:07:51 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 88:83:5d:XX:XX:XX
Fri Mar 2 14:07:51 2018 kern.debug kernel: [43300.431211] ieee80211 phy1: staid 4 deleted
On the contrary, I am able to setup the camera to connect to my Velop Node (2.4Ghz radio, WPA2 PSK CCMP).
EDIT:
After allocating a static ip for the camera's mac address, the log:
Fri Mar 2 14:10:22 2018 daemon.info hostapd: wlan1-1: STA 88:83:5d:XX:XX:XX IEEE 802.11: associated (aid 1)
Fri Mar 2 14:10:23 2018 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 88:83:5d:XX:XX:XX
Fri Mar 2 14:10:23 2018 daemon.info hostapd: wlan1-1: STA 88:83:5d:XX:XX:XX WPA: pairwise key handshake completed (WPA)
Fri Mar 2 14:10:23 2018 daemon.info hostapd: wlan1-1: STA 88:83:5d:XX:XX:XX WPA: group key handshake completed (WPA)
Fri Mar 2 14:10:27 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:30 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:33 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:37 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:40 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:43 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:43 2018 daemon.info hostapd: wlan1-1: STA 88:83:5d:XX:XX:XX IEEE 802.11: authenticated
Fri Mar 2 14:10:48 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:51 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:54 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:10:59 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:11:02 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:11:05 2018 daemon.warn dnsmasq-dhcp[3775]: DHCP packet received on wlan1-1 which has no address
Fri Mar 2 14:11:08 2018 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 88:83:5d:XX:XX:XX
If you have set up a static IP on the router for the device, the IP also needs to be set up on the device as well. Set the duration for the lease to unlimited.
I've setup only 2.4Ghz on 3200ACM to connect to my IoT devices on channel 11. During testing, I changed it to Auto and I have my gigabit devices on ethernet and for 5Ghz I use my velop nodes hence it is disabled. I don't think this issue is associated with wireless connection as you clearly see from the logs that the camera gets authenticated but dnsmasq fails to discover and allocate an IP.
I use the above recommendations for all my wireless devices, and they work with no issue.
If you set a static IP, it's already allocated. The IP should be either below the start of the pool range, or above the end of the pool range. (i.e. pool is 192.168.1.100 to 192.168.1.199, so either 192.168.1.99 or 192.168.1.200 would work to avoid the possibility of a collision.)
Oh yea, 2. I was checking the traffic congestion and trying all the ways possible to eliminate the issue with wireless AP. All my IoTs are able to connect and get IP, it's just this cam.
config host
option name 'Hikam-0505'
option dns '1'
option mac '88:83:5d:xx:xx:xx'
option ip '192.168.1.200'
option leasetime 'infinite'