Hi Samir Sorry to say that i dont got a script for that, but it should be pretty easy to put together. a function in php i use elsewhere for generating usernames and passwords : function generate_random_string($name_length = 8) { $alpha_numeric = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz...
If you create users by script running on the router, where do you get their email addresses from ?
I would use a php script for generating users, and sending them login/pass.
Try using javascript on the page you wish to change background on. You can easily modify this to your needs : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml&q...
Have made some changes : 1.Only Write to log when TrialUser First logon : ON LOGON : :local freeuser :set freeuser "$user" :local freeuserno [/ip hotspot active find where user=$freeuser]; :local freeip [/ip hotspot active get $freeuserno address]; :log info ($freeuser." TRIAL Login o...
This script will make and Email a CSV-list of Trial Users and their usage. !!!!!!!!!! : Make sure that Email from the router is working. :local emailaddress "YOURMAIL@YOURDOMAIN.COM" :local date [/system clock get date] :local emailsubject :local emailbody :local freeusers :local trialuser...
Wanted to get an Email when a new trial account logs in. We only wanted Trial users to be able to login once (no reset). Trial users is deleted when router reboots....WE DONT WANT THAT. OBS : You need to get email sending working on your router before doing this. Tested on ROS 6.1 Here is what i cam...
THX Samir. tried : tool user-manager user print value-list On hotspot it works fine, but i use usermanager to manage my users. tried allso : tool user-manager user find (followed by TAB) and there i see all the parameters i need to output, but not the values. I was wondering if these parameters don'...