Questions tagged [mikrotik]

MikroTik is a Latvian company which was founded in 1995 in Riga to develop routers and wireless ISP systems. MikroTik now provides hardware and software for Internet connectivity in most of the countries around the world.

328 questions
1
vote
1 answer

Mikrotik - Upload file and change it into a script

New into Mikrotik scripting, and missing something really obvious. When create a new script with /system script add name=mail /system script edit mail source save the script and run it, everything is just fine. Now, if I want to push scripts via…
user2419802
  • 61
  • 1
  • 6
1
vote
3 answers

MIkrotik backup script

I need your help, I am trying to create a backup file on mikrotik, but it always fail to create a backup can you help me please? /system backup save name=([/system identity get name]"_"[/system clock get date]"log") Format should be…
1
vote
1 answer

syslog-ng for multiple sources

I am using syslog-ng on Ubuntu 12.4 server. I have few Mikrotik routers . In syslog-ng I have managed to add single host for logging. It's being Configured as below : # Accept connection on UDP source s_net { udp (); }; # MIKROTIK ########### # Add…
Syed Jahanzaib
  • 333
  • 6
  • 18
1
vote
0 answers

tik4net hotspot user usage report in c#

what is the best way to get daily bytes-out and byte-in report for every user in hotspot list(without the user manager).i found the tik4net but i couldn't use it and i found almost no documentation on this reference. i have tried the mk.cs and…
Mohsen K
  • 257
  • 4
  • 10
1
vote
3 answers

mikrotik command over bash

I want to block some web sites through the bash script. I have a list for website names list.txt. router is mikrotik. I need help for Syntax. I cant send command after ssh connection file = "list.txt" lines = cat $ file sshpass -p 'blabla' ssh…
g3stapoo
  • 23
  • 1
  • 6
1
vote
0 answers

Cannot update VM through apt behind NAT (MikroTik Router)

Currently attempting to setup a VM on the VMWare ESXi platform. Having a webserver running on port 80 and 443, which means I've got to port forward the traffic from the public to the specific server as shown here. VM #1 (10.254.254.1) <-> ESXi…
Dunkstormen
  • 115
  • 1
  • 10
1
vote
1 answer

Error when connecting (FreeRADIUS V3 & MySQL) to Mikrotik router

I had setup FreeRADIUS V3 on a virtual-box that runs Ubuntu 16.04 with the using of MySQL as a database. Also, another virtual-box running Mikrotik RouterOS to simulate a connection between the PC and router. I have configured Mikrotik as a hotspot…
philip
  • 31
  • 8
1
vote
0 answers

Mikrotik Usermanager: How to upload hotspot login names in bulk

We have a Mikrotik Router that also does hotspot. Usermanager is installed on this router too. I want to upload/add users in bulk? What I have tried is generate the commands needed to create the user like below: /tool user-manager user add…
Damilola Olowookere
  • 2,253
  • 2
  • 23
  • 33
1
vote
1 answer

How to configure freeradius + mikrotik?

On Centos 7 installed FreeRADIUS 3.0.12 + MYSQL Trying authorization: DD-WRT (all is well): http://pastebin.com/61ScJiQF Mikrotik (error) http://pastebin.com/KzPCREeR MikroTik RouterOS 6.32.4 As can be seen, mikrotik accounting is not passed, even…
entermix
  • 43
  • 1
  • 9
1
vote
2 answers

How can I access to usermanager database and edit that remotly?

I need to create user account in mikrotik usermanager with my program. How can I access to usermanager database and edit that remotly?
MohammadG
  • 11
  • 1
  • 2
1
vote
2 answers

Parse IP and Download-Total from mikrotik

I wanna extract IP and download-total from mikrotik command /queue simple print stat Here's some example : 0 name="101" target=192.168.10.101/32 rate=0bps/0bps total-rate=0bps packet-rate=0/0 total-packet-rate=0 queued-bytes=0/0 …
Lazuardi N Putra
  • 428
  • 1
  • 5
  • 15
1
vote
0 answers

PHP Session Destroyed after redirect in CodeIgniter (only in a specific network)

My website has a problem only in a specific network (they used mikrotik to protect their network). The session always destroyed after refresh or redirect, so they can't login to my website. But it only happen on their network, because I try it on…
1
vote
0 answers

mikrotik hotspot connect with facebook check in

I want to ask , Is there any way to get mikrotik hotspot get authenticated using Facebook Check in . the thing i actually wanted to make is , User connect to hotspot then in second step a popup screen appear saying Check IN on specified location and…
1
vote
1 answer

Mikrotik Hotspot / Captive Portal Auto-Login after X seconds

Thinking about getting a mikrotik router for a small project .. but I wanted to know if the following in any way possible w/ Mikrotik Hotspot feature? Users connecto to wifi w/o pass sees the captive portal w/ ads (basically a website remotely…
BrownChiLD
  • 3,545
  • 9
  • 43
  • 61
1
vote
2 answers

How to send login credentials to Mikrotik from android application

I want to send Login credentials to Mikrotik to authenticate user from android application I have created a radius client for android application to authenticate user its working fine. but now what i want is that to send request to the mikrotik…
user3679400
  • 87
  • 1
  • 9