How to get DNS-323 to mount LUKS-encrypted drives?

321 views
Skip to first unread message

boxbox

unread,
Jun 11, 2013, 8:17:26 PM6/11/13
to al...@googlegroups.com
I'd like to use LUKS-encrypted drives in my DNS-323, and I'm using RC3 of Alt-F firmware. In this post (https://groups.google.com/d/msg/alt-f/MP6KDS28yMY/2lHwqw2qTjcJ) it seems like this is possible, but I don't know how to set it up, could anyone please explain how I could get it to work? Thanks.

João Cardoso

unread,
Jun 11, 2013, 10:06:54 PM6/11/13
to al...@googlegroups.com


On Wednesday, June 12, 2013 1:17:26 AM UTC+1, boxbox wrote:
I'd like to use LUKS-encrypted drives in my DNS-323, and I'm using RC3 of Alt-F firmware. In this post (https://groups.google.com/d/msg/alt-f/MP6KDS28yMY/2lHwqw2qTjcJ) it seems like this is possible, but I don't know how to set it up, could anyone please explain how I could get it to work? Thanks.

Have you installed the cryptsetup Alt-F package? After you do that, a new menu entry, Disk->Encryption, will appear. Use it.
Select a small partition to encrypt (all its data will be deleted), keep default values for other settings, read the tooltip under "Password file"...

y.ja...@gmail.com

unread,
Oct 18, 2014, 9:00:42 AM10/18/14
to al...@googlegroups.com
I have installed cryptsetup (0.1RC4) on my dns325.  In trying to set up one of the drive, it ask for Password File on a removable medium.  I assume it means using a USB drive in the back of the unit.  I am not familiar with Unix, so I have no idea how to refer to the drive.  Can you help?  Thanks.

João Cardoso

unread,
Oct 18, 2014, 12:56:26 PM10/18/14
to al...@googlegroups.com


On Saturday, October 18, 2014 2:00:42 PM UTC+1, Jackco wrote:
I have installed cryptsetup (0.1RC4) on my dns325.  In trying to set up one of the drive, it ask for Password File on a removable medium.  I assume it means using a USB drive in the back of the unit.  I am not familiar with Unix, so I have no idea how to refer to the drive.  Can you help?  Thanks.

Just plug a USB pen in the box.
In the Status page it will appear in the Disks section, notice its device (Dev.) name, usually sdb, sdd,.... 
In Disks->Filesystem you will see one or more items (filesystems) under the same device name (Dev.), depending on whether or not the pen is partitioned (ussualy it is not).  It can be sdb (not partitioned), sdb1 (first partition on sdb device), sdb2, or sdc, sdc1... 
The USB pen files will show up under /mnt/sdb, or /mnt/sdb1, or /mnt/sdc...

If when you plug the pen under windows the secret file is at g:\mysecret and under Alt-F the pen is named sdc, your file will be /mnt/sdc/mysecret

Notice that there are some issues with encripted filesystems, see http://sourceforge.net/p/alt-f/tickets/?source=navbar, and its slow. If you are using disks partitioned under D-Link firmware I advise you to start using LUKS at the sda4 or sdb4 disks filesystems, as they are small enough to be usable.


Reply all
Reply to author
Forward
0 new messages