How-to encrypt disk on nslu2 box

Encrypt disk

commands in order:

dd if=/dev/urandom of=/share/flash/data/cryptfile bs=1M count=800
define how big the hard drive will be by changing count

losetup -e 1 /dev/loop0 /share/flash/data/cryptfile => give password

mkfs.ext3 /dev/loop0

mount -t ext3 /dev/loop0 /mnt/loopback/

ls /mnt/loopback/

Another option is to use Truecrtypt on your NSLU2 box. Read more here.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s