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
13
votes
1 answer

Captive portal without internet on Android

Good day. I need Captive Portal on the WiFi hotspot that will work without internet and popup a notification or open a login page automatically. I am using Mikrotik with RouterOS 6.27. I created hotspot and then added a RegExp in DNS like .* =…
Taras
  • 391
  • 4
  • 10
8
votes
1 answer

How to open default browser from captive on Android

We are developing WiFi authentication solution which should redirect user to the particular page after connection to the WiFi. On the Android devices we faces with the problem. Once user clicks on the notification into the widget, captive is getting…
Sergey Teplyakov
  • 603
  • 8
  • 18
4
votes
1 answer

Mikrotik - Add second WAN IP and route specific traffic

After 20 pages of SO results about Mikrotik and some more google results, I'm come here, down on my knees to request some enlightment. I have a network with static IP and some public IP (248 mask). So far I've configured the network to use one of…
LordNeo
  • 1,195
  • 1
  • 8
  • 21
4
votes
1 answer

Mikrotik auto user-manager user script needs improvement

I wrote this script but it's not working properly.Anyone can help? It's supposed to check download limit and download used by a user and then do some action i.e to remove the user from active ppp list but it has some flaws which is that I can't get…
Umair Shah
  • 2,305
  • 2
  • 25
  • 50
4
votes
2 answers

Mikrotik - How to add Simple Load Balancing in Mikrotik

I have to WAN connected to mikrotik routerboard, named ppoe-WAN1 and ppoe-WAN2 I want to add simple load balancing to using tow internet connection for all lan users
leili
  • 81
  • 1
  • 2
  • 6
3
votes
1 answer

Fatal error: Not enough bits to represent the passed value

Trying to use Mikrotik API library written in Swift: https://wiki.mikrotik.com/wiki/API_in_Swift It works well, when I'm sending small commands However, If I will try to send large script string, I'm getting error: Fatal error: Not enough bits to…
Woof
  • 1,207
  • 1
  • 11
  • 21
3
votes
2 answers

Failed binding to auth address 127.0.0.1 port 18120 bound to server inner-tunnel: Address already in use

I have configure freeradius following this tutorial. But when I run a command "freeradius -X" I got the following error radiusd: Opening IP addresses and Ports #### listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 Failed binding to auth…
3
votes
1 answer

What does the Mikrotik :execute command return and what can I do with it?

When I run the following command from Mikrotik SSH, I see an asterisk followed by a hex value, which will look something like like *4e. :put [:execute { :ping localhost count=10 }] According to the Mikrotik wiki, the :execute command executes…
jveazey
  • 5,398
  • 1
  • 29
  • 44
3
votes
1 answer

Mikrotik Scripting: Get Interface IP

I want to get the local-address property of a pppoe-client interface, which is my public internet IP. Assuming that the name of the interface is my-pppoe-out, what is the proper interface pppoe-client get command to use? I couldn't find anything…
David Refoua
  • 3,476
  • 3
  • 31
  • 55
3
votes
3 answers

Mikrotik Router Management via Web App

I need help in building a project. Let me first describe my project - I want to build a Web application (using php / php framework(laravel) , html, css, javaScript, bootstrarp ) that will help ISP owner to manage their router (most of them use…
Erfan Ahmed
  • 1,536
  • 4
  • 19
  • 34
3
votes
1 answer

Edit Mikrotik User Profile With PHP API

I'm building a WiFi authentication tool with user profile edit and guest credentials, etc. I can write users to the mikrotik and remove users without an issue, but I can't find any documentation on editing the user profile. I suppose I could just…
zgr024
  • 1,175
  • 1
  • 12
  • 26
3
votes
1 answer

How to create a new file by Mikrotik routers' scripting

How to create a new file by script on Mikrotik Routerboard (Router OS 6.30)?
lukyer
  • 7,595
  • 3
  • 37
  • 31
2
votes
2 answers

Mikrotik API remove command

I use a Mikrotik API, i can use add Command but I do not know how can use remove command. example Adding VPN user: $API->comm("/ppp/secret/add", array( "name" => "user", "password" => "pass", "remote-address" =>…
Amirreza
  • 61
  • 3
  • 8
2
votes
1 answer

How to setup VPN connection from android 13 native VPN client to mikrotik routerOS?

Since L2TP/PPTP VPN connections are not supported on Android 13 anymore, I am wondering how to setup secure VPN connection between Mikrotik router and Android 13 device using native client which has only these options: IKEv2/IPSec…
Bart
  • 1,889
  • 1
  • 21
  • 38
2
votes
1 answer

Mikrotik Api Commandline "FIND"

this is one of the mikrotik api commandlines: interface route add dst-address=0.0.0.0/0 gateway=36.95.238.111 /interface/route/add =dst-address=0.0.0.0/0 =gateway=36.95.238.111 but how to type : interface bridge port set \[find interface=wlan1\]…
ohmyv33nus
  • 21
  • 2
1
2 3
21 22