Sat Mar 30, 2019 7:34 am
Hi everyone,
Sorry for asking naive questions.
I have setup capsman on Hap AC2 and hap mini works fine in caps mode, but
Hap AC2 wlan1 does not get detected.
I have added 127.0.0.1 firewall rules, I have tried what has been recommended in the forums, but still wlan1 does not get detected.
How can this be fixed?
Thanks.
# mar/30/2019 09:21:05 by RouterOS 6.44.1
# software id = Z41C-3617
#
# model = RBD52G-5HacD2HnD
# serial number = 8FDE094620DC
/caps-man channel add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=disabled frequency=2412 name=channel_2.4G_1 tx-p
ower=20
/caps-man channel add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=disabled frequency=2437 name=channel_2.4G_6 tx-p
ower=20
/interface bridge add admin-mac=B8:69:F4:30:20:7B auto-mac=no comment=defconf name=bridge
/interface bridge add name=bridge-CAPsMAN
/interface ethernet set [ find default-name=ether1 ] mac-address=00:30:4F:6B:62:61 speed=100Mbps
/interface ethernet set [ find default-name=ether2 ] speed=100Mbps
/interface ethernet set [ find default-name=ether3 ] speed=100Mbps
/interface ethernet set [ find default-name=ether4 ] speed=100Mbps
/interface ethernet set [ find default-name=ether5 ] speed=100Mbps
/caps-man datapath add bridge=bridge-CAPsMAN client-to-client-forwarding=yes local-forwarding=yes name=datapath1
/caps-man configuration add channel=channel_2.4G_1 country=armenia datapath=datapath1 hide-ssid=no mode=ap name=cfg_micro1 rx-chains
=0,1,2 security=securityCap ssid=MikroPJ tx-chains=0,1,2
/interface list add comment=defconf name=WAN
/interface list add comment=defconf name=LAN
/interface wireless
# managed by CAPsMAN
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce country=armenia distance=indoors frequency=auto mode=ap-br
idge security-profile=my_version ssid=MikroJames1990F wireless-protocol=802.11 wps-mode=disabled
/ip hotspot profile set [ find default=yes ] html-directory=flash/hotspot
/ip pool add name=dhcp ranges=192.168.88.3-192.168.88.254
/ip dhcp-server add address-pool=dhcp disabled=no interface=bridge name=defconf
/caps-man manager set ca-certificate=auto certificate=auto enabled=yes
/caps-man manager interface add interface=bridge
/caps-man manager interface add forbid=yes interface=ether1
/caps-man provisioning add action=create-dynamic-enabled hw-supported-modes=b,gn master-configuration=cfg_micro1 name-prefix=Mikroti
k-Dual
/caps-man provisioning add action=create-dynamic-enabled disabled=yes ip-address-ranges=127.0.0.1 master-configuration=cfg_micro1
/interface bridge port add bridge=bridge comment=defconf interface=ether2
/interface bridge port add bridge=bridge comment=defconf interface=ether3
/interface bridge port add bridge=bridge comment=defconf interface=ether4
/interface bridge port add bridge=bridge comment=defconf interface=ether5
/interface bridge port add bridge=bridge comment=defconf interface=wlan1
/interface bridge port add bridge=bridge comment=defconf interface=wlan2
/interface bridge port add bridge=bridge disabled=yes interface=ether1
/ip neighbor discovery-settings set discover-interface-list=LAN
/interface list member add comment=defconf interface=ether1 list=WAN
/interface list member add interface=ether2 list=LAN
/interface list member add interface=ether3 list=LAN
/interface list member add interface=ether4 list=LAN
/interface list member add interface=ether5 list=LAN
/interface list member add interface=wlan2 list=LAN
/interface list member add interface=wlan1 list=LAN
/interface list member add interface=bridge list=LAN
/interface wireless cap
#
set caps-man-addresses=127.0.0.1 caps-man-names="" discovery-interfaces=bridge-CAPsMAN enabled=yes interfaces=wlan1
/ip address add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
/ip address add address=192.168.115.43/27 interface=ether1 network=192.168.115.32
/ip address add address=192.168.88.1/24 interface=bridge network=192.168.88.0
/ip dhcp-client add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server lease add address=dhcp mac-address=34:14:5F:DE:B0:2C server=defconf
/ip dhcp-server network add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns static add address=192.168.88.1 name=router.lan
/ip firewall filter add action=accept chain=output dst-address=127.0.0.1 log=yes port=5246,5247 protocol=udp src-address=127.0.0.1
/ip firewall filter add action=accept chain=input comment="CAPs to CAPsMAN" dst-port=5246,5247 log=yes protocol=udp src-address=127.
0.0.1
/ip firewall filter add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=establish
ed,related,untracked disabled=yes
/ip firewall filter add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid disabled=yes
/ip firewall filter add action=accept chain=input comment="defconf: accept ICMP" disabled=yes protocol=icmp
/ip firewall filter add action=drop chain=input comment="defconf: drop all not coming from LAN" disabled=yes in-interface-list=!LAN
/ip firewall filter add action=accept chain=forward comment="defconf: accept in ipsec policy" disabled=yes ipsec-policy=in,ipsec
/ip firewall filter add action=accept chain=forward comment="defconf: accept out ipsec policy" disabled=yes ipsec-policy=out,ipsec
/ip firewall filter add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
disabled=yes
/ip firewall filter add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=establ
ished,related,untracked disabled=yes
/ip firewall filter add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid disabled=yes
/ip firewall filter add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat co
nnection-state=new disabled=yes in-interface-list=WAN
/ip firewall filter add action=accept chain=input comment="CAPsMAN accept all local traffic" disabled=yes src-address-type=local
/ip firewall filter add action=accept chain=input disabled=yes src-address=127.0.0.1
/ip firewall filter add action=accept chain=input comment=CAPsMAN disabled=yes in-interface-list=!all port=5246,5247 protocol=udp
/ip firewall filter add action=accept chain=input disabled=yes dst-address-type=local src-address-type=local
/ip firewall filter add action=accept chain=output disabled=yes dst-address=127.0.0.1 port=5246,5247 protocol=udp src-address=127.0.
0.1
/ip firewall filter add action=accept chain=input disabled=yes dst-address=127.0.0.1 port=5246,5247 protocol=udp src-address=127.0.0
.1
/ip firewall filter add action=accept chain=input disabled=yes in-interface=bridge
/ip firewall filter add action=accept chain=input connection-state=new disabled=yes dst-address-type=local src-address-type=local
/ip firewall nat add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip route add distance=1 gateway=192.168.115.33
/ip service set telnet disabled=yes
/ip service set ftp disabled=yes
/ip service set ssh port=2200
/ip service set api disabled=yes
/ip service set api-ssl disabled=yes
/ip ssh set allow-none-crypto=yes strong-crypto=yes
/system clock set time-zone-name=Asia/Yerevan
/system identity set name=MikroJTik
/system routerboard settings set cpu-frequency=488MHz
/tool bandwidth-server set enabled=no
/tool mac-server set allowed-interface-list=none
/tool mac-server mac-winbox set allowed-interface-list=none
/tool mac-server ping set enabled=no