Re: [PacketFence-users] Please verify the provided MAC address

2016-12-14 Thread Antoine Amacher
Hello Morgan,

The way how this works is you usually provide MAC vendor in the oui 
file. For instance you want to allow Xbox to register, add the following 
list inside conf/allowed_device_oui.txt:

00:12:5A  # Microsoft-Xbox
00:0D:3A  # Microsoft-Xbox
00:50:F2  # Microsoft-Xbox
00:17:FA  # Microsoft-Xbox
00:1D:D8  # Microsoft-Xbox
00:22:48  # Microsoft-Xbox

Example are available from conf/allowed_device_oui.txt.example

As long as the first 6 digits of the MAC you are trying to register are 
in the file, then the device will be able to register via the 
device-registration page.

Let us know is that help.

Thanks

On 12/08/2016 12:08 PM, Morgan, Joel P. wrote:
> It looks like blanking the file /usr/local/pf/conf/allowed_device_oui.txt 
> doesn't allow any MAC to register. Renaming the file allows any MAC to 
> register.
>
> -Original Message-
> From: Morgan, Joel P.
> Sent: Thursday, December 8, 2016 10:01 AM
> To: 'packetfence-users@lists.sourceforge.net' 
> 
> Subject: Please verify the provided MAC address
>
> I'm using PF version 6.2.1 on CentOS 6.8.
>
> When manually registering a device using the device-registration URL I get an 
> error when I submit the MAC address.
>
> "Please verify the provided MAC address."
>
> A tail of packetfence.log gives the following output.
>
> Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
> address to IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 
> httpd.portal(2555) INFO: [mac:unknown] Instantiate profile default 
> (pf::Portal::ProfileFactory::_from_profile)
> Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
> address to IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 
> httpd.portal(2555) WARN: [mac:0] Unable to match MAC address to IP 
> '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 httpd.portal(2555) INFO: 
> [mac:0] Instantiate profile default 
> (pf::Portal::ProfileFactory::_from_profile)
> Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:0] Unable to match MAC address 
> to IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 httpd.portal(2555) 
> INFO: [mac:0] Instantiate profile default 
> (pf::Portal::ProfileFactory::_from_profile)
>
> The file /usr/local/pf/conf/allowed_device_oui.txt is empty.
>
> Does anyone have any suggestions for fixing this?
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Antoine Amacher
aamac...@inverse.ca  ::  www.inverse.ca
+1.514.447.4918 x130  :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Please verify the provided MAC address

2016-12-08 Thread Morgan, Joel P.
It looks like blanking the file /usr/local/pf/conf/allowed_device_oui.txt 
doesn't allow any MAC to register. Renaming the file allows any MAC to register.

-Original Message-
From: Morgan, Joel P. 
Sent: Thursday, December 8, 2016 10:01 AM
To: 'packetfence-users@lists.sourceforge.net' 

Subject: Please verify the provided MAC address

I'm using PF version 6.2.1 on CentOS 6.8.

When manually registering a device using the device-registration URL I get an 
error when I submit the MAC address.

"Please verify the provided MAC address."

A tail of packetfence.log gives the following output.

Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
address to IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 
httpd.portal(2555) INFO: [mac:unknown] Instantiate profile default 
(pf::Portal::ProfileFactory::_from_profile)
Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
address to IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 
httpd.portal(2555) WARN: [mac:0] Unable to match MAC address to IP 
'192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 httpd.portal(2555) INFO: 
[mac:0] Instantiate profile default (pf::Portal::ProfileFactory::_from_profile)
Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:0] Unable to match MAC address to 
IP '192.168.1.10' (pf::iplog::ip2mac) Dec 08 09:23:44 httpd.portal(2555) INFO: 
[mac:0] Instantiate profile default (pf::Portal::ProfileFactory::_from_profile)

The file /usr/local/pf/conf/allowed_device_oui.txt is empty.

Does anyone have any suggestions for fixing this?

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Please verify the provided MAC address

2016-12-08 Thread Morgan, Joel P.
I'm using PF version 6.2.1 on CentOS 6.8.

When manually registering a device using the device-registration URL I get an 
error when I submit the MAC address.

"Please verify the provided MAC address."

A tail of packetfence.log gives the following output.

Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
address to IP '192.168.1.10' (pf::iplog::ip2mac)
Dec 08 09:23:44 httpd.portal(2555) INFO: [mac:unknown] Instantiate profile 
default (pf::Portal::ProfileFactory::_from_profile)
Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:unknown] Unable to match MAC 
address to IP '192.168.1.10' (pf::iplog::ip2mac)
Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:0] Unable to match MAC address to 
IP '192.168.1.10' (pf::iplog::ip2mac)
Dec 08 09:23:44 httpd.portal(2555) INFO: [mac:0] Instantiate profile default 
(pf::Portal::ProfileFactory::_from_profile)
Dec 08 09:23:44 httpd.portal(2555) WARN: [mac:0] Unable to match MAC address to 
IP '192.168.1.10' (pf::iplog::ip2mac)
Dec 08 09:23:44 httpd.portal(2555) INFO: [mac:0] Instantiate profile default 
(pf::Portal::ProfileFactory::_from_profile)

The file /usr/local/pf/conf/allowed_device_oui.txt is empty.

Does anyone have any suggestions for fixing this?

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users