Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.71 KB | None | 0 0
  1. Менеджер
  2.  
  3. [admin@TeremuReki] > /caps-man export                
  4. # dec/08/2019 00:40:38 by RouterOS 6.46
  5. # software id = 0R6B-73PL
  6. #
  7. # model = RB2011UiAS-2HnD
  8. # serial number = B9070A1E368D
  9. /caps-man channel
  10. add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=disabled frequency=2457 name=channel1 tx-power=20
  11. /caps-man datapath
  12. add bridge=bridge_hs name=datapath1
  13. /caps-man security
  14. add authentication-types="" encryption=tkip name="open tkip"
  15. /caps-man configuration
  16. add channel=channel1 datapath=datapath1 mode=ap name="wifi auth" rx-chains=0,1,2,3 security="open tkip" ssid=CAP_WIFI tx-chains=0,1,2,3
  17. /caps-man manager
  18. set enabled=yes
  19. /caps-man provisioning
  20. add action=create-dynamic-enabled master-configuration="wifi auth"
  21.  
  22. [admin@TeremuReki] > interface bridge export
  23. # dec/08/2019 00:44:34 by RouterOS 6.46
  24. # software id = 0R6B-73PL
  25. #
  26. # model = RB2011UiAS-2HnD
  27. # serial number = B9070A1E368D
  28. /interface bridge
  29. add admin-mac=74:4D:28:DD:04:56 auto-mac=no comment=defconf name=bridge
  30. add name=bridge_hs protocol-mode=none
  31. /interface bridge port
  32. add bridge=bridge_hs comment=defconf interface=ether2
  33. add bridge=bridge_hs comment=defconf interface=ether3
  34. add bridge=bridge_hs comment=defconf interface=ether4
  35. add bridge=bridge_hs comment=defconf interface=ether5
  36. add bridge=bridge_hs comment=defconf interface=ether6
  37. add bridge=bridge_hs comment=defconf interface=ether7
  38. add bridge=bridge_hs comment=defconf interface=ether8
  39. add bridge=bridge_hs comment=defconf interface=ether9
  40. add bridge=bridge_hs comment=defconf interface=ether10
  41. add bridge=bridge comment=defconf interface=sfp1
  42. add bridge=bridge_hs comment=defconf interface=wlan1
  43.  
  44. CLIENT
  45. [admin@MikroTik] > export        
  46. # dec/08/2019 00:43:08 by RouterOS 6.45.1
  47. # software id = 7LRH-FRKN
  48. #
  49. # model = RBcAPL-2nD
  50. # serial number = BB220BF8088A
  51. /interface bridge
  52. add admin-mac=C4:AD:34:1C:14:43 auto-mac=no comment=defconf name=bridge
  53. /interface wireless
  54. # managed by CAPsMAN
  55. # channel: 2457/20/gn(20dBm), SSID: CAP_WIFI, CAPsMAN forwarding
  56. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
  57.     frequency=auto installation=indoor mode=ap-bridge ssid=MikroTik-1C1444
  58. /interface wireless security-profiles
  59. set [ find default=yes ] supplicant-identity=MikroTik
  60. /ip hotspot profile
  61. set [ find default=yes ] html-directory=flash/hotspot
  62. /interface bridge port
  63. add bridge=bridge comment=defconf interface=ether1
  64. add bridge=bridge comment=defconf interface=wlan1
  65. /interface wireless cap
  66. #
  67. set bridge=bridge caps-man-addresses=192.168.1.1 enabled=yes interfaces=wlan1
  68. /ip dhcp-client
  69. add comment=defconf dhcp-options=hostname,clientid disabled=no interface=bridge
  70. /system clock
  71. set time-zone-name=Europe/Moscow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement