Hello, I've been configuring Packetfence to work with our wired and wireless network, at the moment I'm trying to get the Wireless working using Captive Portal, I'm using oauth2 with Google as per we want to take advantage of our Google Apps as our authentication method for company wide, we use Ruckus Zone Director version 10.0.1.0 build 35 with 5 Ruckus R710 AP, I've followed the directions from the Admin Guide and the Network configuration guide for Ruckus, I have create a Hotspot Service in Ruckus ZoneDirector and pointing to the IP of our packet fence, when the users tries to access the SSID it will direct them to the Captive Portal, they can authenticate with google the device its registered, I can see in the registered nodes, however after all that it shows to the user "Your network should be enabled within a minute or two, if it is not reboot your computer", well I have tried from different devices(iOS are giving a different error but that is no a mayor issue right now) and all are having the same problem, from Mac and Windows computers, desktops and laptops, from the packetfence.log I got this:
Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:05:40 pfsetvlan(0) WARN: ignoring non trap line 2017-11-22 00:05:39 NET-SNMP version 5.7.2.1 Stopped. (main::) Nov 22 00:05:40 pfsetvlan(0) WARN: ignoring non trap line Stopping snmptrapd (main::) Nov 22 00:05:40 pfsetvlan(0) WARN: ignoring non trap line (main::) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:unknown] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:unknown] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:unknown] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:unknown] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:41 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:05:46 packetfence packetfence: INFO pfcmd.pl(2691): generating /usr/local/pf/var/conf/snmptrapd.conf (pf::services::manager::snmptrapd::generateConfig) Nov 22 00:05:49 pfsetvlan(0) WARN: ignoring non trap line NET-SNMP version 5.7.2.1 AgentX subagent connected (main::) Nov 22 00:05:49 pfsetvlan(0) WARN: ignoring non trap line NET-SNMP version 5.7.2.1 (main::) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:unknown] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:unknown] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) ERROR: [mac:unknown] Can't bind : IO::Socket::INET: connect: Connection refused (pf::ip4log::_get_lease_from_omapi) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) ERROR: [mac:60:f8:1d:c3:e7:58] Can't bind : IO::Socket::INET: connect: Connection refused (pf::ip4log::_get_lease_from_omapi) Nov 22 00:05:52 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:05:53 packetfence packetfence: INFO pfcmd.pl(2696): pf::cmd::pf::service, /usr/local/pf/lib/pf/cmd/pf/service.pm, 251 (pf::services::manager::dhcpd::generateConfig) Nov 22 00:05:53 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:05:53 packetfence packetfence_httpd.portal: httpd.portal(1725) ERROR: [mac:unknown] Can't bind : IO::Socket::INET: connect: Connection refused (pf::ip4log::_get_lease_from_omapi) Nov 22 00:05:53 packetfence packetfence_httpd.portal: httpd.portal(1725) ERROR: [mac:60:f8:1d:c3:e7:58] Can't bind : IO::Socket::INET: connect: Connection refused (pf::ip4log::_get_lease_from_omapi) Nov 22 00:05:53 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:09 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:06:09 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:17 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:06:17 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:28 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] OAuth2 successfull for username rica...@domain.com (captiveportal::PacketFence::DynamicRouting::Module::Authentication::OAuth::handle_callback) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Found provisioner accept for 60:f8:1d:c3:e7:58 (captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] User rica...@domain.com has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] violation 1300003 force-closed for 60:f8:1d:c3:e7:58 (pf::violation::violation_force_close) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Releasing device (captiveportal::PacketFence::DynamicRouting::Module::Root::release) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] User default has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] re-evaluating access (manage_register called) (pf::enforcement::reevaluate_access) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1727) WARN: [mac:60:f8:1d:c3:e7:58] Can't re-evaluate access because no open locationlog entry was found (pf::enforcement::reevaluate_access) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] User default has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] Reevaluating access of device. (captiveportal::PacketFence::DynamicRouting::Module::Root::unknown_state) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] re-evaluating access (manage_register called) (pf::enforcement::reevaluate_access) Nov 22 00:06:29 packetfence packetfence_httpd.portal: httpd.portal(1725) WARN: [mac:60:f8:1d:c3:e7:58] Can't re-evaluate access because no open locationlog entry was found (pf::enforcement::reevaluate_access) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:unknown] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:unknown] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] User default has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] Reevaluating access of device. (captiveportal::PacketFence::DynamicRouting::Module::Root::unknown_state) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) INFO: [mac:60:f8:1d:c3:e7:58] re-evaluating access (manage_register called) (pf::enforcement::reevaluate_access) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1729) WARN: [mac:60:f8:1d:c3:e7:58] Can't re-evaluate access because no open locationlog entry was found (pf::enforcement::reevaluate_access) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1725) INFO: [mac:60:f8:1d:c3:e7:58] URI '/Ruckus' is detected as an external captive portal URI (pf::web::externalportal::handle) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:unknown] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:unknown] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] External captive portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_build_dispatcherSession) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Detected external portal client. Using the IP 192.168.2.126 address in it's session. (captiveportal::PacketFence::Model::Portal::Session::_build_clientIP) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1726) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Instantiate profile Ruckus (pf::Connection::ProfileFactory::_from_profile) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] User default has authenticated on the portal. (Class::MOP::Class:::after) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] Reevaluating access of device. (captiveportal::PacketFence::DynamicRouting::Module::Root::unknown_state) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) INFO: [mac:60:f8:1d:c3:e7:58] re-evaluating access (manage_register called) (pf::enforcement::reevaluate_access) Nov 22 00:06:40 packetfence packetfence_httpd.portal: httpd.portal(1727) WARN: [mac:60:f8:1d:c3:e7:58] Can't re-evaluate access because no open locationlog entry was found (pf::enforcement::reevaluate_access) I'm attaching my configuration files, we have a main DHCP server so packetfence will work as DHCP only for the isolation a registration vlans for the wired networks. All suggestions are welcome. Thanks and regars, Ricardo
authentication.conf
Description: Binary data
networks.conf
Description: Binary data
pf.conf
Description: Binary data
portal_modules.conf
Description: Binary data
profiles.conf
Description: Binary data
switches.conf
Description: Binary data
------------------------------------------------------------------------------ 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