Community discussions

MikroTik App

Search found 18 matches

by faogundele
Sun Jul 08, 2018 10:05 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi,

The webserver is directly connected with cat6 cable to mikrotik Ethernet port while APs are connected via switch to the same mikrotik but another ethernet port. What do I do now?
by faogundele
Fri Jul 06, 2018 4:13 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi boen_robot, I encountered a problem while testing the script above. When I connect my laptop to mikrotik box directly I could change my password on web browser but when I connect to access point ( access point--->switch--->mikrotik ) the script page either not reacheable (i.e taking too long to r...
by faogundele
Wed Jul 04, 2018 7:44 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi boen_robot,

Thanks so much. I followed your advice above and the above script worked including others scripts. I am indeed grateful. All errors resolved accordingly thanks so much.
by faogundele
Fri Jun 22, 2018 1:26 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi, After calling composer update I got the below Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files Secondly ...
by faogundele
Thu Jun 21, 2018 5:42 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

[Thu Jun 21 15:03:45.435480 2018] [:error] [pid 17527] [client 192.168.0.2:33912] PHP Fatal error: Uncaught Error: Class 'PEAR2\\Net\\RouterOS\\Client' not found in /var/www/html/changepass.php:12\nStack trace:\n#0 {main}\n thrown in /var/www/html/changepass.php on line 12 [Thu Jun 21 15:03:48.98359...
by faogundele
Wed Jun 20, 2018 2:33 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi boen_robot, this is error log after installing composer, what do I do next. PHP Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/changepass.php on line 5 Secondly, when I issue this command sudo composer require pear2/ne...
by faogundele
Tue Jun 19, 2018 5:46 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Hi every one, I need urgent help. How do I install Pyrus and Pear2 and PEAR2/Autoload.php. Please help with step by step guidelines. I have installed and tested ok the following: Ubuntu16.04, Apache2, php7.0 and php7.2. Pear. Following many guides online did not succeed, always having issues or erro...
by faogundele
Mon Jun 18, 2018 3:22 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Thanks a lot. I have two php.ini files namely which i edited the two /var/www$ locate php.ini /etc/php/7.0/apache2/php.ini /etc/php/7.2/apache2/php.ini The top information displayed by phpinfo is shown below that am running php as apache module and how do I allow outgoing connection by whitelist apa...
by faogundele
Sat Jun 16, 2018 12:23 am
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Thanks alot, I have done that. I tested phpinfo on the url to know if the php is working properly. it displayed php information installed same thing with Apache. however when I run above script on browser url bar, the page displayed is blank and white.

what could be the problem or error?
by faogundele
Thu Jun 14, 2018 11:12 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

please I need urgent help. I have installed Ubuntu, Apache, PHP, MySQL, phpmyadmin tested and running. static IP enabled. I have mikrotik routerboard on tile architecture I want to achieve user self change of hotspot password and also to send mikrotik syslog to external webserver 1. can I run the ab...
by faogundele
Wed May 30, 2018 5:10 pm
Forum: General
Topic: How to capture Hotspot user log
Replies: 2
Views: 3280

Re: How to capture Hotspot user log

Hi everyone,
I have tried this script and it worked but i can not get the first detailed logs showing destination IP, port and etc.
I can only view users, chain, source address, bytes and packets.

Please I need help to get thorough and how to save to my prefered syslog server.

Thanks
by faogundele
Wed May 23, 2018 4:09 pm
Forum: Scripting
Topic: Creating Statistics of users' usage
Replies: 1
Views: 854

Creating Statistics of users' usage

Hi everyone, I need help on how to generate users' statistics over a period of one month of all activities (up-time, cumulative bytes out, bytes in, site visited and etc) thereafter log it in a file. Also, a script on automatic reset of all counters at specified time. I am using mikrotik routerboard...
by faogundele
Wed May 09, 2018 1:08 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Thanks so much for your response. If any information is out there regarding metarouter on tile architecture, kindly inform me.
by faogundele
Tue May 08, 2018 11:14 am
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Thanks for your response. I will give it a trial and actually get back to you on my result. Details of my mikrotik router Product code CCR1009-7G-1C-1S+PC Architecture TILE CPU TLR4-00980CH-10CE-A3b CPU core count 9 CPU nominal frequency 1 GHz Dimensions 272x190x47mm License level 6 Operating System...
by faogundele
Mon May 07, 2018 2:33 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

Is there a way I can run a script in mikrotik core router box to change hotspot password?

Please i need urgent help.
by faogundele
Mon May 07, 2018 1:16 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

(but under the hood, it would be turned into the first code)

Thanks for your response, however, what do you mean by (but under the hood, it would be turned into the first code)
by faogundele
Fri May 04, 2018 2:58 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Re: Change of Password for hotspot users

How can i use edit in /ip hotspot user edit command?

Any one with help?
by faogundele
Wed May 02, 2018 5:15 pm
Forum: Scripting
Topic: Change of Password for hotspot users
Replies: 27
Views: 27413

Change of Password for hotspot users

I am new to mikrotik, i need step by step to create a page where hotspot users will be able to change their password using USER SELF FORM MANAGEMENT. It is very urgent. I got this code online and created a script named changepass.php by clicking on plus button in winbox system and then script. Pleas...