Hello Rafael,
can you do bin/pfcmd service pf status
and be sure that pfdhcplistener is running.
Can you paste pfdhcplistener.log ?
Lat thing, run addons/pf-maint.pl to apply the last bug fixes and
restart packetfence.
Regards
Fabrice
Le 2018-08-13 à 16:02, Rafael Rocha via PacketFence-users a écrit :
Friends, We are having problems making the wireless client router
beyond the packetfence. The problemen start with the version 8.0.1,
the Netdata error, the clients receive the dhcp from the pf, they were
able to ping the wireless inline interface, but not the managament
interface(the one that is connect to the wan), we did make a lot of
revisions on the configuration, but in the end the problem was the
netdata services that was not going up, after upgrade, the service was
able to start again, and the wireless client this time are able to
talk the the ‘’managament’’ interface from the wireless, they are able
too to resolve names from the packetfence, but we still are not able
to leave from the packetfence machine.
I cannot see why, please give me a hand.
Bellow is the configuration settings:
[root@lurtz bin]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 172.16.91.254 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0
eth1
172.16.22.0 0.0.0.0 255.255.254.0 U 0 0 0
eth1
172.16.90.0 0.0.0.0 255.255.254.0 U 0 0 0
eth0
[root@lurtz bin]# ip route
default via 172.16.91.254 dev eth0
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
172.16.22.0/23 dev eth1 proto kernel scope link src 172.16.22.1
172.16.90.0/23 dev eth0 proto kernel scope link src 172.16.90.1
[root@lurtz bin]# ipset -L
Name: parking
Type: hash:ip
Revision: 1
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 2
Members:
Name: PF-iL2_ID1_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID2_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID3_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID4_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID5_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: pfsession_Unreg_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_Reg_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_Isol_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_passthrough
Type: hash:ip,port
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 4
Members:
Name: pfsession_isol_passthrough
Type: hash:ip,port
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 4
Members:
[root@lurtz bin]# ipset -L
Name: parking
Type: hash:ip
Revision: 1
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 2
Members:
Name: PF-iL2_ID1_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID2_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID3_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID4_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: PF-iL2_ID5_172.16.22.0
Type: bitmap:ip
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 216
References: 2
Members:
Name: pfsession_Unreg_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_Reg_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_Isol_172.16.22.0
Type: bitmap:ip,mac
Revision: 1
Header: range 172.16.22.0-172.16.23.255
Size in memory: 8400
References: 1
Members:
Name: pfsession_passthrough
Type: hash:ip,port
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 4
Members:
Name: pfsession_isol_passthrough
Type: hash:ip,port
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16528
References: 4
Members:
[root@lurtz bin]# more /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
net.ipv4.ip_forward = 1
(pf::activation::set_unregdate)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] User [email protected] <mailto:[email protected]>
has authenticated on the portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] User [email protected] <mailto:[email protected]>
has authenticated on the portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] User [email protected] <mailto:[email protected]>
has authenticated on the portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] User [email protected] <mailto:[email protected]>
has authenticated on the portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] User [email protected] <mailto:[email protected]>
has authenticated on the portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] violation 1300003 force-closed for
f0:d7:aa:9d:2f:09 (pf::violation::violation_force_close)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
INFO: [mac:f0:d7:aa:9d:2f:09] Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8193)
WARN: [mac:f0:d7:aa:9d:2f:09] Use of uninitialized value in
concatenation (.) or string at
/usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm
line 89.
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:unknown] Unable to match MAC address to IP '10.0.10.84'
(pf::ip4log::ip2mac)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:unknown] locale from the URL is not supported
(pf::Portal::Session::getLanguages)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:f0:d7:aa:9d:2f:09] Unable to match MAC address to IP
'10.0.10.84' (pf::ip4log::ip2mac)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:f0:d7:aa:9d:2f:09] locale from the URL is not supported
(pf::Portal::Session::getLanguages)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
INFO: [mac:f0:d7:aa:9d:2f:09] Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:f0:d7:aa:9d:2f:09] locale from the URL is not supported
(captiveportal::PacketFence::Controller::Root::getLanguages)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
INFO: [mac:f0:d7:aa:9d:2f:09] Releasing device
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
INFO: [mac:f0:d7:aa:9d:2f:09] User default has authenticated on the
portal. (Class::MOP::Class:::after)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:f0:d7:aa:9d:2f:09] locale from the URL is not supported
(pf::Portal::Session::getLanguages)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
INFO: [mac:f0:d7:aa:9d:2f:09] re-evaluating access (manage_register
called) (pf::enforcement::reevaluate_access)
Aug 10 12:36:52 lurtz packetfence_httpd.portal: httpd.portal(8195)
WARN: [mac:f0:d7:aa:9d:2f:09] Can't re-evaluate access because no open
locationlog entry was found (pf::enforcement::reevaluate_access)
Owner
[email protected] <mailto:[email protected]>
Status
[registered \/]
registered
[ ]
Role
[guest \/]
guest
[ ]
Registration
2018-08-10 12:36:52
Unregistration
2018-08-10 12:46
Last Seen
2018-08-10 12:36:52
Access Time Balance
seconds
Bandwidth Balance
bytes
IPv4 Address
172.16.22.10 *Since 2018-08-10 11:41:33*
IPv6 Address
*Inactive*
Name
android-369e6fa440f868c8
Voice Over IP
[ ]
Bypass VLAN
[ ]
Atenciosamente,
http://arpsist.com.br/img/arpsist_hori.png
<https://protect-us.mimecast.com/s/wXQpBzsdQYVXUY?domain=arpsist.com.br>
*Rafael Rocha* | [email protected]
<mailto:[email protected]> | *Arpsist Tecnologia da Informação*
Rua Bruno Veloso, 603, 4 andar, 51021-280 – Boa Viagem - Recife – PE
– Brasil
*T:* +55 81 33348599 | *T: *+55 81 988187622web
<https://protect-us.mimecast.com/s/wXQpBzsdQYVXUY?domain=arpsist.com.br>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users