Community discussions

MikroTik App
 
Jere
just joined
Topic Author
Posts: 3
Joined: Sun Feb 11, 2024 10:04 pm

Configuration file

Sun Feb 11, 2024 10:16 pm

Hello all,
I have Mikrotik hap ac, which I want to use as router. I buy it as second hand, and it is not configured. I would like to use Sfp port as network input and Lan's port for user(laptops) and as well wifi for users. I try to configure device, but when I connect device(laptop) via Lan or wifi on it I dont have internet access. Does anybody have maybe some basic script to share with me? How exactly device needs to be configured to be operational? Device running on current FW 6.48.6.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Configuration file

Sun Feb 11, 2024 10:19 pm

 
Jere
just joined
Topic Author
Posts: 3
Joined: Sun Feb 11, 2024 10:04 pm

Re: Configuration file

Mon Feb 12, 2024 1:42 am

Hi BartoszP, I done that and it take me to CAP. managed by CAPsMAN.
This is now configuration
# jan/02/1970 00:07:13 by RouterOS 6.48.6
# software id = N06G-N2QY
#
# model = RB962UiGS-5HacT2HnT
# serial number = HDA08D8X0PG
/interface bridge
add admin-mac=18:FD:74:D0:6A:DB auto-mac=no comment=defconf name=bridgeLocal
/interface wireless
# managed by CAPsMAN
set [ find default-name=wlan1 ] ssid=MikroTik
# managed by CAPsMAN
set [ find default-name=wlan2 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
add bridge=bridgeLocal comment=defconf interface=ether3
add bridge=bridgeLocal comment=defconf interface=ether4
add bridge=bridgeLocal comment=defconf interface=ether5
add bridge=bridgeLocal comment=defconf interface=sfp1
/interface wireless cap
# 
set bridge=bridgeLocal discovery-interfaces=bridgeLocal enabled=yes \
    interfaces=wlan1,wlan2
/ip dhcp-client
add comment=defconf disabled=no interface=bridgeLocal
/system identity
set name=RouterOS
 
jaclaz
Long time Member
Long time Member
Posts: 667
Joined: Tue Oct 03, 2023 4:21 pm

Re: Configuration file

Mon Feb 12, 2024 1:41 pm

In this thread:
viewtopic.php?t=179213
a configuration that is almost entirely the default one has been posted, with a RoS version that is near to the one you have.

But if you do now again a reset through Winbox, you should see a settings window like this one:
viewtopic.php?t=148207

likely it now has the CAPS mode selected/checked, if this is the case, try unchecking it (all checkbox should be empty for resetting to default/factory)
 
Jere
just joined
Topic Author
Posts: 3
Joined: Sun Feb 11, 2024 10:04 pm

Re: Configuration file

Wed Feb 14, 2024 5:42 pm

Hi Jaclaz,
I done restart trough winbox, and now, when I connect FO cable to switch port, port is block( protection is activated) probably because of wrong configuration.

Who is online

Users browsing this forum: No registered users and 13 guests