[PacketFence-users] PF 5.40 pfsetvlan and snmptrapd BUG

2015-10-12 Thread ismael flavio silva
Hello

I am installing pf 5:40 to enforce vlan

when selected the pfsetvan and snmptrapd to start, it displays this error

packefence.log

ERROR: Failed to load module pf :: Switch :: packetfence: packetfence (mp :: :: 
SwitchFactory getModule)

ERROR: Can not load perl module switch is 127.0.0.1, type: packetfence. The 
type is unknown or perl module has compilation errors (please SwitchFactory :: 
:: _ ANON__)

pfcmd.pl (4740) FATAL: Can't call mothod "new" on an undefined value at 
/usr/local/pf/lib/pf/SwitchFactory.pm line 165

at the first start all ok. I deleted the switch´s default and added my swicth. 
Not work anymore :(

Thanks
--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] PF 5.40 pfsetvlan and snmptrapd BUG

2015-10-12 Thread Louis Munro
That bug is fixed in maintenance.

Run 

# perl /usr/local/pf/addons/pf-maint.pl


Why are you starting those services?
Unless you use port security you should not need them.

--
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

> On Oct 10, 2015, at 21:40 , ismael flavio silva  
> wrote:
> 
> Hello
>  
> I am installing pf 5:40 to enforce vlan
>  
> when selected the pfsetvan and snmptrapd to start, it displays this error
>  
> packefence.log
>  
> ERROR: Failed to load module pf :: Switch :: packetfence: packetfence (mp :: 
> :: SwitchFactory getModule)
>  
> ERROR: Can not load perl module switch is 127.0.0.1, type: packetfence. The 
> type is unknown or perl module has compilation errors (please SwitchFactory 
> :: :: _ ANON__)
>  
> pfcmd.pl (4740) FATAL: Can't call mothod "new" on an undefined value at 
> /usr/local/pf/lib/pf/SwitchFactory.pm line 165
>  
> at the first start all ok. I deleted the switch´s default and added my 
> swicth. Not work anymore :(
>  
> Thanks
> --
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net 
> 
> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
> 
--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Violation release_date 8 hours before start_date.

2015-10-12 Thread Tim DeNike
Seeing auto-registration violations where the release_date is 8 hours PRIOR
to the start_date.  Somehow in the logic, its not letting a violation
re-occur until 8 hours AFTER the start date.

The auto-reg violation is set witoiut a delay, window, or grace.  Have
tried setting 1 second grace, window and delay with no change.

PF 5.3
--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] dhcpd service not starting

2015-10-12 Thread Morgan, Darren
Hi,

We are trialing PF but cannot get the dhcpd service to run.  It shows the 
following errors on startup (dhcpd.conf and networks.conf copied in after 
errors);

nternet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/usr/local/pf/var/conf/dhcpd.conf line 48: range declaration not allowed here.
  range
   ^
/usr/local/pf/var/conf/dhcpd.conf line 50: expecting a declaration
  max-lease-time 30;
^
/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.10 is declared 
twice!
  range 192.168.120.10 192.168.120.246;
   ^
/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.11 is declared 
twice!
  range 192.168.120.10 192.168.120.246;
   ^
##  lots of lines cut out ##

/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.246 is declared 
twice!
  range 192.168.120.10 192.168.120.246;

Configuration file errors encountered -- exiting

This version of ISC DHCP is based on the release available
on ftp.isc.org.  Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the CentOS Bugs Database:
http://bugs.centos.org/

exiting.
dhcpd|not started 0m

###
dhcpd.conf
###
# dhcpd configuration
# This file is manipulated on PacketFence's startup before being given to dhcpd
authoritative;
ddns-update-style none;
ignore client-updates;
#// Registration network definition
subnet 192.168.120.0 netmask 255.255.255.0 {
   option routers 192.168.100.42;
   option subnet-mask 255.255.255.0;
   option domain-name "oundleschool.local";
   option domain-name-servers 192.168.100.42;
   range 192.168.120.10 192.168.120.249;
   default-lease-time 300;
   max-lease-time 300;
}

#// Isolation network definition
subnet 192.168.130.0 netmask 255.255.255.0 {
   option routers 192.168.100.43;
   option subnet-mask 255.255.255.0;
   option domain-name "isolation.oundleschool.local";
   option domain-name-servers 192.168.100.43;
   range 192.168.130.10 192.168.130.249;
   default-lease-time 300;
   max-lease-time 300;
}
log-facility local6;

%%omapi%%

%%active%%

%%networks%%


##
networks.conf
##
[192.168.130.0]
dns=192.168.130.1
dhcp_start=192.168.130.10
gateway=192.168.130.1
domain-name=vlan-isolation.oundleschool.local
nat_enabled=disabled
named=enabled
dhcp_max_lease_time=30
fake_mac_enabled=disabled
dhcpd=enabled
dhcp_end=192.168.130.246
type=vlan-isolation
netmask=255.255.255.0
dhcp_default_lease_time=30

[192.168.120.0]
dns=192.168.120.1
dhcp_start=192.168.120.10
gateway=192.168.120.1
domain-name=vlan-registration.oundleschool.local
nat_enabled=disabled
named=enabled
dhcp_max_lease_time=30
fake_mac_enabled=disabled
dhcpd=enabled
dhcp_end=192.168.120.246
type=vlan-registration
netmask=255.255.255.0
dhcp_default_lease_time=30

Any ideas?

Darren Morgan
Systems Manager
Oundle School
Tel: 01832 277349
? Please consider the environment before printing this e-mail


This email is sent from either Oundle School or Laxton Junior School for The 
Corporation of Oundle School and is intended only for the addressee named 
above.  The Corporation of Oundle School is a Charity incorporated under Royal 
Charter RC000396 and charity number 309921.  www.oundleschool.org.uk
 Scanned by iCritical.

--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] dhcpd service not starting

2015-10-12 Thread Durand fabrice

Hello Darren,

it looks that you define manually the isolation and registration network 
in dhcpd.conf (in /usr/local/pf/conf/).
The dhcp configuration is managed by pf and it generate a file in 
var/conf/dhcpd.conf, so remove the 2 scopes you defined manually and do a:

bin/pfcmd configreload hard
bin/pfcmd service dhcpd restart

Regards
Fabrice



Le 2015-10-12 12:03, Morgan, Darren a écrit :


Hi,

We are trialing PF but cannot get the dhcpd service to run.  It shows 
the following errors on startup (dhcpd.conf and networks.conf copied 
in after errors);


nternet Systems Consortium DHCP Server 4.1.1-P1

Copyright 2004-2010 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

/usr/local/pf/var/conf/dhcpd.conf line 48: range declaration not 
allowed here.


  range

   ^

/usr/local/pf/var/conf/dhcpd.conf line 50: expecting a declaration

  max-lease-time 30;

^

/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.10 is 
declared twice!


  range 192.168.120.10 192.168.120.246;

   ^

/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.11 is 
declared twice!


  range 192.168.120.10 192.168.120.246;

   ^

##  lots of lines cut out ##

/usr/local/pf/var/conf/dhcpd.conf line 57: lease 192.168.120.246 is 
declared twice!


  range 192.168.120.10 192.168.120.246;

Configuration file errors encountered -- exiting

This version of ISC DHCP is based on the release available

on ftp.isc.org.  Features have been added and other changes

have been made to the base software release in order to make

it work better with this distribution.

Please report for this software via the CentOS Bugs Database:

http://bugs.centos.org/

exiting.

dhcpd|not started 0m

###

dhcpd.conf

###

# dhcpd configuration

# This file is manipulated on PacketFence's startup before being given 
to dhcpd


authoritative;

ddns-update-style none;

ignore client-updates;

#// Registration network definition

subnet 192.168.120.0 netmask 255.255.255.0 {

   option routers 192.168.100.42;

   option subnet-mask 255.255.255.0;

   option domain-name "oundleschool.local";

   option domain-name-servers 192.168.100.42;

   range 192.168.120.10 192.168.120.249;

   default-lease-time 300;

   max-lease-time 300;

}

#// Isolation network definition

subnet 192.168.130.0 netmask 255.255.255.0 {

   option routers 192.168.100.43;

   option subnet-mask 255.255.255.0;

   option domain-name "isolation.oundleschool.local";

   option domain-name-servers 192.168.100.43;

   range 192.168.130.10 192.168.130.249;

   default-lease-time 300;

   max-lease-time 300;

}

log-facility local6;

%%omapi%%

%%active%%

%%networks%%

##

networks.conf

##

[192.168.130.0]

dns=192.168.130.1

dhcp_start=192.168.130.10

gateway=192.168.130.1

domain-name=vlan-isolation.oundleschool.local

nat_enabled=disabled

named=enabled

dhcp_max_lease_time=30

fake_mac_enabled=disabled

dhcpd=enabled

dhcp_end=192.168.130.246

type=vlan-isolation

netmask=255.255.255.0

dhcp_default_lease_time=30

[192.168.120.0]

dns=192.168.120.1

dhcp_start=192.168.120.10

gateway=192.168.120.1

domain-name=vlan-registration.oundleschool.local

nat_enabled=disabled

named=enabled

dhcp_max_lease_time=30

fake_mac_enabled=disabled

dhcpd=enabled

dhcp_end=192.168.120.246

type=vlan-registration

netmask=255.255.255.0

dhcp_default_lease_time=30

Any ideas?

Darren Morgan

Systems Manager

Oundle School

Tel: 01832 277349

*ü***Please consider the environment before printing this e-mail


This email is sent from either Oundle School or Laxton Junior School 
for The Corporation of Oundle School and is intended only for the 
addressee named above.  The Corporation of Oundle School is a Charity 
incorporated under Royal Charter RC000396 and charity number 309921. 
www.oundleschool.org.uk 





Scanned by iCritical.



--


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Meraki on Packetfence

2015-10-12 Thread Sanya Silas
Hi,

We are new to packetfence and trying to setup packetfence with Meraki
access points. Stuck at the point where to add switch on Packetfence config
to add the new AP. How do I go about this setup, what is the IP of Meraki
cloud controller and do I need more setting to get this working. Anybody
tried Meraki with packetfence?

Kind Regards,
--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users