This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
networking:router:mikrotik_ap [2022/12/29 12:57] gcooper created |
networking:router:mikrotik_ap [2022/12/29 13:22] (current) gcooper |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== Home AP ==== | ==== Home AP ==== | ||
- | For a simple home AP, you can **default the programming (factory reset) and select '' | + | For a simple home AP, you can **default the programming (factory reset) and select '' |
+ | |||
+ | * Bridges all ports to the LAN | ||
+ | * '' | ||
+ | * '' | ||
+ | * Permits management on all ports | ||
+ | * WPA2 security with a pre-shared key | ||
+ | * Sets AP as DHCP client for IP address | ||
+ | * Use DHCP reservation if desired | ||
+ | * Sets AP hostname | ||
< | < | ||
- | /interface bridge | + | # Create a LAN bridge |
- | add name=LAN | + | /interface bridge add name=LAN |
+ | |||
+ | # Configure wireless security | ||
/interface wireless security-profiles | /interface wireless security-profiles | ||
set [ find default=yes ] supplicant-identity=MikroTik | set [ find default=yes ] supplicant-identity=MikroTik | ||
- | add authentication-types=wpa2-psk mode=dynamic-keys name=Secure supplicant-identity="" | + | add authentication-types=wpa2-psk mode=dynamic-keys name=Secure supplicant-identity="" |
+ | | ||
+ | |||
+ | # Configure wireless interfaces - SSIDs can be the same | ||
/interface wireless | /interface wireless | ||
- | set [ find default-name=wlan1 ] band=2ghz-b/ | + | set [ find default-name=wlan1 ] band=2ghz-b/ |
- | Cooper-2GHz | + | |
- | set [ find default-name=wlan2 ] band=5ghz-a/ | + | set [ find default-name=wlan2 ] band=5ghz-a/ |
- | | + | |
- | /ip hotspot profile | + | |
- | set [ find default=yes ] html-directory=hotspot | + | # Add all interfaces to the bridge |
- | /interface bridge port | + | /interface bridge port add bridge=LAN interface=all |
- | add bridge=LAN interface=all | + | |
- | /ip dhcp-client | + | # Enable DHCP client so AP gets a management address |
- | add disabled=no interface=LAN | + | /ip dhcp-client add disabled=no interface=LAN |
- | /system identity | + | |
- | set name=grc-ap | + | # Set the AP hostname |
+ | /system identity set name=< | ||
</ | </ | ||