Author Archives: bachem

Setup Hotspot Mikrotik RB750 RouterOS v5.14


Setup Hotspot User Manager di Mikrotik disini hanya sekedar catatan pribadi, menggunakan command line di terminal karena malas upload gambar ^_^
Untuk lebih mudah bisa setup hotspot lewat winbox…

Skenario:
-Router RB750: RouterOS v5.14 mispbe
-Eth1 : Internet
-Eth2 : IP Address 192.168.88.1, DHCP Server, DNS, Hotspot
-Pastikan package User Manager sudah terinstall di RB750. Via Winbox cek di System ==> Packages

1. Setup Radius

/radius add accounting-backup=no accounting-port=1813 address=127.0.0.1 authentication-port=1812 called-id="" disabled=no domain="" realm="" secret=qwerty service=hotspot timeout=300ms
/radius incoming set accept=no port=3799

Continue reading

Setup sync time Windows Server 2008 R2 with external NTP server

Note:
a) Time synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets his time from the domain’s PDC Operation Master. Therefore the PDC must synchronize his time from an external source.
b) Don’t forget to open the default UDP 123 port for time sync on your firewall.
c) The time service will not change the system time by more than 172800 seconds. Verify that your time and time zone are correct.

Locate your PDC Server. Open the command prompt and type:
C:>netdom /query fsmo

Log in to your PDC Server and open the command prompt.Stop the W32Time service:
C:>net stop w32time

Configure the external time sources, type:
C:>w32tm /config /syncfromflags:manual /manualpeerlist:"time.windows.com"

Make your PDC a reliable time source for the clients. Type:
C:>w32tm /config /reliable:yes

Start the w32time service:
C:>net start w32time

– The windows time service should begin synchronizing the time.
You can check the external NTP servers in the time configuration by typing:

C:>w32tm /query /configuration

– Last, check the Event Viewer for any errors.

If time not change, try manual resync by Run C:>w32tm /resync to force an instant time synchronization.

windows-server-sync-time

References:
> http://defaultreasoning.com/2009/11/16/synchronize-time-with-external-ntp-server-on-windows-server-2008-r2/
> https://community.spiceworks.com/topic/222484-how-do-i-sync-the-time-on-win-server-2008-r2-with-the-internet

Script dyndns Telkom Speedy Mikrotik bridge mode


Speedy paket familia menggunakan ip dynamic,jadi biar mikrotik bisa diremote dari luar maka mikrotik disetup autoupdate ke dyndns.com.. Mikrotik yg digunakan seri RB750 dengan OSv4.6(also work on OS v5.14) bridge mode(Dial dari mikrotik)

1. Add script:
Via Winbox: System => Scripts => Klik tanda + => Beri nama script sesuai keinginan => Centang semua Policy => Masukkan script dibawah ini => Klik Apply => Klik OK
Continue reading