Community discussions

MikroTik App
 
3BABY
just joined
Topic Author
Posts: 22
Joined: Fri Aug 20, 2010 3:44 am
Location: New Zealand

Cant account for traffic - user manager, Hotspot, MAC Authen

Fri Nov 26, 2010 4:49 am

Hi Guys,

just wandering if some of you could help me out with this config.. im having trouble accounting for traffic of a user in user manager, and having problems with MAC authentication.. even with only MAC selected in the hotspot setup i am presented with the Mikrotik hotsport login upon opening the browser..


in my RADIUS tab i select Hopspot & wireless (as im monitoring wireless users separte at the moment)
Image

using hotspot2 and serverprofile2 (hotspot 1 is just a test dummy)
Image

network address's 172.16.180.0-172.16.180.254
Image

selecting on MAC - and ticked "use RADIUS" in the next tab
Image

the user is "ants" i have put in a username and password and input my MAC
Image

but as above i am stil presented with the hotspot goin user page in the browser.. and i cant account for traffic in user-manager.. any clues?

thanks for your help :-)
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Fri Nov 26, 2010 4:59 am

http://wiki.mikrotik.com/wiki/Manual:IP/Hotspot/User
name (string; Default: ) HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address
mac-address (MAC; Default: 00:00:00:00:00:00) Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
Straight from the manual.

To authenticate via MAC address you turn on that method and create a local user with the MAC address as the username. Filling out the MAC address field just enforces that the user can only be used to log in from that MAC address, but does not use the MAC address for authentication.

I don't use User Manager so I don't know how it does accounting.
 
3BABY
just joined
Topic Author
Posts: 22
Joined: Fri Aug 20, 2010 3:44 am
Location: New Zealand

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Fri Nov 26, 2010 5:14 am

Thankyou for the quick reply, i will give that a go..

will continue to work with user manager to see if i can account for traffic..

cheers :-)
 
3BABY
just joined
Topic Author
Posts: 22
Joined: Fri Aug 20, 2010 3:44 am
Location: New Zealand

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Sat Nov 27, 2010 1:06 am

Ok so.. the MAC authentication is working now.. but i cannot get any traffic accounting working for the Wired connections.. i have my PC and a VoIP phone adapter connected to a managed switch on their respective vlans abd user manager is showing no traffic in its logs... i have connected a mobile device to the same hotspot and it is showing traffic in user manager.. but not the wired conections.. any ideas?

thanks.
 
3BABY
just joined
Topic Author
Posts: 22
Joined: Fri Aug 20, 2010 3:44 am
Location: New Zealand

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Sun Nov 28, 2010 3:13 am

Has anyone got any ideas on this problem?.. could it be a problem with the way i ahve the netwrk configured in the first place? :-)
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Sun Nov 28, 2010 8:42 am

Which interface is the hotspot on? Is there a hotspot or ppp set up to use radius on the wired interface also?
 
3BABY
just joined
Topic Author
Posts: 22
Joined: Fri Aug 20, 2010 3:44 am
Location: New Zealand

Re: Cant account for traffic - user manager, Hotspot, MAC Au

Tue Nov 30, 2010 1:27 am

Which interface is the hotspot on? Is there a hotspot or ppp set up to use radius on the wired interface also?
Hi there,

the hotspot is on a Bridge interface.. i have setup two hotspots identically.. both set to use different bridges on differnt VLANs. both these VLANs only have one device each connected to them respectively.. my PC and a VoIP Phone adapter to the other.. i have selected (under bridge) settings / use IP Firewall, use IP Firewall for VLAN, and use IP Firewall for PPPoE.. but i still cant account for traffic on these clients..

the funny thing is i can account for traffic on a Virtual machine im using on my PC but not my PC itself.. and i cant get anything out of the VoIP phone adapter..

am i supposed to put anything in the "Default domain" in the pic below..

Image


thanks for the help :-)