Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Lock to MacAddress Voucher #163

Open
MeeeMaaaaw opened this issue Feb 12, 2024 · 3 comments
Open

Enable Lock to MacAddress Voucher #163

MeeeMaaaaw opened this issue Feb 12, 2024 · 3 comments

Comments

@MeeeMaaaaw
Copy link

MeeeMaaaaw commented Feb 12, 2024

Sa mga naghahanap ng script para ma-lock sa MacAddress ng phone ang voucher, pwede niyo to i-add sa login Script

### enable Lock MAC - use 1 to enable
:local LockMac 1;
# LockMacAddress
:if ($LockMac=1 && $comment != "") do={
:local mac $"mac-address";
/ip hotspot user set mac-address=$mac [find where name=$user];
/ip hotspot user set comment="" [find where name=$user];
}
@arisc007
Copy link

Hi po, ask q lng po kung bkit need n i lock s mac address ng phone ang voucher? kung nk lock at nag change s random mac s paglipat s ibang AP, eh di, disconnected ang voucher?

@MeeeMaaaaw
Copy link
Author

Optional lang yan. May ibang owner kasi na need yan para di manakaw yung voucher ni client. Kapag nakaenable ang ranDomMacFix , pwede iLogin ng ibang user yung VoucherCode na gamit ng ibang client kung alam nila ang code

@arisc007
Copy link

arisc007 commented Mar 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants