inverse-inc / packetfence

PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) solution. Boasting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, powerful BYOD management options, 802.1X support, layer-2 isolation of problematic devices; PacketFence can be used to effectively secure networks small to very large heterogeneous networks.
https://packetfence.org
GNU General Public License v2.0
1.32k stars 279 forks source link

support for arm architecture #6078

Open ashirel opened 3 years ago

ashirel commented 3 years ago

i'm attempting to install on an armhf machine and 'apt install' results in: E: Unable to locate package packetfence

it would be nice if it were documented which files i need to doctor or create in order to provide this support.

apt update Hit:1 http://inverse.ca/downloads/PacketFence/debian buster InRelease Hit:2 https://dl.yarnpkg.com/debian stable InRelease
Hit:3 https://download.docker.com/linux/raspbian buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 https://deb.nodesource.com/node_12.x buster InRelease
Ign:6 https://download.webmin.com/download/repository sarge InRelease
Hit:7 https://archive.raspberrypi.org/debian buster InRelease Hit:8 https://download.webmin.com/download/repository sarge Release Reading package lists... Done
Building dependency tree
Reading state information... Done All packages are up to date. N: Skipping acquire of configured file 'buster/binary-armhf/Packages' as repository 'http://inverse.ca/downloads/PacketFence/debian buster InRelease' doesn't support architecture 'armhf' root@qnacgold:/usr/local/src/packetfence-10.2.0# apt install packetfence Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package packetfence

garci66 commented 3 years ago

Are you trying to run packetfence on a raspberry? or is this a mac m1 or one of the amazon arm servers? arm is not a supported architecture and there are so many dependencies that adding support for it is no minor role.

keep in mind that packetfence requires a xeon class cpu with 4 relatively fast cores and 12G of RAM. (it can work on 8, but 12 is really the minimum for a scaled environment)

Even on slower intel CPUs (with more cores) PF really struggles. I was running it on an 8 core atom-class box with 32G of ram and process startup was taking ages. Startup scripts would time out, etc...