Something went wrong...
[root@PacketFence-ZEN pf]# patch -p1 < pat.diff
(Stripping trailing CRs from patch; use --binary to disable.)
patching file lib/pf/services/manager/radiusd_child.pm
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 567 with fuzz 1 (offset -23 lines).
A) Pfcmd checkup reports lot of error
B) Web Admin stop works.
Da: Fabrice Durand [mailto:[email protected]]
Inviato: martedì 31 ottobre 2017 17.32
A: Alessandro Canella <[email protected]>;
[email protected]
Oggetto: Re: R: [PacketFence-users] Radius Project Reloaded
Once you have the file do
cd /usr/local/pf
patch -p1 < the_patch.diff
Regards
Fabrice
Le 2017-10-31 à 11:56, Alessandro Canella a écrit :
Hello Fabrice,
Done some tests. Cannot grant internet access to PF, so I've pasted diff
content in a local diff file, but doesn't work (remains freezed and needs a
ctrl-c to return to prompt)
Not too simply.. any ideas? Can I execute single lines of diff file?
Da: Fabrice Durand via PacketFence-users
[mailto:[email protected]]
Inviato: martedì 31 ottobre 2017 14.15
A:
[email protected]<mailto:[email protected]>
Cc: Fabrice Durand <[email protected]><mailto:[email protected]>
Oggetto: Re: [PacketFence-users] Radius Project Reloaded
Hello Alessandro,
can you try this patch:
cd /usr/local/pf
curl
https://github.com/inverse-inc/packetfence/commit/fa866d14be0b16ef1af0ed849c85a481a4011048.diff
| patch -p1
Then restart packetfence.
Regards
Fabrice
Le 2017-10-31 à 07:59, Alessandro Canella via PacketFence-users a écrit :
Hello all,
after closing successfully inline config, I will try to config AAA in Zyxel
Switches.
I've configured dictionary.zyxel and clients.conf too , according this faq :
https://kb.zyxel.com/KB/searchArticle!gwsViewDetail.action?articleOid=009451&lang=EN<https://kb.zyxel.com/KB/searchArticle%21gwsViewDetail.action?articleOid=009451&lang=EN>
But login doesn't work. So I've created user in raddb/users. Nothing happens.
I've stopped to search log and I've found in usr/local/pf/logs/radius.log
Oct 31 11:10:43 PacketFence-ZEN auth[2945]: Failed binding to auth address
192.168.0.72 port 1812 bound to server packetfence: Address already in use
Oct 31 11:10:43 PacketFence-ZEN auth[2945]: /usr/local/pf/raddb/auth.conf[23]:
Error binding to port for 192.168.0.72 port 1812
/usr/local/pf/raddb/auth.conf contain:
listen {
ipaddr = 127.0.0.1
port = 18120
type = auth
virtual_server = packetfence
}
listen {
ipaddr = 192.168.0.72
port = 0
type = auth
virtual_server = packetfence
}
listen {
ipaddr = 192.168.0.72
port = 0
type = auth
virtual_server = packetfence
}
Last "listen" is row 23, I think can be safely removed.
But if raw 23 goes on error, it's because as you see listener is already
on...so where I can find my AAA error?
------------------------------------------------------------------------------
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]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
[email protected]<mailto:[email protected]> :: +1.514.447.4918 (x135) ::
www.inverse.ca<http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
(http://packetfence.org)
--
Fabrice Durand
[email protected]<mailto:[email protected]> :: +1.514.447.4918 (x135) ::
www.inverse.ca<http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
(http://packetfence.org)
------------------------------------------------------------------------------
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