Security

Reply
Super Contributor I
Posts: 324
Registered: ‎05-09-2013

Device Registration - Auto-fill MAC address?

In ClearPass guest, we have employees that are allowed to register their personal devices and use the WLAN. We are giving out the Device Registration operator profile when they log in. Is there a way to automatically fill in the mac address of the device they are on? Or is there a way to display it via some type of coding PHP, Javascript, etc.?

 

If not, how have others accomplished explaining how to obtain their mac address by using that form?

Michael Haring | Network Engineer - ACMP, ACCP
Comm Solutions Company | www.commsolutions.com
Guru Elite
Posts: 8,050
Registered: ‎09-08-2010

Re: Device Registration - Auto-fill MAC address?

[ Edited ]

Do you have the mac_auth field enabled in your MAC create form?

 

Also, make sure "MAC Detect" is enabled under Administration > Plugin Manager > MAC Authentication.


Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Super Contributor I
Posts: 324
Registered: ‎05-09-2013

Re: Device Registration - Auto-fill MAC address?

Yes I have those enabled. 

 

We wanted to be able to auto-fill the mac address of the device that is connected and is being registered in the guest device repository.

 

The user connects to SSID_A and if device does not exist, they are given captive portal role in controller forcing them to go to operator login page. They log in and they have to register their device name and mac address. This all works fine, but we wanted to simplify finding the mac address of the device, either by running some type of script or something that would either auto-fill it in that field or display it as part of the form.

Michael Haring | Network Engineer - ACMP, ACCP
Comm Solutions Company | www.commsolutions.com
Guru Elite
Posts: 8,050
Registered: ‎09-08-2010

Re: Device Registration - Auto-fill MAC address?

Is the MAC address present in the MAC create URL redirect?


Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Guru Elite
Posts: 8,050
Registered: ‎09-08-2010

Re: Device Registration - Auto-fill MAC address?

Just did a quick test and it's working without issue:

 

mac-create-mac.png


Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Super Contributor I
Posts: 324
Registered: ‎05-09-2013

Re: Device Registration - Auto-fill MAC address?

How did you get it to automatically fill in? If the MAC address wasn't in the redirect URL, how would I get it there?

Michael Haring | Network Engineer - ACMP, ACCP
Comm Solutions Company | www.commsolutions.com
Guru Elite
Posts: 8,050
Registered: ‎09-08-2010

Re: Device Registration - Auto-fill MAC address?

It is part of the captive portal redirect URL from any Aruba device. What device are you authenticating from?


Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Super Contributor I
Posts: 324
Registered: ‎05-09-2013

Re: Device Registration - Auto-fill MAC address?

It would be a Windows/MAC laptop or mobile device, using Aruba controller and ClearPass.

Michael Haring | Network Engineer - ACMP, ACCP
Comm Solutions Company | www.commsolutions.com
Guru Elite
Posts: 8,050
Registered: ‎09-08-2010

Re: Device Registration - Auto-fill MAC address?

How is the user getting to the registration page? Manually or captive portal redirect?


Tim Cappalli | Aruba ClearPass TME
@timcappalli | ACMX #367 / ACCX #480 / ACEAP / CWSP
Super Contributor I
Posts: 324
Registered: ‎05-09-2013

Re: Device Registration - Auto-fill MAC address?

captive portal redirect if the device they are on is not registered. Manually if it's a gaming console or some other device they want to register. The captive portal redirect is the important one to auto-fill.

Michael Haring | Network Engineer - ACMP, ACCP
Comm Solutions Company | www.commsolutions.com
Search Airheads
Showing results for 
Search instead for 
Did you mean: