Community discussions

 
Znuff
Member Candidate
Member Candidate
Topic Author
Posts: 139
Joined: Tue Sep 26, 2006 2:42 am
Contact:

Would you be interested in...?

Sun Mar 08, 2015 3:41 pm

I made a simple client administration interface for networks which use dhcp. Here are some pics of it in action:

Full Client List: Image

Filtering works by typing anything in the search field (can it be mac address, name, ip, dhcp-server name etc.) Image

Clicking the MAC address allows you to change the name (comment) and MAC address of a lease (client):
Image

And you also get a pretty notification on the bottom of the screen when you do it!
Image

Clicking the Block/Unblock button will block the internet access for that specific user (they will be redirected to a page informing them they didn't pay their bill)
Image Image

You can also go straight to the blocked client list if it's easier for you:
Image

Do you want to add a client?
Image

Also a video! https://gfycat.com/PoliticalAnchoredDaddylonglegs

Client was added (shitty pic, I know)
Image
Image
Image

Did I mention it's fully responsive and you can use it on your phone (in browser)? Look at the menu!
Image

This is, again, the client list, but collapsed to fit on your phone's screen:
Image

And you can expand it!
Image

Ofcourse, you can also do the same operations on mobile, too
Image
Image

--

Oh, and the client gets this:

Image

Image
Last edited by Znuff on Sun Mar 08, 2015 3:50 pm, edited 1 time in total.
 
Znuff
Member Candidate
Member Candidate
Topic Author
Posts: 139
Joined: Tue Sep 26, 2006 2:42 am
Contact:

Re: Would you be interested in...?

Sun Mar 08, 2015 3:47 pm

My scenario assumes the following:

- All your customer leases are on a single machine (we have a main gateway/server).
- You are not using a transparent proxy (I am using this to redirect the clients to the "block" page)
- Your clients are using fixed IPs (but assigned through DHCP)

--

The webinterface is made with PHP and it uses the a modified RouterOS PHP Class ( http://wiki.mikrotik.com/wiki/RouterOS_PHP_class ) library.

It doesn't use ANY kind of database. All the information is loaded on the fly from the router. This means that every time you click a button, your action is reflected on the router that you are connected to.

--

Other info: the language is partially romanian/english, I didn't bother refining this, sometimes I wanted to do it in english, sometimes I wanted to do it in Romanian, so... meh.

This was only tested in Chrome. I don't care for Firefox or other browsers, I don't use them and I can't be arsed to test in it. SHould work just fine in any modern browsers, though. It's javascript heavy, of course, and it could have a horrible performance on low end mobile phones / tablets.

The HTML framework used is Bootstrap with the United theme.
 
troffasky
Member
Member
Posts: 395
Joined: Wed Mar 26, 2014 4:37 pm

Re: Would you be interested in...?

Sun Mar 08, 2015 5:42 pm

A sort of simplified web management interface for RouterOS? [Unifi for RouterOS, lol].
I like the idea.
In my not-so-humble opinion, Mikrotik shouldn't be trying to replicate Winbox in Webfig, the Webfig should be simpler and cut down, and those who want to get down and dirty with the config can use the CLI or fire up Winbox.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Would you be interested in...?

Sun Mar 08, 2015 6:06 pm

You forgot to put a link to the actual app.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
Znuff
Member Candidate
Member Candidate
Topic Author
Posts: 139
Joined: Tue Sep 26, 2006 2:42 am
Contact:

Re: Would you be interested in...?

Sun Mar 08, 2015 8:32 pm

No link, software is not "ready" for anyone else yet :)
 
Clauu
Member Candidate
Member Candidate
Posts: 205
Joined: Fri Mar 21, 2014 8:27 pm
Location: RO

Re: Would you be interested in...?

Sun Mar 08, 2015 11:40 pm

Hm interesant bravo :) Asta ar merge pe la hoteluri pensiuni etc unde se plateste accesu la internet si exista routere mikrotik vezi ce reclama iti faci :)
Interesting, nice and cleaner ui
Having fun with RB850Gx2, RB2011UiAS-2HnD, RB260GSP, RB751U-2HnD, CRS112, RB3011UiAS, hAP ac, cAP ac and hAP ac². More others on the way :-)
 
InoX
Forum Guru
Forum Guru
Posts: 1962
Joined: Tue Jan 09, 2007 6:44 pm

Re: Would you be interested in...?

Mon Mar 09, 2015 12:08 am

ar merge pe la hoteluri pensiuni etc unde se plateste accesu la internet
Not quite. For that is better to use hot spot feature. This is good for ISP.
 
mohsinskynet6676
just joined
Posts: 1
Joined: Sat Oct 28, 2017 3:45 pm

Re: Would you be interested in...?

Sat Oct 28, 2017 3:52 pm

can i get this for learning purpose ?
 
User avatar
machack
newbie
Posts: 47
Joined: Fri Jun 01, 2007 9:35 pm
Location: San Luis Argentina
Contact:

Re: Would you be interested in...?

Fri May 18, 2018 5:14 am

Hi, can i get to try? and learn?

thanks in advance
Cesar Javier Robles
www.WindNet.com.ar
MTCNA - MTCTCE - MTCRE - MTCWE

Who is online

Users browsing this forum: No registered users and 15 guests