Community discussions

MikroTik App
 
Macme
newbie
Topic Author
Posts: 36
Joined: Fri Apr 22, 2016 3:13 pm

Hotspot help please

Mon Mar 13, 2017 3:06 am

Hello
I found one question like mine but nobody replay. Can someone help me please.
Iam a beginner with mikrotik.
I have rb 951 g and I have hotspot on wlan active.
User is trial and I can connect and have access to internet. The issue is :
When session time out the list of active user is cleare-that is ok and I don't have internet any more and that is ok but I am still connected with my pc wifi card.
Question is why mikrotik didn't disconnect me as soon as session timeout ? Iam still connected and no internet.
Question : why no redirect to login again when I refresh page ( on page just say no internet connection) while still my pc connected, or why no some announcements that I am logged out .
I have to disconnect on my pc from mikrotik and connect again.
Can someone pleas help how to resolve this.

Thank you
 
Macme
newbie
Topic Author
Posts: 36
Joined: Fri Apr 22, 2016 3:13 pm

Re: Hotspot help please

Mon Mar 13, 2017 1:37 pm

Hello

What ??
No one so far has not faced with this problem or it is so simple that not worth the bother.
Can someone have any idea how to resolve this.

Thank you
 
janus20
Member Candidate
Member Candidate
Posts: 108
Joined: Thu Nov 03, 2016 10:31 am
Location: Pitesti, Romania

Re: Hotspot help please

Mon Mar 13, 2017 2:15 pm

Hi,

I am not an experienced hotspot admin, in fact never configured it before, but i think that If you are kind enough to post your configuration here maybe it would be more useful for others to understand and help you out with your situation.

Please, copy&paste here content of the command:
/export hide-sensitive
kind regards,
 
Macme
newbie
Topic Author
Posts: 36
Joined: Fri Apr 22, 2016 3:13 pm

Re: Hotspot help please

Mon Mar 13, 2017 2:48 pm

Hello
Yes you're right.
This is my settings
MikroTik RouterOS 6.35 (c) 1999-2016 http://www.mikrotik.com/

[admin@MikroTik] > export hide-sensitive
# dec/29/2015 10:02:55 by RouterOS 6.35
# software id = L0FX-G0XV
#
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n country=croatia disabled=no \
mode=ap-bridge wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] auto-negotiation=no
/interface wireless nstreme
set wlan1 enable-nstreme=yes
/ip hotspot user profile
set [ find default=yes ] add-mac-cookie=no shared-users=100
add name=trial rate-limit=1M/1M shared-users=100 transparent-proxy=yes
/ip hotspot profile
add hotspot-address=192.168.2.1 login-by=cookie,http-chap,http-pap,trial name=\
hsprof1 trial-user-profile=trial
/ip pool
add name=dhcp_pool1 ranges=192.168.2.2-192.168.2.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=wlan1 name=dhcp1
/ip hotspot
add address-pool=dhcp_pool1 addresses-per-mac=1 disabled=no interface=wlan1 \
keepalive-timeout=5m name=hotspot1 profile=hsprof1
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,confi
admin
/tool user-manager profile
add name="Hotspot Profile" name-for-users="" override-s
admin price=0 starts-at=logon validity=0s
/tool user-manager profile limitation
add address-list="" download-limit=3221225472B group-na
"Hotspot limit" owner=admin transfer-limit=32212
3221225472B uptime-limit=0s
/ip address
add address=192.168.2.1/24 interface=wlan1 network=192.
add address=192.168.88.1/24 interface=ether2 network=19
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clie
interface=ether1
/ip dhcp-server network
add address=192.168.2.0/24 gateway=192.168.2.1
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="p
disabled=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="p
disabled=yes
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat comment="masquerade
src-address=192.168.2.0/24
/ip hotspot user
add name=admin
add name=user1 server=hotspot1
add name=trial server=hotspot1
/ip hotspot walled-garden
add dst-host=www.apple.com path=/library/test/success.h
/ip service
set www-ssl disabled=no
/system clock
set time-zone-name=Europe
/system leds
set 0 interface=wlan1
/tool user-manager database
set db-path=user-manager
/tool user-manager profile profile-limitation
add from-time=0s limitation="Hotspot limit" profile="Ho
till-time=23h59m59s weekdays=\
sunday,monday,tuesday,wednesday,thursday,friday,sat
/tool user-manager router
add coa-port=1700 customer=admin disabled=no ip-addr
name=Hotspot shared-secret=123 use-coa=no
/tool user-manager user
add customer=admin disabled=yes shared-users=1 usern
wireless-enc-algo=none wireless-enc-key="" wireless
 
Macme
newbie
Topic Author
Posts: 36
Joined: Fri Apr 22, 2016 3:13 pm

Re: Hotspot help please

Tue Mar 14, 2017 2:31 pm

Can't believe that nobody have any idea about my problem or nobody face this issues.