Map Lite wireless bridge

Hello
I need a little help to solve my problem.
I’m new to mikrotik programming so I used only the quick set option.
So I would like to connect my Map Lite ap to my main router via wireless and use the MapLite ap ethernet port to connect my IP cam with cable.
I can’t make it work. I can’t see my camera on the network.
My main router ip is: 192.168.1.1
My Map Lite ip is: 192.168.1.6
Here is my config:

# jan/02/1970 00:04:00 by RouterOS 6.45.7
# software id = B1C4-AIEZ
#
# model = RouterBOARD mAP L-2nD
# serial number = 95DA0A9E17D8
/interface bridge
add comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] advertise=\
    10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
    disabled=no distance=indoors frequency=auto mode=station-pseudobridge \
    ssid=ip-cam wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=\
    tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik \
    unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=1234567 \
    wpa2-pre-shared-key=1234567
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.1.0/24 comment=defconf interface=wlan1 network=\
    192.168.1.0
/ip dhcp-client
# DHCP client can not run on slave interface!
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=\
    ether1
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf gateway=192.168.1.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.1.6 name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
    ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
    ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related
add action=accept chain=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
    connection-state=invalid
add action=drop chain=forward comment=\
    "defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
    connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
    ipsec-policy=out,none out-interface-list=WAN
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

What is my fault?
Thanks for answer :slight_smile:

Ok, I made another from the scratch.
Still the same :frowning:

# dec/21/2019 14:50:00 by RouterOS 6.45.7
# software id = B1C4-AIEZ
#
# model = RouterBOARD mAP L-2nD
# serial number = 95DA0A9E17D8
/interface bridge
add comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] disabled=no mode=station-pseudobridge ssid=\
   ip-cam
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=\
    tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik \
    unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=1234567\
    wpa2-pre-shared-key=1234567
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
/interface list member
add interface=wlan1 list=WAN
add interface=ether1 list=LAN
/ip address
add address=192.168.1.6/24 interface=ether1 network=192.168.1.0
/ip route
add distance=1 gateway=192.168.1.1
/system clock
set time-zone-name=Europe/Budapest

First, either use a static address on your map or use a dhcp client, not both.
Also in your IP addresses, the address 192.168.1.0/24 is wrong. That is the network address. If you want to set it static then add 192.168.1.6/24 as an address.
Besides that, since i guess you want to have 1 network, then delete all the settings in the map that have to do with firewall, nat, dhcp server etc.
Bridge the wireless interface with the ethernet port and assign the adress above in the bridge it self.
Most important, did the map connected to the router ?

Thanks for the answer!
In the second option I’m using the good address.
Yes I connected the map to the router via Wifi.

And ?
Can you see the camera on the network ?
Does the camera have a static address ?
Can you ping the camera ?

have you used in Quickset the “CPE” setup? That is the one to be used.
Your config is an AP one.
LAN interface list: WLAN0
WAN interface list: ETH0
This should be the opposite

I would suggest you use the CPE quickset, scan for the Wifi signal and connect to it.
Then decide if bridge or router mode. (in theory both should work, as long as IP range on map is not the
same as on your main AP). At least to start with either mode should be enough.

Do not use quickset !
Especially when your device is already configured…!

Thanks for your answer!

[]No I can’t see my camera on my network (if I plug it to my map)
[
]Yes the camere has a static IP address
[]No I can’t ping my camera
[
]Yes I tried the CPE option

I would suggest you use the CPE quickset, scan for the Wifi signal and connect to it.
Then decide if bridge or router mode. (in theory both should work, as long as IP range on map is not the
same as on your main AP). At least to start with either mode should be enough.

I did the same as you wrote.

This is my latest non working config.
Do you see any major syntax error in my config?

dec/21/2019 14:50:00 by RouterOS 6.45.7

software id = B1C4-AIEZ

model = RouterBOARD mAP L-2nD

serial number = 95DA0A9E17D8

/interface bridge
add comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] disabled=no mode=station-pseudobridge ssid=
ip-cam
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=
tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik
unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=1234567
wpa2-pre-shared-key=1234567
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
/interface list member
add interface=wlan1 list=WAN
add interface=ether1 list=LAN
/ip address
add address=192.168.1.6/24 interface=ether1 network=192.168.1.0
/ip route
add distance=1 gateway=192.168.1.1
/system clock
set time-zone-name=Europe/Budapest

thank you again :wink:

You could try station-pseudobridge-clone with your cam’s MAC address as station-bridge-clone-mac parameter.
Just to be 100% sure: your main router is not running routerOS, right?

-Chris

Yes my main router is a tp-link router

Please provide more details.
Is the IP address of the camera in the same subnet ?
Also, you used quick set with an already configured router ? I would reset the whole config now if i were you.
Did the map establish a connection with the router ? Do you see the R flag ?

Yes my Ip cam details are: 192.168.1.71 / 255.255.255.0
I reset the map couple of times.
Which type of reset do I need? It has 3. opinion:

  1. Hold this button during boot time until LED light starts flashing, release the button to reset RouterOS
    configuration (total 5 seconds)
  2. Keep holding for 5 more seconds, LED turns solid, release now to turn on CAPs mode (total 10
    seconds)
  3. Or Keep holding the button for 5 more seconds until until LED turns off, then release it to make the
    RouterBOARD look for Netinstall servers (total 15 seconds)

If you have no clue what you do on routers, Quickset is a good solution to get you going!
Once done, don’t touch it anymore and make adjustments only within the winbox settings…

I would try the CPE STA mode under Quickset. as it will adjusts all major parameters correctly for what you need,
a Wifi dongle basically.

Then you can see if you need a bridge instead of router, NAT etc.

So for me, try it again with quickset :slight_smile:

Thanks :wink: