Mikrotik
- 32 ответа
- 0 вопросов
19
Вклад в тег
/ip address
add address=10.0.0.1/24 interface=bridge
/ip dhcp-server network
add address=10.0.0.0/24 gateway=10.0.0.1 dns-server=10.0.0.1
/caps-man interface rem [find]
/caps-man channel
add band=2ghz-b/g/n extension-channel=Ce frequency=2412 name=channel1 tx-power=13 width=20
/caps-man datapath
add bridge=bridge-local client-to-client-forwarding=yes name=datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm name=sec1 passphrase="пароль"
/caps-man configuration
add country=russia datapath=datapath1 hide-ssid=no mode=ap name=cfg1 security=sec1 ssid=имя _сети channel=channel1
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=cfg1
/caps-man manager
set enabled=yes
/interface wireless cap
set bridge=bridge-local caps-man-addresses=127.0.0.1 discovery-interfaces=bridge-local enabled=yes interfaces=wlan1
/ip dhcp-server rem [find]
/ip dhcp-server network rem [find]
/ip pool rem [find]
/ip dhcp-client set 0 interface=bridge0 disabled=no
/interface wireless cap
set bridge=bridge0 discovery-interfaces=bridge0 enabled=yes interfaces=wlan1