Thursday 27 October 2011

How to View Log Mikrotik

Some time we need to know what happens with our routers, if someone make a change the router or someone attack our routers, we need to know and analyze the log. How to view log file on mikrotik ? to view log file on mikrotik is very simple. just click on Log menu , see the picture bellow :


Now, you can analyze the log file

How to backup Mikrotik

In this tutorials, i will show you how to backup your mikrotik. Backup is a must, you need to do this before and after you make a change the router os. Becaouse when you mad a change and you don't have a backup, you can undo your change hehehe

Follow this step to make a backup your router :

1. Login with winbox
2. Goto "menu" file on your mikrotik
3. Click Backup on tab menu

Thats it :D

See the pic bellow

Remote Mikrotik from Blackberry

Do you have a BlackBerry ? hehehe . if you using this smart phone and you need to remote your servers, you can do it with simple tricks and simple mobile application.

This application is free to download and very usefull, when we need to stay connected to our servers, this application can do much :D

this application called BBSSH. Download this application over the air and install this tools. read the manuals or you don't need to read if you have experience using ssh tools

downloads BBSSH


Download BBSSH OTA


How To Upgrade Mikrotik

How to upgrade Mikrotik router OS with a new version ? ok..on this article i will show you how to upgrade Mikrotik.  To upgrading mikrotik os with a new version is very simple, Download the last package of mikrotik router os. Extrac the rar or zip file to another folders.

Login to mikrotik os with winbox, and open File Menu's , just drag and drop all package to the file. After that, Open new terminal and type this command : system reboot

Your router will restart, and when the router boot up your os version has been changed !!

Wednesday 19 October 2011

How to Setting Up Mikrotik Hotspot

For your information , Mikrotik is a router os with all in one solution for small business and solution for your small  or Big Network. Mikrotik Router OS or Mikrotik Router Board can be used and setting as a Hotspot gateway with a login page. In this tutorials i will saw you how to configure Mikrotik as a Hotspot network with Login page and user manager . This is just a basic configuration, in the next article i will guide you to setting up the mikrotik as a hotspot with fully fiutured intergrated system.



Ok, this is it :

For the first , make sure your router is have been installed this package :

System

DHCP

Wireless

Hotspot

Proxy

User Manager

Security

Advanced tools

Step to setting up Mikrotik hotspot :

system identity set name=MyNet
ip address add address 192.168.1.2/27 interface=ether1
ip address add address 192.168.0.1/24 interface=ether2

add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.1 scope=30 target-scope=10

[admin@MikroTik] > ip hotspot setup
hotspot interface: ether2
local address of network: 192.168.0.1/24
masquerade network: yes
address pool of network: 192.168.0.2-192.168.0.250
select certificate: none
ip address of smtp server: 0.0.0.0
dns servers: 8.8.8.8
dns name: hotspot.mynet
name of local hotspot user: user
password for the user: password

Now, we will configure the user manager :

tool user-manager customer add login=admin password=password

tool user-manager router add ip-address=127.0.0.1 shared-secret=12345 subscriber=admin

radius add service=hotspot address=127.0.0.1 secret=12345

ip hotspot profile set 1 use-radius=yes

Done, your Mikrotik now can be use as hospot gateway !!

Download Mikrotik Winbox

Winbox is a small tools and powerfull. If you have not  familliar with command line interface ( CLI ) to setting the Mikrotik Router OS, this tools is recommended for you. This tools is a grapic user interface, you do not need to be expert to use this tools. The file size is verry small, small tools with the full power hehehe



To download this tools , klik this link  Download Winbox

Download Mikrotik

When i  write this article , the last Mikrotik router os version is 5.7 stable version. You can download this OS for free and still can use the OS untill 24 hours. Remember, To be able to use it full time, you must purchase a license key with the record of a license for only one hard drive. Whre i can download this os ?? yeah..you can download the mikrotik router OS from official website Mikrotik.com.

Or you can download directly from the link bellow :



USA Link
Australia link
Australia link
Iran Link
Italy Link
Poland Link
South Africa link
Sweden Link
Indonesia Link

Remember, that link is for PC Router (X86) and still ISO format. you Should to burn it to the CD's

How to Change DNS to google public DNS

In this tutorial , i will show you how to change DNS from Mikrotik router OS to google public DNS. If you have a special configuration DNS from your ISP, make sure the internet stil can running up if you change it to another DNS service. In another case, Sometimes we need to change the DNS server from our ISP to another DNS service provider. If DNS service from ISP is down , we should to do something to resolve this problems to make the internet service still running well.

I wrote this tutorials because some friends ask to me how to change their DNS service to google public DNS and another DNS service provider. Ok follow this instruction.

Make sure you have been backed up the Mikrotik Router OS configuration. To doing this, see the Picture bellow and follow the instruction:

1. Open your Winbox
2. Go to "File" and clik Backup


Ok, if you have finished the first steps, change your DNS service with this steps :

1. Go to "IP > DNS > SETTING > change the DNS with Public DNS. The Google public DNS is 8.8.8.8 as primary servers and 8.8.4.4 as secondary servers. see the pic bellow :

Monday 17 October 2011

How to Setup Mikrotik Router OS

After i wrote article about how to install Router OS on a Pc's, Now i will show you how to configure the Mikrotik Router OS as a Internet Gateways. For your information, to setup the Mikrotik Router OS you can use some metode. First, We can configure directly from the pc's . Just turn on the pc and you will show the login screen after the boot process finished.

Second : We can use the small tools from mikrotik with Grapic user Interface,The tools is a magic tools, Mikrotik give the name as Winbox . But on this article i will guide you to setting up the router Os with the first methode. Unfortunetly with this methode you will setup the router with command line interface. But don't worry, you can copy paste my configuration for the first time before you understand the command line function.

If you copy-paste my configuration, Make sure the Network topology on your home is same as with this tutorials.

For the first : Setting up your DSL Modems or your internet connection with this parametre :

Modem Ip/ Internet Ip : 192.168.1.1
Your Laptop/workstation IP : 192.168.0.10

We will start the configuration :

system identity set name=MyNet
ip address add address 192.168.1.2/27 interface=ether1
ip address add address 192.168.0.1/24 interface=ether2

Explanation :

-System identity is a identity of aour routers, you can change with what ever you want
- Ip address 192.168.1.2 is an Ip address which will comunicated with the Modems Ip to the internet
- Ip address 192.168.0.1 is a default gateway for the client/your computers
- Ether1 is an interface, you must connetcting the Modems with the UTP cable to ether1 port
- Ether2 is an interface which connecting your laptops or your PC client/switch. Remember, you must be connecting with this port if you wanna conect to the internet with your pc.

Next step : Add the internet gateway
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.1 scope=30 target-scope=10

192.168.1.1 is your Modems Ip

Next : DNS Setup

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4

8.8.8.8 and 8.8.4.4 is a google free DNS service. You can use your own parametre from ISP's

Before i show you the next steps, you must test your connection with ping command to the DNS servers :

ping 8.8.8.8
8.8.8.8 64 byte ping: ttl=242 time=255 ms
8.8.8.8 64 byte ping: ttl=242 time=243 ms
8.8.8.8 64 byte ping: ttl=242 time=247 ms
8.8.8.8 64 byte ping: ttl=242 time=243 ms
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 243/247.0/255 ms

If the DNS replayed , you have been succed to configure the router to cominicate with the DNS servers and Internet

As long as, your router have been succes to comincating with the internet, But your computer Can;t do it. We must create the rules to NAT the Internet to your computers.

add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
ether1

You should to change your ip address configuration on your laptops to the static IP.

for the exmaple :

Ip address : 192.168.0.20
netmask : 255.255.255.0
Default gateway : 192.168.0.1
Primary DNS : 8.8.8.8
Secondary DNS : 8.8.4.4

This is it, you have been succed to configure the Mikrotik router os as a Internet Gateway. In the next article i will show you how to configure mikrotik with Grapic user interface using a tools called Winbox. I hope this article can help you. Thanks

How to install Mikrotik Router OS

In this article i will show you how to install MikroTik Router OS on a PCs. Just relax..because this step is very simple and easy to practice at your home. I will Guide you how to install the Router OS step by step. Prepare your pc with minimum requirement: Intel Pentium 3 or pentium 4 with minimal 512 MB storage ( HDD ) and 64 MB Physical Memory. You should buy minimal 1 NIC or Network address Card because the NIC will be used to connetcing the client trhough the internet( On Board and New NIC ). For the first steps, Download the Router OS from official Mikrotik website at this link www.mikrotik.com/download.html and Select system type with PC / x86, Select software type with all version. Download the iso's file. When i wrote this article, The last version of Mikrotik router OS is OS 5.7. You can download the router OS v5.7 from this link directly http://download.mikrotik.com/mikrotik-5.7.iso

Now.. after you have finished to downloads the image file , burn the images file to the CD's and make sure the file is not currupted. You can burn's the image files using free software burner tools like free iso burner, and download the software from http://www.freeisoburner.com/ , or you can use the another softwares.

After you finished to burn the cd , turn on your pc and make sure you have been enable first boot with CD from the BIOS setup. Now the boot proces will start, The computer's will boot from the cd . After that you will see a menu to choose what packages to instal on your pc. You will see the welcome screen bellow :




Welcome to MikroTik Router Software installation Move around menu using 'p' and 'n' or arrow keys, select with 'spacebar'. Select all with 'a', minimum with 'm'. Press 'i' to install locally or 'r' to install remote router or 'q' to cancel and reboot.

Press "a" key for select all package and then press "i" to install the router OS.
After that, Press [Y] to continue the installation. In this porcess, Mikrotik loader will erase all of data on your hardrive. Make sure you have been backup the data to another hardrive.

Next step :

Do you want to keep old configuration? [y/n]:
You should choose whether you want to keep old configuration (press [Y]) or to erase the configuration permanently (press [N]) and continue without saving it.

I sugest you to press the [N] button to make fresh install Router OS. After you pressed the N Button, Mikrotik will Creating the partition and Formatting the disk.

The Mikrotik system will install selected packages. After that you will be prompted to press 'Enter'. And remove the CD from your CD-Drive:

Software installed. Press ENTER to reboot

After rebooting type "admin" as login and keep password blank. Because the default password Mikrotik is a Blank
After that , router OS is already installed on your PC and ready to configure. In the next artcle i will show you how to setup Mikrotik as a Internet gateway.

I hope this article can help you to install the Mikrotik Router OS

Mikrotik RouterOS

MikroTik RouterOS software is a version that can be installed on home computers (PCs) through the CD. You can download MikroTik RouterOS image file from the official website www.mikrotik.com. However, this image file is a trial version that can only be used within the next 24 hours. To be able to use it full time, you must purchase a license key with the record of a license for only one hard drive.



Mikrotik Fitures :

Routing - Static routing

Firewall and NAT ( Network Adress translation )

Hotspot

Data Rate Management

Caching DNS client

Web proxy

Point-to-Point tunneling protocols

Simple tunnels

IPsec

Universal Client

DHCP

Monitoring/Accounting

VRRP

UPnP

NTP

SNMP

M3P

MNDP

Tools

Wireless

Bridge

Asynchronous

Synchronous

Virtual LAN

ISDN

SDSL

the History Of Mikrotik

Mikrotik is a small company from Latvia, was founded by John Trully and Arnis Riekstins. John Trully an American who immigrated to Latvia and met with Arnis in 1995. In 1996 John and Arnis began to routing the world (Mikrotik vision is to Routing the world). Starting with Linux and MS DOS systems combined with Wireless LAN technology (W-LAN) Aeronet speed 2Mbps in Moldova, then they serve five customers in Latvia, because their ambition is to make a reliable router software and spread around the world.

Their basic principle is not to make the Wireless ISP (WISP), but makes the program a router that is reliable and can run all over the world. Latvia is only an "experimental area" John and Arnis, because now they've helped other countries including Sri Lanka which serves about four hundred customers.

The first time they use Linux Kernel 2.2 that was developed jointly with 5 - 15 people R & D staff , And now their have been a part of the routing in developing countries.