I know this in the meantime, but not every phone behaves the same way, so again confusing for me.
You have to know, I use a Fritzbox for DHCP. This is my DSL connection. So I have to disable DHCP with openwrt and I forget this after a "sysupgrade -n".with 4 Archer C7. Then I tested with these access points. Every phone with a different SSID created an own entry with DHCP and I thought this was because of the 4 DHCP-servers in the openwrt-routers. Started again with "sysupgrade -n" and disabled DHCP immediately, but there were still more than 1 entry for a phone, but not for every phone, namely these which do not support random MAC were seen once, the others 2 times or more. Ok, solved.
But I still don't understand, why 1 AP works sometimes with 2.4 GHz sae-mixed and the next day not. But a connectrion to a WAP2-only AP works without problems. Maybe a cache problem somewhere after changing a lot. I connected all android phones new without random MAC.
No problem, if it doesn't work always, but sometimes is confusing.
Another thing which confuses me with 1 android phone (another one), that the connection says now WPA2 with sae-mixed, while I have seen there for days WPA3. It are always the same 2 models, which behave strange the same way, while others always work as they should.
As recommended, I should create 2 SSID in the 2.4GHz net, one with WPA2 and the other with WPA3, but I can't get it work. Please note, there is no ehternet connection.
root@X1860-B1:~# ubus call system board
{
"kernel": "5.15.137",
"hostname": "X1860-B1",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "D-Link DAP-X1860 A1",
"board_name": "dlink,dap-x1860-a1",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.2",
"revision": "r23630-842932a63d",
"target": "ramips/mt7621",
"description": "OpenWrt 23.05.2 r23630-842932a63d"
}
}
root@X1860-B1:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd7b:0854:9181::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.178.52'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.178.1'
list dns '192.168.178.1'
root@X1860-B1:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option channel '11'
option band '2g'
option htmode 'HT20'
option cell_density '0'
option country 'AT'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Bath1-4-2'
option encryption 'psk2'
option key '...'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
option channel '36'
option band '5g'
option htmode 'HE80'
option disabled '1'
option country 'AT'
option cell_density '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Bath1-5-2'
option encryption 'sae-mixed'
option key '...'
config wifi-iface 'wifinet2'
option device 'radio0'
option ssid 'Mainrouter'
option encryption 'sae-mixed'
option key '...'
option mode 'sta'
option bssid 'CC:...:CA'
option wds '1'
option network 'lan'
root@X1860-B1:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_slaac '1'
list ra_flags 'managed-config'
list ra_flags 'other-config'
option ignore '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
root@X1860-B1:~# cat /etc/config/firewall
config defaults
option syn_flood '1'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'40:D0:56:0E
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'40:D0:56:0E
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
40:D0:56:0E
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
I do not post, what doesn't work. So simply give me an example as text configuration for another SSID with WPA3.
This is for WPA2:
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Bath1-4-2'
option encryption 'psk2'
option key '...'
In 'Bath1-4-2' means 4 for 2.4GHz and 2 for WPA2. So for WPA3 I would like to use
option ssid 'Bath1-4-**3**'
Then I modified this part:
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+2'
The connection goes again to ssid 'Mainrouter' as with WPA2.
Looks like it shouldn't be too difficult to copy the needed 3 sections and modify them or doesn't it work this way? I think copying and editing a file is much easier than using the webinterface. In the webinterface I always forget things, doing modifications with 4 routers.