Page 1 of 1

RB941-2ND-TC, newbie e connection as AP for IOT devices

Posted: Mon Apr 08, 2019 12:19 pm
by woody4165
Hi everyone

I am approaching Mikrotik for the first time and I have no experience with RuoterOS.

I have a Fritz 7590 as a router for FFTC and I took the Mikrotik RB941-2ND-TC to create an Access Point for various IOT devices that are becoming increasingly larger in my LAN.

I ask you about how to configure it.

I have an Intel NUC as a home automation server, with Home Assistant, on wired network connected to the Fritz.

I have various Shelly and ESP8266 devices, all working with WiFi 2.4GHz and that must be seen by the server above, that I would like to connect to the Mikrotik Access Point.

I have seen that if I create a "Home AP", the LAN and the Wifi of the hAP addresses are different from that coming from the Internet connection via WAN.
In this case I imagine that all my devices connected to the hAP will have a different network address than the home automation server, right? Probably in this way they shouldn't be seen from the server,

If you set it as WISP AP and then as Bridge, the addresses will all have the same address, but I can no longer access WinBox to the hAP lite, even if I can see the address of the hAP on my Fritz.

What do you suggest me to do initially, before starting to venture into other parameters to configure it better and exploit its full potential?

Are there tutorials, video or text, that you suggest me to consult?

Thank you

Re: RB941-2ND-TC, newbie e connection as AP for IOT devices

Posted: Mon Apr 08, 2019 4:08 pm
by rbuserdl
Hello
Sorry, what are you trying to accomplish with the mikrotik?
Do you need just to connect with Wireless some devices?
You can configure it to get all devices in the same network or in different networks
Do you have a DHCP Server and DNS Server in your network?

If you want to get everything on the same network, you can set a bridge, add all interfaces to the bridge and set an IP address to it
If you want to Mikrotik to assign IPs in different network, wlan interfaces and the interface where is connected the network should not be on the same bridge
You can see your basic settings, connecting with winbox or web in:
- /ip address (See static and dinamyc IPs in all interfaces)
- /ip dhcp-server (See if mikrotik is giving IPs to anything)
- /ip dhcp-client (See if mikrotik is trying to get any IP dinamically in any interface)

I am not an expert

Re: RB941-2ND-TC, newbie e connection as AP for IOT devices

Posted: Mon Apr 08, 2019 4:22 pm
by woody4165
Hello
Sorry, what are you trying to accomplish with the mikrotik?
Do you need just to connect with Wireless some devices?
At first, I would like to have it as an AP on the same network, just to check if the Wifi signal is good for every device I have in that area.
You can configure it to get all devices in the same network or in different networks
Do you have a DHCP Server and DNS Server in your network?
Yes I have a DHCP server, my Fritz router, and DNS Server, Pihole running on a server.
If you want to Mikrotik to assign IPs in different network, wlan interfaces and the interface where is connected the network should not be on the same bridge
You can see your basic settings, connecting with winbox or web in:
- /ip address (See static and dinamyc IPs in all interfaces)
- /ip dhcp-server (See if mikrotik is giving IPs to anything)
- /ip dhcp-client (See if mikrotik is trying to get any IP dinamically in any interface)
Then, I would like to create VLANs to separate my domotic server, IOT devices and IP cameras from main LAN that I will use for my laptop and other PCs.

Re: RB941-2ND-TC, newbie e connection as AP for IOT devices

Posted: Mon Apr 08, 2019 10:02 pm
by rbuserdl
Quick set is not recommended and sometimes it does not work so good, but you could try to use quickset and select "bridge" mode in configuration
Previous backup, which is in "/files"
Otherwise, to make it work as AP you could try to configure it manually:
- Make sure you have a bridge (/bridge) and see which ports are on it (/bridge ports), you should have Wireless interfaces and wired interfaces (At least the interface which is connected to the network) in the same bridge
- Delete or disable any DHCP server if there is one (/ip dhcp-server)
- Create a DHCP client pointing to the bridge (/ip dhcp-client)
- Delete or disable masquerade, if it is set (/ip firewall nat)
- You can configure Wireless settings but for testing purpouse you can leave it as default, which has not password (/interface Wireless for the terminal, or /Wireless for the gui)

I wrote within "()" the different places, you can access it in terminal but it is almost the same in the winbox interface

I think these steps should be enought
If you have a problem or dont know how to do anything let me know

Regards

Re: RB941-2ND-TC, newbie e connection as AP for IOT devices

Posted: Tue Apr 09, 2019 8:34 pm
by anav
Woody I have two capACs, reset to defaults, use quickset of AP-WISP and then leave quickset. :-)
All you need to do is some basic setup for wireless and you are done.
When you want to setup vlans follow the right example in this excellent reference.
viewtopic.php?f=13&t=143620