Can anyone provide the output from /system default-configuration print on one of these boxes?
-Eric
Can anyone provide the output from /system default-configuration print on one of these boxes?
-Eric
#| Wireless Configuration:
#| security-key: 374902B0B79E;
#| mode: ap-bridge;
#| band: 2ghz-b/g/n;
#| frequency: 2412;
#| ht-chains: two;
#| ht-extension: 20/40mhz-ht-above;
#|
#| WAN (gateway) Configuration:
#| gateway: sfp1 ether1 (renamed with extension ‘-gateway’);
#| firewall: enabled;
#| NAT: enabled;
#| DHCP Client: enabled;
#|
#| LAN Configuration:
#| LAN Port: bridge-local;
#| switch group: ether6 (master), ether7, ether8, ether9, ether10
#| (renamed with extensions ‘-master-local’ and ‘-slave-local’)
#| LAN IP: 192.168.88.1;
#| DHCP Server: enabled;
:global action;
:local dhcpEnabled 0;
:local wirelessEnabled 0;
#check for wireless and dhcp packages
:if ([:len [/system package find name="dhcp" !disabled]] != 0) do={
:set dhcpEnabled 1;
}
:if ([:len [/system package find name="wireless" !disabled]] != 0) do={
:set wirelessEnabled 1;
}
#-------------------------------------------------------------------------------
# Apply configuration.
# these commands are executed after installation or configuration reset
#-------------------------------------------------------------------------------
:if ($action = "apply") do={
# wait for interfaces
:while ([/interface ethernet find] = "") do={ :delay 1s; };
:if ( $wirelessEnabled = 1) do={
:local count 0;
:while ([/interface wireless find] = "") do={
:set count ($count +1);
:if ($count = 60) do={
:log warning "DefConf: Unable to find wireless interface";
/ip address add address=192.168.88.1/24 interface=ether1;
/quit
}
:delay 1s;
};
/interface wireless set wlan1 mode=ap-bridge band=2ghz-b/g/n frequency=2412 ht-txchains=0,1 ht-rxchains=0,1 \
disabled=no wireless-protocol=any distance=indoors
:local wlanMac [/interface wireless get wlan1 mac-address];
:set ssid "MikroTik-$[:pick $wlanMac 9 11]$[:pick $wlanMac 12 14]$[:pick $wlanMac 15 17]"
/interface wireless set wlan1 ssid=$ssid
/interface wireless security-profiles set default wpa-pre-shared-key=374902B0B79E wpa2-pre-shared-key=374902B0B79E mode=dynamic-keys authentication-types=wpa-psk,wpa2-psk
/interface wireless set wlan1 channel-width=20/40mhz-ht-above ;
}
/interface set sfp1 name="sfp1-gateway";
/interface set ether1 name="ether1-gateway";
:if ( $dhcpEnabled = 1) do={
/ip dhcp-client add interface=sfp1-gateway disabled=no comment="default configuration";
/ip dhcp-client add interface=ether1-gateway disabled=no comment="default configuration";
}
/interface {
set ether6 name=ether6-master-local;
set ether7 name=ether7-slave-local;
set ether8 name=ether8-slave-local;
set ether9 name=ether9-slave-local;
set ether10 name=ether10-slave-local;
}
/interface ethernet {
set ether7-slave-local master-port=ether6-master-local;
set ether8-slave-local master-port=ether6-master-local;
set ether9-slave-local master-port=ether6-master-local;
set ether10-slave-local master-port=ether6-master-local;
}
/interface bridge
add name=bridge-local disabled=no auto-mac=no protocol-mode=rstp;
:local bMACIsSet 0;
:foreach k in=[/interface find] do={
:local tmpPortName [/interface get $k name];
:if (!($tmpPortName~"bridge" || $tmpPortName~"sfp1" || $tmpPortName~"ether1"|| $tmpPortName~"slave")) do={
:if ($bMACIsSet = 0) do={
:if ([/interface get $k type] = "ether") do={
/interface bridge set "bridge-local" admin-mac=[/interface ethernet get $tmpPortName mac-address];
:set bMACIsSet 1;
}
}
/interface bridge port
add bridge=bridge-local interface=$tmpPortName;
}
}
/ip address add address=192.168.88.1/24 interface=bridge-local comment="default configuration";
Where can i download the default config backup file from the RB2011UAS-2HnD i have lost the backup file