Captive portal - Help



  • Hello,

    I'm running 2.3.4-RELEASE-p1.  I have captive portal + Freeradius + Mysql
    to offer free internet to customers on a hotel after self registration.

    Everything works good…!!

    I have enable the option "Enable Pass-through MAC automatic additions"
    & "Enable Pass-through MAC automatic addition with username"
    & "Idle timeout (Minutes)" to 180 minutes.

    so our customers won't have to login again for all the time they are staying in our Hotel.

    I would like some help about 2 problems I have.

    First if I enable
    "Enable Pass-through MAC automatic additions"
    & "Enable Pass-through MAC automatic addition with username"
    the customer won't have to relogin which is good but I don't see any client
    in Status - Captive Portal.
    If i disable above rules I see everyone which is connected.

    Second
    Our customers staying maximum 15-20 days so
    I want to auto delete the mac entry of a customer after e.g. 1 month.
    Don't want to have thousands of entries in captive portal - mac's which are
    not usefull. In Services-captive portal - mac's there is no date or something
    so I can delete with safety the mac's of customers that have left.

    Is there any way to config these...

    Thanks



  • You'll need to identify the user and cross reference to their booking to do this effectively.

    I've seen this setup before where a custom external page is used to:

    • user authenticates based on last name and room number
    • booking system inserts the required info to modified freerad e.g. room, last name, check in and out dates
    • freerad replies accept if it matches the criteria

Log in to reply