Captive Portal has 2 accounting entries for one guest

Home Page Forums Network Management RADIUS 802.1x and Captive Portal Captive Portal has 2 accounting entries for one guest

This topic contains 0 replies, has 0 voices, and was last updated by  michael 2 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44512

    michael
    Member

    Hi,

    I am getting 2 accounting entries for a login of a guest – one with the name of the guest he used at login and another one with his MAC as username.
    The one with the MAC uses DEFAULT as the accounting class. The guest has the accounting class GUEST.
    First I didn’t recognize this, but if I changed cost/Mb of DEFAULT to 0.01€ (like GUEST) and I saw that the cost increases for the one with the MAC.

    Also I am missing the Credit of 1€ I added to the user gast in the user administration. I would like to give the guests fixed credit. If they have used it the connection should be disconnected.
    With ZS 2.0 everything works fine. With 3.2.? and 3.4.0 it doesn’t work anymore.

    Here some further information from my ZS:


    User Accounting
    Username Traffic (MB) Time Cost (€) Credit (€) Last Update
    000a0030dc64 390.46 6:03 3.14 0.00 2016-03-11 00:22
    gast 304.72 4:47 3.05 0.00 2016-03-11 00:22

    CAPTIVE PORTAL
    Connected Clients: 1
    Username IP Address MAC Address
    gast@hotel-r.de 192.168.3.101 00:0a:00:30:dc:64

    Log from CAPTIVE PORTAL
    19:32:59 AS: http session (Client: 192.168.3.101) captured for authentication (Popup: yes)
    19:34:00 AS: http session (Client: 192.168.3.101) captured for authentication (Popup: no)
    19:35:19 AS: trying Radius authentication (PAP) for gast@hotel-r.de (Client: 192.168.3.101)
    19:35:20 AS: Success: user gast@hotel-r.de (Client: 192.168.3.101) successfully authenticated (Username,Password)
    19:35:21 GW: Success: user gast@hotel-r.de (IP: 192.168.3.101 MAC: 00:0a:00:30:dc:64) connected

    Log from Radiusd:
    19:35:20 Login OK: [gast@hotel-roettgen.de] (from client localhost port 1)

    Does anybody has an idea how I can fix this?

    Regards,
    Michael

    #54052

    michael
    Member

    I had a more detailed look on to the logs.
    The entries with the MAC as name are from the hostap, if a WiFi connect was made. I use WPA without Enterprise. I thought Radius request would only be made with Enterprise – but this is wrong. Therefor I found those entries in the Accounting. There does not exist a switch that allows to turn of the Radius for WiFi.

    I also had a mistake in my accounting class (post paid instead of pre paid). Now everything seems to work

    Regards,
    Michael

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.