*New 11.4 series Release:
2020-07-03: XigmaNAS - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS - released

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Advanced encryption: PEFS; kldload error

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Posts: 1
Joined: 24 Aug 2017 13:44
Status: Offline

Advanced encryption: PEFS; kldload error


Post by lyndhurst »

I read many posts regarding encryption, and some users talking about keeping a veracrypt
(ex truecrypt) container on a share for safekeeping, mounting it on your pc when needed.

What I am trying to achieve is some kind of plausible deniability, or more accurately, the possibility
of giving up a password to a potential attacker that would in fact reveal only some harmless data.
But I want to be able to mount the unencrypted volume on a share being available to all local users
with read and write capabilities.

So, I read about a better solution, native to freebsd, light, that resides on top of the filesystem, with reliable protection against data loss in case of unexpected shutdown / dismount : PEFS

This looks promising, so, I try it out..
In a jail, as my nas was an embedded install at the time. (version 11.1.04-Atomics revision 4517)

Of course upon my first try, I get a message telling that pefs cannot access the kernel. I am not very good yet with all this stuff, but as I read here many times, I understand that jails are virtualized environment, not VMs, and reading more about PEFS, it kind of makes sense for it not to work in a jail.. Maybe I am wrong...

So, I go ahead and change my setup for a full install to try and install PEFS

Here, new problem,

Code: Select all

cd /usr/ports/sysutils/pefs-kmod && make install clean
make : command not found
I come back to the forum, find out this is normal, and read that installing a compiler is not recommended at all.

Code: Select all

pkg install pefs-kmod
...It works !!!!!
I go ahead following the tutorial http://www.bsdnow.tv/tutorials/pefs

Code: Select all

kldload pefs
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
I did not learn much more from dmesg..

I would really appreciate any help , maybe someone who understands this kldload error message, I am completely stuck..
I also read that it was better to build PEFS from ports on FreeBSD 11 than install from package, maybe this is the problem..

So, do you think it is possible to make PEFS work on Nas4Free (jail or not), or am I wasting my time??
Thanks in advance.

Post Reply

Return to “Packages”