hi.. greeting all,
currently i’m using mikrotik version 2.9.51 to serve more than 50 hotspot-location.
i use 1 vlan each location and each vlan is bridged together so i only need 1 hotspot services on that bridge.
while for login-page, i use another server. currently all is running well
–sample part of my config–
#
/ interface vlan
add name="vlan-greengarden" arp=enabled vlan-id=6 interface=ether2 disabled=no
#
/ interface bridge
add name="bridge1"
#
/ interface bridge port
add interface=vlan-greengarden bridge=bridge1 disabled=no
#
/ ip hotspot
add name="HOTSPOT" interface=bridge1 address-pool=pool1 profile=default \
idle-timeout=15m keepalive-timeout=none addresses-per-mac=1 disabled=no
– a line in login.html to redirect login page base on its location–
document.write('<form name="redirect" action="https://login.page.net/indexWeb.php?lok=$(interface-name)" method="post">')
here the question: ![]()
why on version 3.xx, its doesn’t know the vlan name, only know the bridge name…?
so, the result of login URL based on above example:
-- on version 3.xx ==> https://login.page.net/indexWeb.php?lok=bridge1
-- on version 2.9.x ==> https://login.page.net/indexWeb.php?lok=vlan-greengarden
if i want use ver 3.xx, is there another way or solution so my login-page can be diferent each vlan?
thanks and regards