hi sir
i work with mikrotik hotspot (work with ip+name+mac+pass)
firewall
1 (nat) general=srcnat action= masquerade
2 (mangle) /ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no
lan = 192.168.16.1
wan = 192.168.1.1
dsl line = 1024 / 256
pppoe-client
============================================
this is my QoS
/queue type add name=“PCQ_download” kind=pcq pcq-rate=1024000 pcq-classifier=dst-address
/queue type add name=“PCQ_upload” kind=pcq pcq-rate=256000 pcq-classifier=src-address
/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all
where’s my problem ?
1- clients login and others can’t login
when i remove (mac) login by mac >>>>>>>>>>>>>>>> all users easly login
2- i want Bandwidth Equal between Users like the image i upload like this:–
one user on line will get 1024/256
if another user become online i want 1024/256 divide to 2 (1024/256 / 2 = 512/128)
if they 7 users become online i want 1024/256 divide to 7 (1024/256 / 7 = 146/36)
For the QoS portion, follow the diagram you quoted. Make two PCQ types as you already have and set their pcq-rate value to 0, just like the manual says. Then set the max-limit on the upload queue to your upload DSL speed, and the max-limit on the download queue to your download DSL speed. Just like the manual you already found says to do.
You didn’t post nearly enough information to troubleshoot authentication issues. Step one: add a logging topic for ‘hotspot’, either to disk or to memory. Then watch users try to authenticate and fail. What do the logs say?
/queue type
set [find name=PCQ_download] pcq-rate=0
set [find name=PCQ_upload] pcq-rate=0
/queue tree
set [find queue=PCQ_download] max-limit=1024000
set [find queue=PCQ_upload] max-limit=256000
That should fix QoS. You probably want to start hitting the manuals, though. This is very basic stuff and explained very well in the manuals. I realize you’re new to the product, but you are providing a service to users. Make sure it works right in a lab or on a bench before putting users behind it.
Authentication:
/system logging
add action=memory topic=hotspot
Then watch the log files via the “Log” button in winbox, or via “/log print” in the terminal. See what errors get logged when someone can’t authenticate.
thank you sir for help me to fix my problem
this is my prints
/ip address print detail
Flags: X - disabled, I - invalid, D - dynamic
0 address=192.168.16.1/24 network=192.168.16.0 broadcast=192.168.16.255 interface=LAN actual-interface=LAN
2 D address=41.34.252.252/32 network=163.121.171.49 broadcast=0.0.0.0 interface=ADSL actual-interface=ADSL
/ip route print detail
[admin@MikroTik] > /ip route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
0 ADC dst-address=163.121.171.49/32 pref-src=41.34.252.252 interface=ADSL scope=10 target-scope=0