Community discussions

MikroTik App
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

CAPsMAN

Tue Aug 05, 2014 1:31 pm

hi all
is there anybody can have all command to run caps man
iv got a capsman and about 15 caps and all of them connected by cable and a cisco switch
ill be appreciated if please give me a full commands to configure capsman and all caps
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: CAPsMAN

Tue Aug 05, 2014 1:38 pm

wiki.mikrotik.com/wiki/Manual:CAPsMAN
After following this guide you will have a running system.
-Chris
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: CAPsMAN

Tue Aug 05, 2014 5:37 pm

this is my configuration
could you please let me know which part is not correct ?
from my laptop i can see the CAPs and i can connect them, but i didn't receive any ip address


/interface ethernet
set [ find default-name=ether4 ] name=ether4-wan
set [ find default-name=ether5 ] name=ether5-lan

/ip pool
add name=dhcp_pool1 ranges=192.168.1.200-192.168.1.254

/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=ether5-lan name=dhcp1

/ip address
add address=192.168.1.1/24 interface=ether5-lan network=192.168.1.0

/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.1.1 gateway=192.168.1.1

/ip dns
set allow-remote-requests=yes

/ip firewall nat
add action=masquerade chain=srcnat comment="masquerade internal network" out-interface=ether4-wan src-address=192.168.1.0/24

/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether4-wan

/system ntp client
set enabled=yes mode=unicast primary-ntp=203.99.129.34

/system identity
set name=CAPsMAN

/caps-man manager set enabled=yes

/caps-man channel add band=2ghz-b/g/n frequency=2412 width=20 name=channel100

/caps-man security add name=security100 authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm passphrase=Aa123456


/caps-man configuration add name=cfg100 mode=ap ssid="DANA-CAPsMAN" channel=channel100 security=security100

/caps-man provisioning add radio-mac=D4:CA:6D:9F:35:13 action=create-dynamic-enabled master-configuration=cfg100

==================

/system identity set name=CAPs
/interface wireless cap set enabled=yes interfaces=wlan1 caps-man-addresses=192.168.1.1
/ip dhcp-client add interface=ether5 use-peer-dns=yes add-default-route=yes disabled=no
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: CAPsMAN

Wed Aug 06, 2014 11:32 am

I don't see any bridge in your config which is essential for the CAPs to work.
Add a bridge with ether5 as member, move your DHCP server from ether5 to the bridge.
Give that bridge an IP address (or DHCP-client)
Then have a look at /caps-man datapath which seems not to be configured.

-Chris
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: CAPsMAN

Sun Aug 17, 2014 5:43 pm

hi cdiedrich
thank you so much for ur replay
its work now
but i have another problem now
when i create a create a new profile and assign it as a slave to some radio its not work, and i need to reboot my CAPsMAN or some CAPs
whats the problem

/caps-man provisioning
add action=create-dynamic-enabled master-configuration="Hotspot Profile" slave-configurations="Guest Profile"

thank you so much in advanced
 
mcdebugger
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Mon Oct 03, 2011 11:10 am

Re: CAPsMAN

Mon Aug 18, 2014 9:30 am

hi cdiedrich
thank you so much for ur replay
its work now
but i have another problem now
when i create a create a new profile and assign it as a slave to some radio its not work, and i need to reboot my CAPsMAN or some CAPs
whats the problem

/caps-man provisioning
add action=create-dynamic-enabled master-configuration="Hotspot Profile" slave-configurations="Guest Profile"

thank you so much in advanced
Provisioning means that when your CAP connecting to CAPsMAN it will be added dynamically or statically (in your example dynamically) as cap with provisioning profile configuration.
You need to reprovision your CAP when you add new slave configuration ( /caps-man remote-cap provision ) or you need to manually add slave interface to existing cap ( /caps-man interface ). Also you can remove cap from interfaces list and it should reconnect with new configuration (the same as manual provisioning).
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: CAPsMAN

Tue Aug 19, 2014 4:36 pm

thank you so much
another problem, is there anybody works with VLAN on CAPsMAN
i need to use VLAN
if anybody have an example please let me know

Who is online

Users browsing this forum: No registered users and 38 guests