Page 1 of 1

configure Omnitik in simplest way

Posted: Sat Dec 22, 2012 9:25 am
by utocava
Hello gents,

at home I have a router from my local provider , and I can connect devices in DHCP to it, great.
I want to try now to use an omnitik 5Ghz and connect it to it and use this connection 3km away , with a CPE.
How con I configure the Omnitik, just plug it in the router , say port eth2, and use this home connection 3km away?

thanks

Re: configure Omnitik in simplest way

Posted: Sun Dec 23, 2012 2:30 am
by NicholasMag
Yes that is possible, of course some factors must be taken into consideration, such as LoS, and or interference. But at 3km it should work fine as long as you have LoS.

Setup your Omnitik as a ap-bridge with SSID and encryption, then wth CPE at remote location, set as station-bridge with same ssid and encryption and you should now have your link. Make sure to bridge everything properly as well.

Omnitik:
Mode ap-bridge
Frequency: 5825
SSID: mylink
security profile: default-encryption
bridge1 = wlan1 + ether1

CPE (3km away):
Mode station-bridge
Frequency: 5825 (needs to be the same as on the Omnitik or all will fail)
SSID: mylink (needs to be the same as on the Omnitik or all will fail)
security profile: default-encryption (needs to be the same as on the Omnitik or all will fail)
bridge1 = wlan1 + ether2

I'm new to mikrotik but i believe this is one of the many ways to accomplish this. Please, anyone correct me if im wrong.

Re: configure Omnitik in simplest way

Posted: Mon Dec 24, 2012 12:45 am
by utocava
and into omnitik i just plug the lan in eth2 of of my dhcp provider, right?

Re: configure Omnitik in simplest way

Posted: Mon Dec 24, 2012 6:28 pm
by NicholasMag
You can use whichever port you want. Just make sure you add the used ether port to the bridge that wlan1 resides on.

Re: configure Omnitik in simplest way

Posted: Mon Dec 24, 2012 8:35 pm
by utocava
ok i will try.
could you please just export me the basic default conf for the AP and the CPE?
just few lines I can copy and cut ?

thanks,
Happy christmas

Re: configure Omnitik in simplest way

Posted: Mon Dec 24, 2012 10:14 pm
by NicholasMag
I think this will work but it is untested, please use carefully!

Review the export below and adjust to your settings as I do not know the exact setup and am not there to ensure so.
*Make sure the wlan interface on each device is called wlan1, if not adjust the script below to the correct name.
*Adjust the wireless frequency to a low interference channel based on a spectral scan to see which channel has less interference.
*Ensure the ethernet cable is connected from the modem (any LAN port on the modem) to ether port 1 on the omnitik.
*Ensure the ethernet cable is connected from ether port 2 on the CPE to a unmanaged switch; LAN port on a router; or directly into a pc nic card.

Run each set of commands on each AP and you should have your extended network. Please bear in mind this was written with the assumption the devices have a fresh and clean config.

Omnitik:

ros code

/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
    add authentication-types=wpa2-psk eap-methods=passthrough mode=dynamic-keys \
    name=default-encryption supplicant-identity=MikroTik wpa2-pre-shared-key=\
    MySecurePass

/interface wireless
set 0 band=5ghz-a/n channel-width=20/40mhz-ht-below disabled=\
    no frequency=5825 hide-ssid=no ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 \
    mode=ap-bridge security-profile=default-encryption ssid=mylink wds-mode=\
    none wireless-protocol=any

/interface bridge
add l2mtu=1522 name=br0

/interface bridge port
add bridge=br0 interface=ether1
add bridge=br0 interface=wlan1
CPE:

ros code

/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
    add authentication-types=wpa2-psk eap-methods=passthrough mode=dynamic-keys \
    name=default-encryption supplicant-identity=MikroTik wpa2-pre-shared-key=\
    MySecurePass

/interface wireless
set 0 band=5ghz-a/n channel-width=20/40mhz-ht-below disabled=\
    no frequency=5825 hide-ssid=no ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 \
    mode=station-bridge security-profile=default-encryption ssid=mylink wds-mode=\
    none wireless-protocol=any

/interface bridge
add l2mtu=1522 name=br0

/interface bridge port
add bridge=br0 interface=ether2
add bridge=br0 interface=wlan1
If this works Karma is appreciated :D

Happy Holidays,
Nick

Re: configure Omnitik in simplest way

Posted: Mon Dec 24, 2012 10:25 pm
by utocava
thank you Nick.
That was a great Christmas gift.

regards

Re: configure Omnitik in simplest way

Posted: Thu Dec 27, 2012 9:48 pm
by plisken
A little tip
The legal use of the 5 Ghz channels and power are country dependent

everything works?