Yes, the device gets an up from the production server. The range is not 
controlled by of and the of server won't be anywhere near the same vlan. 
However, I configured the aerohives correctly for snmp and now I see the 
production ip address in the location history... Still can't register 😞

But if I manually set it to registered and set the role (not bypass role) then 
the device connects as expected.

--
Regards
Paul
NOT PROTECTIVELY MARKED
===========================================

Just some more info on this.

Aug 05 08:06:45 httpd.portal(18437) INFO: [mac:0] Updating node user_agent with 
useragent: 'LG-D855 Mozilla/5.0 (Linux; Android 6.0; LG-D855 Build/MRA58K) 
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/38.0.2125.102 Mobile 
Safari/537.36' 
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Aug 05 08:06:45 httpd.portal(18431) INFO: [mac:0] Updating node user_agent with 
useragent: 'LG-D855 Mozilla/5.0 (Linux; Android 6.0; LG-D855 Build/MRA58K) 
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/38.0.2125.102 Mobile 
Safari/537.36' 
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Aug 05 08:06:45 httpd.portal(18431) INFO: [mac:0] database query failed with: 
Duplicate entry '0' for key 'PRIMARY' (errno: 1062) (pf::db::db_query_execute) 
Aug 05 08:06:45 httpd.portal(18437) INFO: [mac:0] database query failed with: 
Duplicate entry '0' for key 'PRIMARY' (errno: 1062) (pf::db::db_query_execute) 
Aug 05 08:06:45 httpd.portal(18431) INFO: [mac:0] Static User-Agent lookup data 
initialized (pf::useragent::_init)

So I'm not quite sure what it's looking for. But it already has a MAC address 
of 0 in the database :(

I've read other posts where it suggests setting up OMAPI. Which I already have 
done. But I don't see any activity in the log files relating to it trying to do 
a lookup using it.

--
Regards

Paul Bargewell


-----Original Message-----
From: Bargewell Paul
Sent: Thursday, August 04, 2016 2:43 PM
To: '[email protected]'
Subject: Computer was not found in PacketFence database - Smartphones NOT 
PROTECTIVELY MARKED

 NOT PROTECTIVELY MARKED
===========================================

I've spent a long week setting up PacketFence in our environment. Was quite a 
challenge to get everything working together. We have Avaya VoIP phones, 
AeroHive Wi-Fi and Extreme switches and finally they all work as they should do.

The last hurdle just seems to be with Android devices connecting into Wi-Fi.

Our setup uses the PF RADIUS for MAC authentication. This drops devices into 
either a PFRegistration or GUEST vlan depending if they've registered 
successfully.

If the device belongs is a domain PC or Laptop then by using realms it gets 
picked up as either domain\user or host/machine and the PF RADIUS proxies the 
auth onto our MS NPS.

I expected the Android device to act like any other MAC level device and simply 
register through the portal and off it goes. Well it does register on the 
portal perfectly well. It appears in the PF Nodes as unregistered with a mac 
address, name, owner and IP address eg.

        c4:9a:02:0f:5e:f7        android-e94a9330245d1dfd         default  
10.255.12.17     Smartphones/PDAs/Tablets

But on the Android device when it finishes the registration process it comes up 
with a red warning:

"Your computer was not found in the PacketFence Database. Please reboot to 
solve this issue."

The IP is populated in the footer but the MAC shows as 0.

I've now just repeated this with a fruit based device and seems to have a 
similar affliction. It got through the registration process, sent the sponsor 
an email, got authorised. It didn't update the database that it was registered 
and the owner is down as "default"

        5c:8d:4e:47:cd:e0        Brians-iPhone    default  10.255.12.18     
Smartphones/PDAs/Tablets

On the fruit browser it constantly gets redirected back to the registration 
page.

Am I missing a step with the configuration of Smartphones?

--
TIA
Paul

Attachment: pgpJSWYeYCCts.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to