Community discussions

MikroTik App

Search found 39 matches

by deb
Thu Nov 19, 2020 6:59 pm
Forum: The User Manager
Topic: User Manager does not kick/remove user from hotspot server after time expiration.
Replies: 1
Views: 6547

Re: User Manager does not kick/remove user from hotspot server after time expiration.

Ok found the username send radius COA to delete the user from the hotspot. Why not sending the "SESSION-TIME-LEFT" In the first place? Really? And no log if COA call fails.
by deb
Mon Nov 09, 2020 9:53 am
Forum: The User Manager
Topic: User Manager does not kick/remove user from hotspot server after time expiration.
Replies: 1
Views: 6547

User Manager does not kick/remove user from hotspot server after time expiration.

Hello, its been 3 days I don't know what is happening, but when a user is logged in hotspot does not get "SESSION-TIME-LEFT" field, it is null. Here is my configuration. IP Hotspot profile: name="hsprof1" hotspot-address=10.50.5.1 dns-name="XXX.XXX" html-directory=hotsp...
by deb
Mon Nov 09, 2020 8:57 am
Forum: Scripting
Topic: API PHP package
Replies: 3
Views: 2611

Re: API PHP package

Hello mate, I am using this GitHub packages and these workers fine. Please not download the latest one. The old script does not work with router os 6.47.*

https://github.com/BenMenking/routeros-api
by deb
Fri Oct 14, 2016 10:46 pm
Forum: Scripting
Topic: Web Hosting/Website & Pear2RouterOS API PHP | add,edit,delete user
Replies: 6
Views: 2593

Re: Web Hosting/Website & Pear2RouterOS API PHP | add,edit,delete user

Hello Sapphire , I am currently working on a simler but more complex project. Here is what you can do. Change your private ip to public ip. If you have dynamic ip which changes often you have to use some other methods, like script, ddns, or vpn tunnle. For my case its better to use VPN, because its ...
by deb
Tue Oct 11, 2016 10:43 am
Forum: Scripting
Topic: Cannot connect freeradius server over a l2tp softether vpn.
Replies: 1
Views: 983

Re: Cannot connect freeradius server using l2tp connection.

Ok so here is some addition to my post. Here is my ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:16178 errors:0 dropped:0 overruns:0 frame:0 TX packets:16178 errors:0 dropped:0 overruns:0 carr...
by deb
Sun Oct 09, 2016 10:31 am
Forum: Scripting
Topic: Cannot connect freeradius server over a l2tp softether vpn.
Replies: 1
Views: 983

Cannot connect freeradius server over a l2tp softether vpn.

Hello , After i setup l2tp server in linux vps with freeradius server. All is configured and working ok. Now if router is using the public ip than its no problwm. Router can see the freeradius server. But the problem is when router want to use the l2tp address its getting timeout. Now i can ping bot...
by deb
Mon Oct 03, 2016 6:34 pm
Forum: Scripting
Topic: Static Ip for IpSEC/L2TP Client Mikrotik possible?
Replies: 2
Views: 3477

Re: Static Ip for IpSEC/L2TP Client Mikrotik possible?

That is a firewall mangle tool, the main problem is how to add static IP that we do in windows>properties>ipv4 and then input all the ip ,subnet ,defafult gateway etc... Here is what I added after dhcp lease from server(1st ip added manually) Please help l2tp.png Yeah found that I have to set DHCP s...
by deb
Mon Oct 03, 2016 12:22 pm
Forum: Scripting
Topic: Static Ip for IpSEC/L2TP Client Mikrotik possible?
Replies: 2
Views: 3477

Static Ip for IpSEC/L2TP Client Mikrotik possible?

Hi, I want to know is this possible to add an static ip address for L2TP client ? I have a softether l2tp server and its doesnot support mac-ip binding or static ip. When i am stopping the dhcp server the server is giving an error could not determine remote ip address. Please help. I added ip to ip ...
by deb
Wed Sep 28, 2016 6:24 am
Forum: Wireless Networking
Topic: Why hotspot user ip is changing after authentication?
Replies: 7
Views: 2169

Re: Why hotspot user ip is changing after authentication?

Yeah ! That's i didnt know and thanks for pointing that out. Thats gives me idea how to solve and make some of changed ip address in future. IP based PCQ for hotspot users and other firewall and mangle rules.
by deb
Tue Sep 27, 2016 9:26 pm
Forum: Wireless Networking
Topic: Why hotspot user ip is changing after authentication?
Replies: 7
Views: 2169

Re: Why hotspot user ip is changing after authentication?

Oh no i didn't. I made a pool of default 10.5.50.2-254 when using setup. Attached all hotspot settings please have a look. Here hotspot config files.zip It is a little bug I think. Senario:- Using radius for auth and account. In this senario when a user with routeros >IP>hotspot>users> Login thir ip...
by deb
Sat Sep 24, 2016 10:56 pm
Forum: Wireless Networking
Topic: Why hotspot user ip is changing after authentication?
Replies: 7
Views: 2169

Re: Why hotspot user ip is changing after authentication?

I have made a new hotspot but the same problem occoured. Now I have to request ip address again and store it somewhere to use it with my app.
Please help me on this.
ip problem.png
by deb
Sat Sep 24, 2016 12:59 pm
Forum: Wireless Networking
Topic: Why hotspot user ip is changing after authentication?
Replies: 7
Views: 2169

Re: Why hotspot user ip is changing after authentication?

Thanks , I have tried that but it stils giving the same proble.
My hotspot using radius server for auth user.
by deb
Thu Sep 22, 2016 8:56 pm
Forum: Wireless Networking
Topic: Why hotspot user ip is changing after authentication?
Replies: 7
Views: 2169

Why hotspot user ip is changing after authentication?

If my user is logged in via api then ip is changing to next or another ip for user. Which give me headex if i am trying to bind an ip address with mac for future use in my app.
ip setup 2.png
Here is what is happening.
How to stop hotspot for changing user IP?
by deb
Wed Sep 21, 2016 9:08 pm
Forum: Wireless Networking
Topic: IP address changes after trial user login
Replies: 2
Views: 1151

Re: IP address changes after trial user login

I have the same prolem have you solved it?
by deb
Sun Sep 18, 2016 2:54 am
Forum: General
Topic: Why is it not possible to login hotspot users via API?
Replies: 16
Views: 7088

Re: Why is it not possible to login hotspot users via API?

anyone have tried to login using api ? Anyone have any idea about how to login using api? $API->comm('/ip/hotspot/login',false); $API->comm('=ip=10.5.50.73', false); $API->comm('=user=username', false); $API->comm('=password=password'); $READ1 = $API->read(false); $ARRAY1 = $API->parseResponse($READ...
by deb
Mon Aug 08, 2016 1:21 pm
Forum: General
Topic: Multiple ip assign to multiple user, how it is possible?
Replies: 2
Views: 754

Re: Multiple ip assign to multiple user, how it is possible?

Yeah thats alright and i am doing right now , but i need some multiple ips to distribute,
Please gys help a bit.
by deb
Wed Aug 03, 2016 5:27 pm
Forum: General
Topic: Multiple ip assign to multiple user, how it is possible?
Replies: 2
Views: 754

Multiple ip assign to multiple user, how it is possible?

Well i am very new in this topic because I never done it before. So here is my senario. I have a /24 stacks of public ip lets say 43.150.1.1/24 and i want to distribut it amongs my hotspot users. and 1ip=1user. pablic ips are in "wan" port and users on my "lan ports". so can anyo...
by deb
Tue Jul 26, 2016 9:50 pm
Forum: Beginner Basics
Topic: CoA example please
Replies: 1
Views: 861

Re: CoA example please

Well, its better to google first before you post here. Ok never mind here is the correct one which is working today for me hope it will help , if do please rate. echo User-Name := "user name", Framed-IP-Address = user_ip_address; | radclient -x routerip:port disconnect router_secreat Pleas...
by deb
Mon May 23, 2016 8:42 am
Forum: Beginner Basics
Topic: ROS CHR cant comunicate with bridged with wired lan network
Replies: 0
Views: 532

ROS CHR cant comunicate with bridged with wired lan network

I cannot make it working when bridging with my lan.
Hope someone can help me.
Made all the configuration and added ip to chr ether1 10.10.10.10/24h

made virtualbox and vmware both works same , no network connection.
by deb
Thu May 12, 2016 3:03 pm
Forum: Beginner Basics
Topic: Load balancing is not working, newbe needed help.
Replies: 0
Views: 849

Load balancing is not working, newbe needed help.

Hello there gys, here is my export script. Please tell me where did i do wrong. /ip pool add name=dhcp_pool1 ranges=10.10.1.2-10.10.1.254 /ip dhcp-server add address-pool=dhcp_pool1 interface=ether4 name=dhcp1 relay=10.10.1.1 /ip address add address=10.13.67.135/25 interface=ether1 network=10.13.67....
by deb
Mon May 09, 2016 8:37 pm
Forum: Beginner Basics
Topic: Two ISP dhcp and static modes on the network
Replies: 2
Views: 879

Re: Two ISP dhcp and static modes on the network

Put your 2 ISP in rb100 and loadbalance as follow.
http://wiki.mikrotik.com/wiki/Improved_ ... e_Gateways
by deb
Thu May 05, 2016 9:36 pm
Forum: Beginner Basics
Topic: Some newbee Q&A.
Replies: 0
Views: 588

Some newbee Q&A.

Is this posssible? 1. Net metal 2SHPn Has 1 Lan port. I have a 100mbps fiber>LAN connected to it from isp . To make it work as AP for my cafe. Now i have 2 connection from same ISP, My cafe and my home. Sometime AP must use 2 connection fail over. So here i wanted to know, can i add a virtual Ethern...
by deb
Fri Apr 29, 2016 4:21 pm
Forum: Scripting
Topic: Auto login to IPACCT account on startup.
Replies: 1
Views: 3941

Re: Auto login to IPACCT account on startup.

Anyone with any idea ? Please share.
by deb
Tue Apr 19, 2016 6:53 pm
Forum: Scripting
Topic: Auto login to IPACCT account on startup.
Replies: 1
Views: 3941

Auto login to IPACCT account on startup.

Hello there, I just have little problem here , please help me. I want to auto login to IPACCT server when link is down or disconnect automaticly. Here is the login curl which i got from firefox. Please help. Thanks in advance. curl "http://10.10.10.10/0/up/" -H "Host: 10.10.10.10"...
by deb
Tue Apr 19, 2016 5:38 pm
Forum: Beginner Basics
Topic: Help: Auto log in to IPAcct at startup and also reconnect automaticly.
Replies: 2
Views: 1439

Re: Help: Auto log in to IPAcct at startup and also reconnect automaticly.

Here is the total curl request, curl "http://10.10.10.10/0/up/" -H "Host: 10.10.10.10" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Acce...
by deb
Mon Apr 18, 2016 9:33 am
Forum: Beginner Basics
Topic: Help: Auto log in to IPAcct at startup and also reconnect automaticly.
Replies: 2
Views: 1439

Re: Help: Auto log in to IPAcct at startup and also reconnect automaticly.

While using this command its downloding the page not posting any data.
Please help.
/tool fetch mode=http address=10.254.254.126 src-path="/0/up/" dst-path="user=username&pass=password&login=Login"
by deb
Sun Apr 17, 2016 8:05 pm
Forum: Beginner Basics
Topic: Help: Auto log in to IPAcct at startup and also reconnect automaticly.
Replies: 2
Views: 1439

Help: Auto log in to IPAcct at startup and also reconnect automaticly.

I want to automate this process so no one have to log in using the username and password again. And automatically reconnect when it gets disconnect . My current ISP using IPACCT to auth. user. i tried fetch tool but its not updating well may be because i wrote it wrong, please suggest me. I just rep...
by deb
Sun Apr 17, 2016 6:40 pm
Forum: Beginner Basics
Topic: Regarding Remote Authentication for 3G connected Hotspots through Mikrotik
Replies: 2
Views: 886

Re: Regarding Remote Authentication for 3G connected Hotspots through Mikrotik

Just need to setup a hotspot in your mikrotik server.
User>hotspot>auth>internet

Here is more info
http://wiki.mikrotik.com/wiki/Manual:IP/Hotspot
by deb
Sun Apr 17, 2016 7:19 am
Forum: Beginner Basics
Topic: TrueCafe with HapLite.
Replies: 5
Views: 1863

Re: TrueCafe with HapLite.

Thanks its now working.
by deb
Sat Mar 19, 2016 2:23 pm
Forum: Beginner Basics
Topic: TrueCafe with HapLite.
Replies: 5
Views: 1863

Re: TrueCafe with HapLite.

Please help me with this,i am stuck in here.
by deb
Thu Mar 17, 2016 9:40 am
Forum: Beginner Basics
Topic: TrueCafe with HapLite.
Replies: 5
Views: 1863

Re: TrueCafe with HapLite.

Here is the exported file attached .
Please help me with this.
Thanks in advance.



Exported file.
17_03_2016_mod.rsc
by deb
Mon Mar 14, 2016 3:35 pm
Forum: Beginner Basics
Topic: TrueCafe with HapLite.
Replies: 5
Views: 1863

TrueCafe with HapLite.

Well as stand alone its working fine. Using the pre configured settings. But when connecting other PC through this router it's can't connect to terminal pcs. Well this software uses port 15925 for client pc and something 15900-15999 for server pc. Setup :- The pc (Truecafe and print server, w7 os) i...
by deb
Thu Oct 08, 2015 8:38 am
Forum: Beginner Basics
Topic: Configuring help on how to allow a specific ip to acces my lan.
Replies: 1
Views: 581

Re: Configuring help on how to allow a specific ip to acces my lan.

Adding diagram for more explanation please help me.
Image
by deb
Wed Oct 07, 2015 2:14 pm
Forum: Beginner Basics
Topic: Configuring help on how to allow a specific ip to acces my lan.
Replies: 1
Views: 581

Configuring help on how to allow a specific ip to acces my lan.

Here is my network configuration, for a setup , now i need to connect We are running a server software to control client pc, and server pc is connected to internet using a modem and sharing server internet connection using inbuild w7 ICS. now we need to connect to client pc for sharing server pc's r...
by deb
Thu Aug 06, 2015 6:53 pm
Forum: Beginner Basics
Topic: Hotspot + pppoe authentication & client isolation.
Replies: 0
Views: 733

Hotspot + pppoe authentication & client isolation.

final+load+balancing.jpg Here is my topology, copied from another forum, it works but there are some other problems. Please guide me . 1. Can i use hotspot+ppoe authentication? 2. Now Client1 can share files with client2 . How to do client isolation? Does my dlink unmanaged switch is ok(i guss not)...
by deb
Tue Jul 21, 2015 9:32 pm
Forum: General
Topic: Hap Lite possible to control 20 User and bandwith shapping with wifi hotspot ?
Replies: 4
Views: 7530

Re: Hap Lite possible to control 20 User and bandwith shapping with wifi hotspot ?

name="queue1" target=ether2 parent=none packet-marks="" priority=8/8 queue=default-small/default-small limit-at=0/0 max-limit=64k/64k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s Here is my queue print. It is not working with ether2 and all its machines, please tell me wh...
by deb
Sat Jul 18, 2015 5:30 pm
Forum: Beginner Basics
Topic: Can i use hap lite for this?
Replies: 1
Views: 575

Can i use hap lite for this?

Can i use hap lite for this?
1. Shaping bandwidth
2. User will Log in to use internet (Wifi and Lan)
3. Limite .exe .zip .pdf etc file download rate(Max 30KBps)
4. Isolate user to see each other.
by deb
Sat Jul 18, 2015 10:50 am
Forum: General
Topic: Hap Lite possible to control 20 User and bandwith shapping with wifi hotspot ?
Replies: 4
Views: 7530

Hap Lite possible to control 20 User and bandwith shapping with wifi hotspot ?

Hi i am new to RouterOS and i own a hap lite , I wanted to know is this thinks possible? I am a little bit confused about this. The hap lite is connected to my laptop where i am sharing a 3Mbps connection using ICE . In 4th port a tp-link router is connected and my friends are connected through wifi...