Hi, I want attach my encrypt (with lvm) USB HD to my VO2. I have tried the howro from here https://wiki.openwrt.org/doc/howto/disk.encryption, but I stuck in first step:
# opkg install kmod-crypto-xts kmod-crypto-iv kmod-crypto-misc kmod-crypto-user cryptsetup
Unknown package 'kmod-crypto-xts'.
Unknown package 'kmod-crypto-iv'.
Unknown package 'kmod-crypto-misc'.
Unknown package 'kmod-crypto-user'.
Unknown package 'cryptsetup'.
Collected errors:
* opkg_install_cmd: Cannot install package kmod-crypto-xts.
* opkg_install_cmd: Cannot install package kmod-crypto-iv.
* opkg_install_cmd: Cannot install package kmod-crypto-misc.
* opkg_install_cmd: Cannot install package kmod-crypto-user.
* opkg_install_cmd: Cannot install package cryptsetup.
Where can I find the needed packages ???
HoTo mount encrypt USB disc ?
- harvey186
- Posts: 18
- Joined: Wed Dec 28, 2016 4:12 pm
- avigeilpro
- Posts: 25
- Joined: Wed Mar 22, 2017 5:29 pm
- harvey186
- Posts: 18
- Joined: Wed Dec 28, 2016 4:12 pm
Re: HoTo mount encrypt USB disc ?
avigeilpro wrote:you have to do 'opkg update' first
Sure, I know. I'm doing this always before installing any software
![Wink ;)](./images/smilies/icon_e_wink.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
- Code: Select all
* satisfy_dependencies_for: Cannot satisfy the following dependencies for cryptsetup:
* kernel (= 3.18.23-1-245faaffbc60cabe96a158cae13c1cc3) *
- harvey186
- Posts: 18
- Joined: Wed Dec 28, 2016 4:12 pm
Re: HoTo mount encrypt USB disc ?
OK, I'm a little further. I have installed the kmos with --force depents.
When I try to mount the encryot hd with
root@TOR:~# modprobe dm-mod
failed to find a module named dm-mod
I get the error message:
How can I install dm-mod ?? Any Idea ??
When I try to mount the encryot hd with
root@TOR:~# modprobe dm-mod
failed to find a module named dm-mod
- Code: Select all
cryptsetup luksOpen /dev/sda2 usbstorage_luks && mount /dev/mapper/usbstorage_luks /mnt/sda
I get the error message:
- Code: Select all
Cannot initialize device-mapper. Is dm_mod kernel module loaded?
- Code: Select all
modprobe dm-mod
failed to find a module named dm-mod
How can I install dm-mod ?? Any Idea ??
- camphor76-22-2
- Posts: 1
- Joined: Wed Feb 14, 2018 11:49 pm
Re: HoTo mount encrypt USB disc ?
Compile your own firmware, source is available on the devs blog, along with a tutorial. You need to enable the kmod at compile time
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 201 guests