我刚刚安装了 PacketFence (PF) 服务器。此外,我还有一个 Aruba 网络接入点 (API-205),我使用它来将用户发送到 PF 中的 Captive Portal。
但强制门户又回来了
Sorry!
Your computer was not found in the PacketFence database.
Please reboot to solve this issue.
IP address: 172.17.xx.x
MAC: 0
由于某种原因,它没有获取 mac 信息。
packetfence.log(尝试访问强制门户时)
Jan 15 17:41:46 httpd.portal(3128) INFO: [mac:[undef]] Instantiate a new iptables modification method. pf::ipset (pf::inline::get_technique)
Jan 15 17:41:46 httpd.portal(3128) WARN: [mac:[undef]] Use of uninitialized value $ip in concatenation (.) or string at /usr/local/pf/lib/pf/util.pm line 119. (pf::util::valid_ip)
Jan 15 17:41:47 httpd.portal(3130) WARN: [mac:[undef]] Unable to match MAC address to IP '172.17.xx.x' (pf::iplog::ip2mac)
答案1
ip 助手需要在主 DHCP 服务器中打开。这样带外 PacketFence 服务器就可以获取必要的 DHCP 信息,而这些信息在请求中是隐藏的。