Interesting. Anyone with information about the implemented mesh protocol? Do Audience has band-steering? How does it deal with RADAR detection (=wireless Backbone down?)? When will come a Powerline modem for Audience? Can wired connections to Audience-APs be part of the mesh?I think, Audience has been released:
There won't be one. Audience hasn't got USB port (at least I didn't see it mentioned), so you'll have to use generic PowerLine2ethernet devices.When will come a Powerline modem for Audience?
But it has two ethernet ports, so PWR-LINE-PRO can be used.There won't be one. Audience hasn't got USB port (at least I didn't see it mentioned), so you'll have to use generic PowerLine2ethernet devices.
good idea but be aware PWR-LINE-PRO is not manageableBut it has two ethernet ports, so PWR-LINE-PRO can be used.There won't be one. Audience hasn't got USB port (at least I didn't see it mentioned), so you'll have to use generic PowerLine2ethernet devices.
Fair point.that one USB port is dedicated for mPCIe card for LTE.
because all recent shareable printers today have ethernet or wifi.why usb if there is no print server support in ROS?
yes, I hinted at itbecause all recent shareable printers today have ethernet or wifi.why usb if there is no print server support in ROS?
a quick question about LTE6 modem - is it a miniPCIe device? if yes, will it be available separately? and if yes, can it be replaced in SXT LTE Kit to achieve CA?
in case of the 450Gx4 it was a crucial goal to keep the same form factor as the 850Gx2 and 450/450G.
- Or just add an USB 3.0 HUB chip... would probably cost $2 instead of $1...
- And back to the RB 450Gx4, it doesn't even have mPCIe slot, so no excuses here
I presume this will have 802.11r/k/v ?
With its 2nd 5GHz interface the Audience will be a really nice access point for rooms with higher density when MU-MIMO is available (disable meshing, running standalone or with capsman controller), i.e.:Of course you can duplicate the functionality of Audience with other devices, RouterOS is very flexible and you can reconfigure any number of MikroTik products to achieve the same functionality. The benefit of Audience is that the secondary 5GHz interface is built into the same enclosure and the whole kit looks very pretty.
GlueAlso it has PoE+ in. Now I need either a wall mounting kit for Audience or a wAP/cAP wall mountable version of it. Are there any plans for that?
Source:?Audience is just using CAPsMAN and link with other CAP-devices on the third wlan similar to repeater (bridge-ap/station-bridge).
It is not using WDS mesh or any specific mesh technology.
Source:?Audience is just using CAPsMAN and link with other CAP-devices on the third wlan similar to repeater (bridge-ap/station-bridge).
It is not using WDS mesh or any specific mesh technology.
[admin@Audience1] > /system default-configuration print
script: :global ssid;
#| RouterMode:
#| * WAN port is protected by firewall and enabled DHCP client
#| * Wireless and Ethernet interfaces (except WAN port/s)
#| are part of LAN bridge
#| WPS Sync:
#| mode: ap-bridge;
#| wpa2: yes;
#| channel-width: 20/40mhz-XX;
#| LAN Configuration:
#| IP address 192.168.88.1/24 is set on bridge (LAN port)
#| DHCP Server: enabled;
#| DNS: enabled;
#| CAPsMAN:
#| bands: b/g/n, a/n, a/n/ac;
#| installation: indoor;
#| channel-width: 20MHz;
#| forwarding: local;
#| Wireless: CAP enabled on wireless interfaces
#| WAN (gateway) Configuration:
#| gateway: ether1 ;
#| ip4 firewall: enabled;
#| NAT: enabled;
#| DHCP Client: enabled;
:global defconfMode;
:log info Starting_defconf_script_;
#-------------------------------------------------------------------------------
# Apply configuration.
# these commands are executed after installation or configuration reset
#-------------------------------------------------------------------------------
:if ($action = "apply") do={
# wait for interfaces
:local count 0;
:while ([/interface ethernet find] = "") do={
:if ($count = 30) do={
:log warning "DefConf: Unable to find ethernet interfaces";
/quit;
}
:delay 1s; :set count ($count +1);
};
:local count 0;
:while ([/interface wireless print count-only] < 2) do={
:set count ($count +1);
:if ($count = 40) do={
:log warning "DefConf: Unable to find wireless interface(s)";
/ip address add address=192.168.88.1/24 interface=ether1 comment="defconf";
/quit
}
:delay 1s;
};
/interface wireless security-profiles {
add name=wpsSync
set wpsSync mode=dynamic-keys group-ciphers=aes-ccm unicast-ciphers=aes-ccm \
authentication-types=wpa2-psk disable-pmkid=yes wpa2-pre-shared-key=7448-b666 comment=defconf
};
:local count 0;
:while ([/interface wireless find default-name="wlan3"] = "") do={
:if ($count = 15) do={
:log warning "DefConf: Unable to find wlan3 interface";
/quit
}
:delay 1s; :set count ($count +1);
};
/interface wireless {
:local wl3 [find default-name="wlan3"]
:local wlanMac [get $wl3 mac-address];
:set ssid "SYNC-$[:pick $wlanMac 9 11]$[:pick $wlanMac 12 14]$[:pick $wlanMac 15 17]"
set $wl3 disabled=no mode=ap-bridge band=5ghz-a/n/ac ssid=$ssid security-profile=wpsSync wps-mode=push-button
set $wl3 channel-width=20/40mhz-XX
};
/interface list add name=WAN comment="defconf"
/interface list add name=LAN comment="defconf"
/interface bridge
add name=bridge disabled=no auto-mac=yes protocol-mode=rstp comment=defconf;
:local bMACIsSet 0;
:foreach k in=[/interface find where !(slave=yes || name="ether1" || name~"bridge")] do={
:local tmpPortName [/interface get $k name];
:log info "port: $tmpPortName"
:if ($bMACIsSet = 0) do={
:if ([/interface get $k type] = "ether") do={
/interface bridge set "bridge" auto-mac=no admin-mac=[/interface ethernet get $tmpPortName mac-address];
:set bMACIsSet 1;
}
}
/interface bridge port
add bridge=bridge interface=$tmpPortName comment=defconf;
}
/ip pool add name="default-dhcp" ranges=192.168.88.10-192.168.88.254;
/ip dhcp-server
add name=defconf address-pool="default-dhcp" interface=bridge lease-time=10m disabled=no;
/ip dhcp-server network
add address=192.168.88.0/24 gateway=192.168.88.1 comment="defconf";
/ip address add address=192.168.88.1/24 interface=bridge comment="defconf";
/ip dns {
set allow-remote-requests=yes
static add name=router.lan address=192.168.88.1 comment=defconf
}
/caps-man configuration {
add name=cfg-2ghz ssid=MikroTikD31D7F-2 channel.band=2ghz-b/g/n channel.control-channel-width=20mhz \
channel.extension-channel=XX distance=indoors installation=indoor \
datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf
add name=cfg-5ghz-ac ssid=MikroTikD31D7F-5 channel.band=5ghz-a/n/ac channel.control-channel-width=20mhz \
channel.extension-channel=XXXX distance=indoors installation=indoor \
datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf
add name=cfg-5ghz-an ssid=MikroTikD31D7F-5 channel.band=5ghz-a/n channel.control-channel-width=20mhz \
channel.extension-channel=XX distance=indoors installation=indoor \
datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf
};
/caps-man provisioning {
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=cfg-2ghz \
name-format=prefix-identity name-prefix=2ghz comment=defconf
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=cfg-5ghz-ac \
name-format=prefix-identity name-prefix=5ghz-ac comment=defconf
add action=create-dynamic-enabled hw-supported-modes=an master-configuration=cfg-5ghz-an \
name-format=prefix-identity name-prefix=5ghz-an comment=defconf
};
/caps-man manager interface {
set [ find default=yes ] forbid=yes
add disabled=no interface=bridge comment=defconf
};
/caps-man manager set enabled=yes
/interface wireless cap set enabled=yes interfaces=wlan1,wlan2 caps-man-addresses=127.0.0.1
/ip dhcp-client add interface=ether1 disabled=no comment="defconf";
/interface list member add list=LAN interface=bridge comment="defconf"
/interface list member add list=WAN interface=ether1 comment="defconf"
/ip firewall nat add chain=srcnat out-interface-list=WAN ipsec-policy=out,none action=masquerade comment="defconf: mas>
/ip firewall {
filter add chain=input action=accept connection-state=established,related,untracked comment="defconf: accept establi>
filter add chain=input action=drop connection-state=invalid comment="defconf: drop invalid"
filter add chain=input action=accept protocol=icmp comment="defconf: accept ICMP"
filter add chain=input action=accept dst-address=127.0.0.1 comment="defconf: accept to local loopback (for CAPsMAN)"
filter add chain=input action=drop in-interface-list=!LAN comment="defconf: drop all not coming from LAN"
filter add chain=forward action=accept ipsec-policy=in,ipsec comment="defconf: accept in ipsec policy"
filter add chain=forward action=accept ipsec-policy=out,ipsec comment="defconf: accept out ipsec policy"
filter add chain=forward action=fasttrack-connection connection-state=established,related comment="defconf: fasttrac>
filter add chain=forward action=accept connection-state=established,related,untracked comment="defconf: accept estab>
filter add chain=forward action=drop connection-state=invalid comment="defconf: drop invalid"
filter add chain=forward action=drop connection-state=new connection-nat-state=!dstnat in-interface-list=WAN comment>
}
/ip neighbor discovery-settings set discover-interface-list=LAN
/tool mac-server set allowed-interface-list=LAN
/tool mac-server mac-winbox set allowed-interface-list=LAN
}
#-------------------------------------------------------------------------------
# Revert configuration.
# these commands are executed if user requests to remove default configuration
#-------------------------------------------------------------------------------
:if ($action = "revert") do={
/user set admin password=""
/system routerboard mode-button set enabled=no
/system routerboard mode-button set on-event=""
/system script remove [find comment~"defconf"]
/ip firewall filter remove [find comment~"defconf"]
/ip firewall nat remove [find comment~"defconf"]
/interface list member remove [find comment~"defconf"]
/interface detect-internet set detect-interface-list=none
/interface detect-internet set lan-interface-list=none
/interface detect-internet set wan-interface-list=none
/interface detect-internet set internet-interface-list=none
/interface list remove [find comment~"defconf"]
/tool mac-server set allowed-interface-list=all
/tool mac-server mac-winbox set allowed-interface-list=all
/ip neighbor discovery-settings set discover-interface-list=!dynamic
:local o [/ip dhcp-server network find comment="defconf"]
:if ([:len $o] != 0) do={ /ip dhcp-server network remove $o }
:local o [/ip dhcp-server find name="defconf" !disabled]
:if ([:len $o] != 0) do={ /ip dhcp-server remove $o }
/ip pool {
:local o [find name="default-dhcp" ranges=192.168.88.10-192.168.88.254]
:if ([:len $o] != 0) do={ remove $o }
}
:local o [/ip dhcp-client find comment="defconf"]
:if ([:len $o] != 0) do={ /ip dhcp-client remove $o }
/ip dns {
set allow-remote-requests=no
:local o [static find comment="defconf"]
:if ([:len $o] != 0) do={ static remove $o }
}
/ip address {
:local o [find comment="defconf"]
:if ([:len $o] != 0) do={ remove $o }
}
:foreach iface in=[/interface ethernet find] do={
/interface ethernet set $iface name=[get $iface default-name]
}
/interface bridge port remove [find comment="defconf"]
/interface bridge remove [find comment="defconf"]
/interface wireless cap set enabled=no interfaces="" caps-man-addresses=""
/interface wireless reset-configuration wlan1
/interface wireless reset-configuration wlan2
/interface wireless reset-configuration wlan3
/interface wireless security-profiles remove [find name="wpsSync"]
/caps-man manager set enabled=no
/caps-man manager interface remove [find comment="defconf"]
/caps-man manager interface set [ find default=yes ] forbid=no
/caps-man provisioning remove [find comment="defconf"]
/caps-man configuration remove [find comment="defconf"]
}
:log info Defconf_script_finished;
:set defconfMode;
:set ssid;
caps-mode-script: #-------------------------------------------------------------------------------
# Note: script will not execute at all (will throw a syntax error) if
# dhcp or wireless-fp packages are not installed
#-------------------------------------------------------------------------------
#| CAP configuration
#|
#| Wireless interfaces are set to be managed by CAPsMAN.
#| All ethernet interfaces and CAPsMAN managed interfaces are bridged.
#| DHCP client is set on bridge interface.
# bridge port name
:global brName "bridgeLocal";
:global logPref "defconf:";
:global action;
:log info $action
:if ($action = "apply") do={
# wait for ethernet interfaces
:local count 0;
:while ([/interface ethernet find] = "") do={
:if ($count = 30) do={
:log warning "DefConf: Unable to find ethernet interfaces";
/quit;
}
:delay 1s; :set count ($count + 1);
}
:local macSet 0;
:local tmpMac "";
:foreach k in=[/interface ethernet find] do={
# first ethernet is found; add bridge and set mac address of the ethernet port
:if ($macSet = 0) do={
:set tmpMac [/interface ethernet get $k mac-address];
/interface bridge add name=$brName auto-mac=no admin-mac=$tmpMac comment="defconf";
:set macSet 1;
}
# add bridge ports
/interface bridge port add bridge=$brName interface=$k comment="defconf"
}
# try to add dhcp client on bridge interface (may fail if already exist)
:do {
/ip dhcp-client add interface=$brName disabled=no comment="defconf"
} on-error={ :log warning "$logPref unable to add dhcp client";}
# try to configure caps (may fail if for example specified interfaces are missing)
:local interfacesList "";
:local bFirst 1;
# wait for wireless interfaces
:while ([/interface wireless find] = "") do={
:if ($count = 30) do={
:log warning "DefConf: Unable to find wireless interfaces";
/quit;
}
:delay 1s; :set count ($count + 1);
}
# delay just to make sure that all wireless interfaces are loaded
:delay 5s;
:foreach i in=[/interface wireless find] do={
if ($bFirst = 1) do={
:set interfacesList [/interface wireless get $i name];
:set bFirst 0;
} else={
:set interfacesList "$interfacesList,$[/interface wireless get $i name]";
}
}
:do {
/interface wireless cap
set enabled=yes interfaces=$interfacesList discovery-interfaces=$brName bridge=$brName
} on-error={ :log warning "$logPref unable to configure caps";}
}
:if ($action = "revert") do={
:do {
/interface wireless cap
set enabled=no interfaces="" discovery-interfaces="" bridge=none
} on-error={ :log warning "$logPref unable to unset caps";}
:local o [/ip dhcp-client find comment="defconf"]
:if ([:len $o] != 0) do={ /ip dhcp-client remove $o }
/interface bridge port remove [find comment="defconf"]
/interface bridge remove [find comment="defconf"]
}
wps-sync-mode-script: #-------------------------------------------------------------------------------
# Note: script will not execute at all (will throw a syntax error) if
# dhcp or wireless-fp packages are not installed
#-------------------------------------------------------------------------------
#| WPS Sync Configuration:
#| * Wireless and ethernet interfaces bridged with enabled DHCP client
#| * wlan1/2 access points and wlan3 wps sync releater
#| Wireless: CAP enabled on wlan1/2
#| WPS Sync:
#| mode: repeater;
#| LAN Configuration:
#| DHCP client: enabled;
# bridge port name
:global brName "bridgeLocal";
:global logPref "defconf:";
:global ssid;
:global action;
:log info $action
:if ($action = "apply") do={
# wait for ethernet interfaces
:local count 0;
:while ([/interface ethernet find] = "") do={
:if ($count = 30) do={
:log warning "DefConf: Unable to find ethernet interfaces";
/quit;
}
:delay 1s; :set count ($count + 1);
}
:local macSet 0;
:local tmpMac "";
:foreach k in=[/interface ethernet find] do={
# first ethernet is found; add bridge and set mac address of the ethernet port
:if ($macSet = 0) do={
:set tmpMac [/interface ethernet get $k mac-address];
/interface bridge add name=$brName auto-mac=no admin-mac=$tmpMac comment="defconf";
:set macSet 1;
}
# add bridge ports
/interface bridge port add bridge=$brName interface=$k comment="defconf"
}
# try to add dhcp client on bridge interface (may fail if already exist)
:do {
/ip dhcp-client add interface=$brName disabled=no comment="defconf"
} on-error={ :log warning "$logPref unable to add dhcp client";}
:local count 0;
:while ([/interface wireless print count-only] < 3) do={
:set count ($count +1);
:if ($count = 40) do={
:log warning "DefConf: Unable to find wireless interfaces";
/ip address add address=192.168.88.1/24 interface=ether1 comment="defconf";
/quit
}
:delay 1s;
};
:foreach k in=[/interface wireless find] do={
# add bridge ports
/interface bridge port add bridge=$brName interface=$k comment="defconf"
}
:local hwInfo [/interface wireless info hw-info [.. find where default-name="wlan3"] as-value];
#:if (($hwInfo->"locked-countries")~"russia") do={
/interface wireless set [find where default-name="wlan3"] channel-width=20/40mhz-XX band=5ghz-a/n/ac
#} else={
# /interface wireless set [find where default-name="wlan3"] channel-width=20/40/80mhz-XXXX band=5ghz-a/n/ac
#}
/interface wireless cap
set discovery-interfaces=bridgeLocal enabled=yes interfaces=wlan1,wlan2
/interface wireless
setup-repeater wlan3 duration=2m
}
:if ($action = "revert") do={
:local o [/ip dhcp-client find comment="defconf"]
:if ([:len $o] != 0) do={ /ip dhcp-client remove $o }
/interface bridge port remove [find comment="defconf"]
/interface bridge remove [find comment="defconf"]
/interface wireless cap set enabled=no interfaces="" discovery-interfaces=""
/interface wireless reset-configuration wlan1
/interface wireless reset-configuration wlan2
/interface wireless reset-configuration wlan3
}
:set brName;
:set logPref;
:set ssid;
Hello! I do not speak English well and I only have a MTCNA certificate.What operator frequency do you mean? It is certified to be used indoors and only uses frequencies allowed for that purpose.
By the time Wi-Fi 6 Wave 2 finalized, MT will proudly announce we now have MU-MIMO, band steering and k/v/r available in our Wi-Fi 5 products!does anyone know if MU-MIMO coming for Audience and RB4011 ?
NO, not in this year 100%does anyone know if MU-MIMO coming for Audience and RB4011 ?
source?NO, not in this year 100%does anyone know if MU-MIMO coming for Audience and RB4011 ?
Past experiencesource?NO, not in this year 100%does anyone know if MU-MIMO coming for Audience and RB4011 ?
..Only how come in real life MT work better without those features, that those other solutions that do have them. Just last week replaced one of those "Spider legged gaming wave2 routers" with RB4011 wireless model at friends flat. All the "Average Joe's" family sees the improvement both in bandwidth and latency (and room temperature .Look at some news from CES, pretty much every network equipment manufacturer there is presenting their own mesh wifi solution. With WIFI6, 4x4 beams, dual radios and latest hardware. Competition will be really strong in this segment and prices will have to come down as well. Meanwhile Mikrotik is still trying to figure out how wave2 and 160MHz channels work...
My life experience told me being comfortable in current state is the most dangerous way, it's time to face the world and catch up...Only how come in real life MT work better without those features, that those other solutions that do have them. Just last week replaced one of those "Spider legged gaming wave2 routers" with RB4011 wireless model at friends flat. All the "Average Joe's" family sees the improvement both in bandwidth and latency (and room temperature .Look at some news from CES, pretty much every network equipment manufacturer there is presenting their own mesh wifi solution. With WIFI6, 4x4 beams, dual radios and latest hardware. Competition will be really strong in this segment and prices will have to come down as well. Meanwhile Mikrotik is still trying to figure out how wave2 and 160MHz channels work...
fact is wave2 and 160MHz channels are useless for 90% of regular users.
wave 2 bring not only 160 MHz...Only how come in real life MT work better without those features, that those other solutions that do have them. Just last week replaced one of those "Spider legged gaming wave2 routers" with RB4011 wireless model at friends flat. All the "Average Joe's" family sees the improvement both in bandwidth and latency (and room temperature .Look at some news from CES, pretty much every network equipment manufacturer there is presenting their own mesh wifi solution. With WIFI6, 4x4 beams, dual radios and latest hardware. Competition will be really strong in this segment and prices will have to come down as well. Meanwhile Mikrotik is still trying to figure out how wave2 and 160MHz channels work...
fact is wave2 and 160MHz channels are useless for 90% of regular users.
I tend to agree that full wave2 features and 160MHz channels aren't necessary for many users. They'd be better off with a very reliable router where what features it has actually work and work well. Several of my friends have expensive "gaming routers" and I've found that wireless at their houses isn't that good. I haven't done any real testing recently, so this is strictly anecdotal, but my hAP ac2 and now my Audience are rock-solid and I get good coverage in my house, plus good performance. I don't see any issues connecting or staying connected, and I never get complaints about wireless...Only how come in real life MT work better without those features, that those other solutions that do have them. Just last week replaced one of those "Spider legged gaming wave2 routers" with RB4011 wireless model at friends flat. All the "Average Joe's" family sees the improvement both in bandwidth and latency (and room temperature .Look at some news from CES, pretty much every network equipment manufacturer there is presenting their own mesh wifi solution. With WIFI6, 4x4 beams, dual radios and latest hardware. Competition will be really strong in this segment and prices will have to come down as well. Meanwhile Mikrotik is still trying to figure out how wave2 and 160MHz channels work...
fact is wave2 and 160MHz channels are useless for 90% of regular users.
Hi.The other 5GHz interface is freely configurable. By default, it's used to link with another Audience unit, but you can remove the default config and use it just like any other MikroTik device. So in total you have three wlan interfaces for any setup you want.
Wave2 is not only 160 MHz, read above. Just try to compare hAP ac2 or Audience with Keenetic Ultra in real life. Mikrotik will loose in WiFi.I tend to agree that full wave2 features and 160MHz channels aren't necessary for many users.
There is no way to do this officially.Is there a way to make it work in a "normal" range (the same range as the IPQ-4019)?
The chip is different. The brochure mentions it quite clear:see the frequency range of the QCA9984 is limited to 5500 - 5640MHz, and it's not a range my client devices can see. Is there a way to make it work in a "normal" range (the same range as the IPQ-4019)?
Sorry, so does it mean that Mikrotik Audience does not roam between AUDIENCE as the other brand of mesh routers promise to do? like Tp-link, NetGear, Google, etc.?Wave2 is not only 160 MHz, read above. Just try to compare hAP ac2 or Audience with Keenetic Ultra in real life. Mikrotik will loose in WiFi.I tend to agree that full wave2 features and 160MHz channels aren't necessary for many users.
There is no way to do this officially.Is there a way to make it work in a "normal" range (the same range as the IPQ-4019)?
Thank you for posting the default config - this helps in building it from other hardwareSource:?Audience is just using CAPsMAN and link with other CAP-devices on the third wlan similar to repeater (bridge-ap/station-bridge).
It is not using WDS mesh or any specific mesh technology.
The device itself..;
Code: Select all[admin@Audience1] > /system default-configuration print script: :global ssid; #| RouterMode: #| * WAN port is protected by firewall and enabled DHCP client #| * Wireless and Ethernet interfaces (except WAN port/s) #| are part of LAN bridge #| WPS Sync: #| mode: ap-bridge; #| wpa2: yes; #| channel-width: 20/40mhz-XX; #| LAN Configuration: #| IP address 192.168.88.1/24 is set on bridge (LAN port) #| DHCP Server: enabled; #| DNS: enabled; #| CAPsMAN: #| bands: b/g/n, a/n, a/n/ac; #| installation: indoor; #| channel-width: 20MHz; #| forwarding: local; #| Wireless: CAP enabled on wireless interfaces #| WAN (gateway) Configuration: #| gateway: ether1 ; #| ip4 firewall: enabled; #| NAT: enabled; #| DHCP Client: enabled; :global defconfMode; :log info Starting_defconf_script_; #------------------------------------------------------------------------------- # Apply configuration. # these commands are executed after installation or configuration reset #------------------------------------------------------------------------------- :if ($action = "apply") do={ # wait for interfaces :local count 0; :while ([/interface ethernet find] = "") do={ :if ($count = 30) do={ :log warning "DefConf: Unable to find ethernet interfaces"; /quit; } :delay 1s; :set count ($count +1); }; :local count 0; :while ([/interface wireless print count-only] < 2) do={ :set count ($count +1); :if ($count = 40) do={ :log warning "DefConf: Unable to find wireless interface(s)"; /ip address add address=192.168.88.1/24 interface=ether1 comment="defconf"; /quit } :delay 1s; }; /interface wireless security-profiles { add name=wpsSync set wpsSync mode=dynamic-keys group-ciphers=aes-ccm unicast-ciphers=aes-ccm \ authentication-types=wpa2-psk disable-pmkid=yes wpa2-pre-shared-key=7448-b666 comment=defconf }; :local count 0; :while ([/interface wireless find default-name="wlan3"] = "") do={ :if ($count = 15) do={ :log warning "DefConf: Unable to find wlan3 interface"; /quit } :delay 1s; :set count ($count +1); }; /interface wireless { :local wl3 [find default-name="wlan3"] :local wlanMac [get $wl3 mac-address]; :set ssid "SYNC-$[:pick $wlanMac 9 11]$[:pick $wlanMac 12 14]$[:pick $wlanMac 15 17]" set $wl3 disabled=no mode=ap-bridge band=5ghz-a/n/ac ssid=$ssid security-profile=wpsSync wps-mode=push-button set $wl3 channel-width=20/40mhz-XX }; /interface list add name=WAN comment="defconf" /interface list add name=LAN comment="defconf" /interface bridge add name=bridge disabled=no auto-mac=yes protocol-mode=rstp comment=defconf; :local bMACIsSet 0; :foreach k in=[/interface find where !(slave=yes || name="ether1" || name~"bridge")] do={ :local tmpPortName [/interface get $k name]; :log info "port: $tmpPortName" :if ($bMACIsSet = 0) do={ :if ([/interface get $k type] = "ether") do={ /interface bridge set "bridge" auto-mac=no admin-mac=[/interface ethernet get $tmpPortName mac-address]; :set bMACIsSet 1; } } /interface bridge port add bridge=bridge interface=$tmpPortName comment=defconf; } /ip pool add name="default-dhcp" ranges=192.168.88.10-192.168.88.254; /ip dhcp-server add name=defconf address-pool="default-dhcp" interface=bridge lease-time=10m disabled=no; /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1 comment="defconf"; /ip address add address=192.168.88.1/24 interface=bridge comment="defconf"; /ip dns { set allow-remote-requests=yes static add name=router.lan address=192.168.88.1 comment=defconf } /caps-man configuration { add name=cfg-2ghz ssid=MikroTikD31D7F-2 channel.band=2ghz-b/g/n channel.control-channel-width=20mhz \ channel.extension-channel=XX distance=indoors installation=indoor \ datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf add name=cfg-5ghz-ac ssid=MikroTikD31D7F-5 channel.band=5ghz-a/n/ac channel.control-channel-width=20mhz \ channel.extension-channel=XXXX distance=indoors installation=indoor \ datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf add name=cfg-5ghz-an ssid=MikroTikD31D7F-5 channel.band=5ghz-a/n channel.control-channel-width=20mhz \ channel.extension-channel=XX distance=indoors installation=indoor \ datapath.client-to-client-forwarding=yes datapath.local-forwarding=yes comment=defconf }; /caps-man provisioning { add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=cfg-2ghz \ name-format=prefix-identity name-prefix=2ghz comment=defconf add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=cfg-5ghz-ac \ name-format=prefix-identity name-prefix=5ghz-ac comment=defconf add action=create-dynamic-enabled hw-supported-modes=an master-configuration=cfg-5ghz-an \ name-format=prefix-identity name-prefix=5ghz-an comment=defconf }; /caps-man manager interface { set [ find default=yes ] forbid=yes add disabled=no interface=bridge comment=defconf }; /caps-man manager set enabled=yes /interface wireless cap set enabled=yes interfaces=wlan1,wlan2 caps-man-addresses=127.0.0.1 /ip dhcp-client add interface=ether1 disabled=no comment="defconf"; /interface list member add list=LAN interface=bridge comment="defconf" /interface list member add list=WAN interface=ether1 comment="defconf" /ip firewall nat add chain=srcnat out-interface-list=WAN ipsec-policy=out,none action=masquerade comment="defconf: mas> /ip firewall { filter add chain=input action=accept connection-state=established,related,untracked comment="defconf: accept establi> filter add chain=input action=drop connection-state=invalid comment="defconf: drop invalid" filter add chain=input action=accept protocol=icmp comment="defconf: accept ICMP" filter add chain=input action=accept dst-address=127.0.0.1 comment="defconf: accept to local loopback (for CAPsMAN)" filter add chain=input action=drop in-interface-list=!LAN comment="defconf: drop all not coming from LAN" filter add chain=forward action=accept ipsec-policy=in,ipsec comment="defconf: accept in ipsec policy" filter add chain=forward action=accept ipsec-policy=out,ipsec comment="defconf: accept out ipsec policy" filter add chain=forward action=fasttrack-connection connection-state=established,related comment="defconf: fasttrac> filter add chain=forward action=accept connection-state=established,related,untracked comment="defconf: accept estab> filter add chain=forward action=drop connection-state=invalid comment="defconf: drop invalid" filter add chain=forward action=drop connection-state=new connection-nat-state=!dstnat in-interface-list=WAN comment> } /ip neighbor discovery-settings set discover-interface-list=LAN /tool mac-server set allowed-interface-list=LAN /tool mac-server mac-winbox set allowed-interface-list=LAN } #------------------------------------------------------------------------------- # Revert configuration. # these commands are executed if user requests to remove default configuration #------------------------------------------------------------------------------- :if ($action = "revert") do={ /user set admin password="" /system routerboard mode-button set enabled=no /system routerboard mode-button set on-event="" /system script remove [find comment~"defconf"] /ip firewall filter remove [find comment~"defconf"] /ip firewall nat remove [find comment~"defconf"] /interface list member remove [find comment~"defconf"] /interface detect-internet set detect-interface-list=none /interface detect-internet set lan-interface-list=none /interface detect-internet set wan-interface-list=none /interface detect-internet set internet-interface-list=none /interface list remove [find comment~"defconf"] /tool mac-server set allowed-interface-list=all /tool mac-server mac-winbox set allowed-interface-list=all /ip neighbor discovery-settings set discover-interface-list=!dynamic :local o [/ip dhcp-server network find comment="defconf"] :if ([:len $o] != 0) do={ /ip dhcp-server network remove $o } :local o [/ip dhcp-server find name="defconf" !disabled] :if ([:len $o] != 0) do={ /ip dhcp-server remove $o } /ip pool { :local o [find name="default-dhcp" ranges=192.168.88.10-192.168.88.254] :if ([:len $o] != 0) do={ remove $o } } :local o [/ip dhcp-client find comment="defconf"] :if ([:len $o] != 0) do={ /ip dhcp-client remove $o } /ip dns { set allow-remote-requests=no :local o [static find comment="defconf"] :if ([:len $o] != 0) do={ static remove $o } } /ip address { :local o [find comment="defconf"] :if ([:len $o] != 0) do={ remove $o } } :foreach iface in=[/interface ethernet find] do={ /interface ethernet set $iface name=[get $iface default-name] } /interface bridge port remove [find comment="defconf"] /interface bridge remove [find comment="defconf"] /interface wireless cap set enabled=no interfaces="" caps-man-addresses="" /interface wireless reset-configuration wlan1 /interface wireless reset-configuration wlan2 /interface wireless reset-configuration wlan3 /interface wireless security-profiles remove [find name="wpsSync"] /caps-man manager set enabled=no /caps-man manager interface remove [find comment="defconf"] /caps-man manager interface set [ find default=yes ] forbid=no /caps-man provisioning remove [find comment="defconf"] /caps-man configuration remove [find comment="defconf"] } :log info Defconf_script_finished; :set defconfMode; :set ssid; caps-mode-script: #------------------------------------------------------------------------------- # Note: script will not execute at all (will throw a syntax error) if # dhcp or wireless-fp packages are not installed #------------------------------------------------------------------------------- #| CAP configuration #| #| Wireless interfaces are set to be managed by CAPsMAN. #| All ethernet interfaces and CAPsMAN managed interfaces are bridged. #| DHCP client is set on bridge interface. # bridge port name :global brName "bridgeLocal"; :global logPref "defconf:"; :global action; :log info $action :if ($action = "apply") do={ # wait for ethernet interfaces :local count 0; :while ([/interface ethernet find] = "") do={ :if ($count = 30) do={ :log warning "DefConf: Unable to find ethernet interfaces"; /quit; } :delay 1s; :set count ($count + 1); } :local macSet 0; :local tmpMac ""; :foreach k in=[/interface ethernet find] do={ # first ethernet is found; add bridge and set mac address of the ethernet port :if ($macSet = 0) do={ :set tmpMac [/interface ethernet get $k mac-address]; /interface bridge add name=$brName auto-mac=no admin-mac=$tmpMac comment="defconf"; :set macSet 1; } # add bridge ports /interface bridge port add bridge=$brName interface=$k comment="defconf" } # try to add dhcp client on bridge interface (may fail if already exist) :do { /ip dhcp-client add interface=$brName disabled=no comment="defconf" } on-error={ :log warning "$logPref unable to add dhcp client";} # try to configure caps (may fail if for example specified interfaces are missing) :local interfacesList ""; :local bFirst 1; # wait for wireless interfaces :while ([/interface wireless find] = "") do={ :if ($count = 30) do={ :log warning "DefConf: Unable to find wireless interfaces"; /quit; } :delay 1s; :set count ($count + 1); } # delay just to make sure that all wireless interfaces are loaded :delay 5s; :foreach i in=[/interface wireless find] do={ if ($bFirst = 1) do={ :set interfacesList [/interface wireless get $i name]; :set bFirst 0; } else={ :set interfacesList "$interfacesList,$[/interface wireless get $i name]"; } } :do { /interface wireless cap set enabled=yes interfaces=$interfacesList discovery-interfaces=$brName bridge=$brName } on-error={ :log warning "$logPref unable to configure caps";} } :if ($action = "revert") do={ :do { /interface wireless cap set enabled=no interfaces="" discovery-interfaces="" bridge=none } on-error={ :log warning "$logPref unable to unset caps";} :local o [/ip dhcp-client find comment="defconf"] :if ([:len $o] != 0) do={ /ip dhcp-client remove $o } /interface bridge port remove [find comment="defconf"] /interface bridge remove [find comment="defconf"] } wps-sync-mode-script: #------------------------------------------------------------------------------- # Note: script will not execute at all (will throw a syntax error) if # dhcp or wireless-fp packages are not installed #------------------------------------------------------------------------------- #| WPS Sync Configuration: #| * Wireless and ethernet interfaces bridged with enabled DHCP client #| * wlan1/2 access points and wlan3 wps sync releater #| Wireless: CAP enabled on wlan1/2 #| WPS Sync: #| mode: repeater; #| LAN Configuration: #| DHCP client: enabled; # bridge port name :global brName "bridgeLocal"; :global logPref "defconf:"; :global ssid; :global action; :log info $action :if ($action = "apply") do={ # wait for ethernet interfaces :local count 0; :while ([/interface ethernet find] = "") do={ :if ($count = 30) do={ :log warning "DefConf: Unable to find ethernet interfaces"; /quit; } :delay 1s; :set count ($count + 1); } :local macSet 0; :local tmpMac ""; :foreach k in=[/interface ethernet find] do={ # first ethernet is found; add bridge and set mac address of the ethernet port :if ($macSet = 0) do={ :set tmpMac [/interface ethernet get $k mac-address]; /interface bridge add name=$brName auto-mac=no admin-mac=$tmpMac comment="defconf"; :set macSet 1; } # add bridge ports /interface bridge port add bridge=$brName interface=$k comment="defconf" } # try to add dhcp client on bridge interface (may fail if already exist) :do { /ip dhcp-client add interface=$brName disabled=no comment="defconf" } on-error={ :log warning "$logPref unable to add dhcp client";} :local count 0; :while ([/interface wireless print count-only] < 3) do={ :set count ($count +1); :if ($count = 40) do={ :log warning "DefConf: Unable to find wireless interfaces"; /ip address add address=192.168.88.1/24 interface=ether1 comment="defconf"; /quit } :delay 1s; }; :foreach k in=[/interface wireless find] do={ # add bridge ports /interface bridge port add bridge=$brName interface=$k comment="defconf" } :local hwInfo [/interface wireless info hw-info [.. find where default-name="wlan3"] as-value]; #:if (($hwInfo->"locked-countries")~"russia") do={ /interface wireless set [find where default-name="wlan3"] channel-width=20/40mhz-XX band=5ghz-a/n/ac #} else={ # /interface wireless set [find where default-name="wlan3"] channel-width=20/40/80mhz-XXXX band=5ghz-a/n/ac #} /interface wireless cap set discovery-interfaces=bridgeLocal enabled=yes interfaces=wlan1,wlan2 /interface wireless setup-repeater wlan3 duration=2m } :if ($action = "revert") do={ :local o [/ip dhcp-client find comment="defconf"] :if ([:len $o] != 0) do={ /ip dhcp-client remove $o } /interface bridge port remove [find comment="defconf"] /interface bridge remove [find comment="defconf"] /interface wireless cap set enabled=no interfaces="" discovery-interfaces="" /interface wireless reset-configuration wlan1 /interface wireless reset-configuration wlan2 /interface wireless reset-configuration wlan3 } :set brName; :set logPref; :set ssid;
That is what we could get and still use it.who still uses so old printers without eth wifi /cloud