Re: [PacketFence-users] PacketFence - nodes with fixed ip

2023-08-03 Thread Simon Sutcliffe via PacketFence-users
Hi Daniel,

We moved a long time ago to managing all IP's with IPAM.  In this change all 
fixed IP's were delivered by the DHCP server.

I'm not sure we're you created the DHCP but PF have a DHCP listener we use and 
that works like a treat.

I would follow the advice of Fabrice first as been one of the PF team he known 
thr internals better than me.

Kind Regards

Simon

Sent from Outlook for Android<https://aka.ms/AAb9ysg>

From: Fabrice Durand via PacketFence-users 

Sent: Wednesday, August 2, 2023 10:20:15 AM
To: packetfence-users@lists.sourceforge.net 

Cc: Fabrice Durand 
Subject: Re: [PacketFence-users] PacketFence - nodes with fixed ip


This message was sent from an e-mail domain unknown to Royal HaskoningDHV. 
Please be cautious.


Hello Daniel,

you can probably rely on the radius accounting.
Activate it and see if the ip address of the device appear in the request.
If it's the case then enable update iplog on radius accounting in PacketFence.

Regards
Fabrice


Le mer. 2 août 2023 à 10:04, Krüger, Daniel via PacketFence-users 
mailto:packetfence-users@lists.sourceforge.net>>
 a écrit :

Hello,



currently I am using a commercial radius solution, the license will expire in 
some months.



At the moment the radius is used in order to provide the correct vlans, based 
on client MACs, the clients have fixed and dynamic ip’s.



Nodes with fixed ip’s doesn’t show their names and ip’s in the node view.



What is the recommented procedure for nodes with fixed ip’s, in oder to show 
those details on the nodes page?







Best regards



Daniel Krüger





___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
This email and any attachments are intended solely for the use of the 
addressee(s); disclosure or copying by others than the intended person(s) is 
strictly prohibited. If you have received this email in error, please treat 
this email as confidential, notify the sender and delete all copies of the 
email immediately
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] PacketFence - nodes with fixed ip

2023-08-03 Thread Krüger , Daniel via PacketFence-users
Unfortunately I can’t get the radius-accounting service to start.



The radius-acct.log shows constantly the following error:





Aug  2 15:14:03 packetfence radiusd-acct-docker-wrapper[3404719]: Wed Aug  2 
15:14:03 2023 : Error: Failed binding to acct address * port 1813 bound to 
server packetfence: Address already in use

Aug  2 15:14:03 packetfence radiusd-acct-docker-wrapper[3404719]: Wed Aug  2 
15:14:03 2023 : Error: /usr/local/pf/raddb/acct.conf[8]: Error binding to port 
for 0.0.0.0 port 1813

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404796]: Running with 
args --sig-proxy=true --rm --name=radiusd-acct 
--add-host=containers-gateway.internal:host-gateway -h packetfence  -v 
/var/lib/mysql:/var/lib/mysql -v /etc/sudoers:/etc/sudoers -v 
/etc/sudoers.d/:/etc/sudoers.d/ -v 
/usr/local/fingerbank/conf:/usr/local/fingerbank/conf -v 
/usr/local/fingerbank/db:/usr/local/fingerbank/db -v 
/usr/local/pf/var/run:/usr/local/pf/var/run -ePF_UID=997 -e PF_GID=997 
-eFINGERBANK_UID=998 -e FINGERBANK_GID=998 -eIS_A_CLASSIC_PF_CONTAINER=yes 
--env-file /usr/local/pf/var/conf/radiusd-acct.env -v 
/etc/localtime:/etc/localtime:ro -v 
/usr/local/pf/conf/log.conf.d/:/usr/local/pf/conf/log.conf.d/ -v 
/usr/local/pf/conf/ssl/:/usr/local/pf/conf/ssl/ -v 
/usr/local/pf/raddb/:/usr/local/pf/raddb/ -v 
/usr/local/pf/logs/:/usr/local/pf/logs/ -p 1813:1813/udp --network=host

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404803]: Error: No 
such container: radiusd-acct

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404803]: Error: No 
such container: 1

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: WARNING: 
Published ports are discarded when using host network mode

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: Wed Aug  2 
15:14:06 2023 : Info: Starting - reading configuration files ...

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: Wed Aug  2 
15:14:06 2023 : Warning: Ignoring "response_window = 20.00", forcing to 
"response_window = 10.00"







Von: Fabrice Durand 
Gesendet: Mittwoch, 2. August 2023 11:20
An: packetfence-users@lists.sourceforge.net
Cc: Krüger, Daniel 
Betreff: Re: [PacketFence-users] PacketFence - nodes with fixed ip



Hello Daniel,



you can probably rely on the radius accounting.

Activate it and see if the ip address of the device appear in the request.

If it's the case then enable update iplog on radius accounting in PacketFence.



Regards

Fabrice





Le mer. 2 août 2023 à 10:04, Krüger, Daniel via PacketFence-users 
mailto:packetfence-users@lists.sourceforge.net>>
 a écrit :

   Hello,



   currently I am using a commercial radius solution, the license will expire 
in some months.



   At the moment the radius is used in order to provide the correct vlans, 
based on client MACs, the clients have fixed and dynamic ip’s.



   Nodes with fixed ip’s doesn’t show their names and ip’s in the node view.



   What is the recommented procedure for nodes with fixed ip’s, in oder to show 
those details on the nodes page?







   Best regards



   Daniel Krüger





   ___
   PacketFence-users mailing list
   
PacketFence-users@lists.sourceforge.net<mailto: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


Re: [PacketFence-users] PacketFence - nodes with fixed ip

2023-08-03 Thread Krüger , Daniel via PacketFence-users
Unfortunately I can’t get the radius-accounting service to start.



The radius-acct.log shows constantly the following error:





Aug  2 15:14:03 packetfence radiusd-acct-docker-wrapper[3404719]: Wed Aug  2 
15:14:03 2023 : Error: Failed binding to acct address * port 1813 bound to 
server packetfence: Address already in use

Aug  2 15:14:03 packetfence radiusd-acct-docker-wrapper[3404719]: Wed Aug  2 
15:14:03 2023 : Error: /usr/local/pf/raddb/acct.conf[8]: Error binding to port 
for 0.0.0.0 port 1813

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404796]: Running with 
args --sig-proxy=true --rm --name=radiusd-acct 
--add-host=containers-gateway.internal:host-gateway -h packetfence  -v 
/var/lib/mysql:/var/lib/mysql -v /etc/sudoers:/etc/sudoers -v 
/etc/sudoers.d/:/etc/sudoers.d/ -v 
/usr/local/fingerbank/conf:/usr/local/fingerbank/conf -v 
/usr/local/fingerbank/db:/usr/local/fingerbank/db -v 
/usr/local/pf/var/run:/usr/local/pf/var/run -ePF_UID=997 -e PF_GID=997 
-eFINGERBANK_UID=998 -e FINGERBANK_GID=998 -eIS_A_CLASSIC_PF_CONTAINER=yes 
--env-file /usr/local/pf/var/conf/radiusd-acct.env -v 
/etc/localtime:/etc/localtime:ro -v 
/usr/local/pf/conf/log.conf.d/:/usr/local/pf/conf/log.conf.d/ -v 
/usr/local/pf/conf/ssl/:/usr/local/pf/conf/ssl/ -v 
/usr/local/pf/raddb/:/usr/local/pf/raddb/ -v 
/usr/local/pf/logs/:/usr/local/pf/logs/ -p 1813:1813/udp --network=host

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404803]: Error: No 
such container: radiusd-acct

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404803]: Error: No 
such container: 1

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: WARNING: 
Published ports are discarded when using host network mode

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: Wed Aug  2 
15:14:06 2023 : Info: Starting - reading configuration files ...

Aug  2 15:14:06 packetfence radiusd-acct-docker-wrapper[3404811]: Wed Aug  2 
15:14:06 2023 : Warning: Ignoring "response_window = 20.00", forcing to 
"response_window = 10.00"







Von: Fabrice Durand 
Gesendet: Mittwoch, 2. August 2023 11:20
An: packetfence-users@lists.sourceforge.net
Cc: Krüger, Daniel 
Betreff: Re: [PacketFence-users] PacketFence - nodes with fixed ip



Hello Daniel,



you can probably rely on the radius accounting.

Activate it and see if the ip address of the device appear in the request.

If it's the case then enable update iplog on radius accounting in PacketFence.



Regards

Fabrice





Le mer. 2 août 2023 à 10:04, Krüger, Daniel via PacketFence-users 
mailto:packetfence-users@lists.sourceforge.net>>
 a écrit :

   Hello,



   currently I am using a commercial radius solution, the license will expire 
in some months.



   At the moment the radius is used in order to provide the correct vlans, 
based on client MACs, the clients have fixed and dynamic ip’s.



   Nodes with fixed ip’s doesn’t show their names and ip’s in the node view.



   What is the recommented procedure for nodes with fixed ip’s, in oder to show 
those details on the nodes page?







   Best regards



   Daniel Krüger





   ___
   PacketFence-users mailing list
   
PacketFence-users@lists.sourceforge.net<mailto: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


Re: [PacketFence-users] PacketFence - nodes with fixed ip

2023-08-02 Thread Fabrice Durand via PacketFence-users
Hello Daniel,

you can probably rely on the radius accounting.
Activate it and see if the ip address of the device appear in the request.
If it's the case then enable update iplog on radius accounting in
PacketFence.

Regards
Fabrice


Le mer. 2 août 2023 à 10:04, Krüger, Daniel via PacketFence-users <
packetfence-users@lists.sourceforge.net> a écrit :

> Hello,
>
>
>
> currently I am using a commercial radius solution, the license will expire
> in some months.
>
>
>
> At the moment the radius is used in order to provide the correct vlans,
> based on client MACs, the clients have fixed and dynamic ip’s.
>
>
>
> Nodes with fixed ip’s doesn’t show their names and ip’s in the node view.
>
>
>
> What is the recommented procedure for nodes with fixed ip’s, in oder to
> show those details on the nodes page?
>
>
>
>
>
>
>
> Best regards
>
>
>
> Daniel Krüger
>
>
>
>
> ___
> 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] PacketFence - nodes with fixed ip

2023-08-02 Thread Krüger , Daniel via PacketFence-users
Hello,



currently I am using a commercial radius solution, the license will expire in 
some months.



At the moment the radius is used in order to provide the correct vlans, based 
on client MACs, the clients have fixed and dynamic ip's.



Nodes with fixed ip's doesn't show their names and ip's in the node view.



What is the recommented procedure for nodes with fixed ip's, in oder to show 
those details on the nodes page?







Best regards



Daniel Krüger





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