I am at my wit's end. I've tried several things, but:
1. I am not a programmer
2. I am not a programmer
3. I am not a programmer...
Anyone have good code (MikroTik script) to generate a "random" password? I don't care if it's really random, but just need to generate a 5 or 6 character password. This will be for a hotspot at a hotel. I only need to generate (for now) one password daily.
Things I've thought about:
1. Add a firewall rule like this:
/ip firewall add chain=forward place-before=0 action=passthrough
Then, when my script runs, I can get the packet count (or byte count for that matter) of matches on that rule. I can use that as a base for creating a "random" password.
2. Run a script OFF the Mikrotik on a FreeBSD server (or Linux box) then transfer the .rsc to update the password. (while this would be more "random", it would be a less than perfect solution).
Anyone have some working code to generate a "random" password on MT? I don't care how strong the password is....Just need some ideas for how to do this. Oh, yeah.......I need it last week.