PDA

View Full Version : Pass MAC to registration page


cdavis
09-13-2003, 10:03 AM
If this is obvious after installing the latest version please forgive me question, I have not updated my servers yet.

Does the new hotspot feature have the ability to pass a mac via the url redirect so that my registration page can stick the mac in the form?

Carl

tony
09-13-2003, 11:18 AM
Within the hotspot pages, the client's MAC can be referenced as |client_mac|, and their login IP as |client_ip|.

We will have server whitelist support soon, so unauthorized users can access your registration servers without restrictions. At the moment, unauthorized users only have access to the Hotspot system itself.

cdavis
09-13-2003, 11:29 AM
When the whitelist support is finished it would be very helpful to have it pass the mac as a variable [http://mydomain.com/registration.html?mac=00:00:00:00:00:00] so I can have it put into the registration form.

Thanks!

tony
09-13-2003, 11:44 AM
Just substitute 00:00:00:00:00:00 with |client_mac| on the registration URL, and it will be replaced with the appropriate MAC address.

For example:

http://mydomain.com/registration.html?mac=|client_mac|
would become this (using the client's actual MAC)
http://mydomain.com/registration.html?mac=01:02:03:04:05:06

Thanks!

cdavis
01-29-2004, 01:15 PM
How do you pass those that do not have a radius username/password mac entry to the signup page?

cdavis
01-29-2004, 07:20 PM
I guess I just change the html on the correct web page to make that redirect. That raises a few more questions

Can you define what each page does (I know a few, but not all). What page do I need to edit for those users that aren't in my MAC radius list.

Does the ez client authenticate off of radius as well? So as long as a user is in my radius file they don't need to have the correct settings.

I thought I read where starutil would allow me to download and upload edited web pages, but I can't find that option. Do I have to edit on the server?