Posts by Matthai

    I have a fresh installation of OMV 2.0 and tried to setup a firewall, but from console.

    So I apt-get install ufw and set some basic rules:
    ufw allow ssh
    ufw default deny incoming
    ufw default allow outgoing
    ufw enable

    Everything was working normal, but after reboot, there was no internet connection. I had to login to console and disable firewall - then it started working.

    I also tried with iptables from console:
    iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
    iptables -A INPUT -p tcp --dport 22 -j ACCEPT
    iptables -A INPUT -p tcp --dport 80 -j ACCEPT
    iptables -I INPUT 1 -i lo -j ACCEPT
    iptables -P INPUT DROP
    iptables -A INPUT -j DROP

    Again - everything is working fine, but after reboot, no internet from the machine.

    In fact, I am using OpenVPN client on the device, and since there is no internet, it cannot login. After I say iptables -L, openvpn connection is established normally.

    It seems something is disabling internet when I set up firewall manually... maybe OMV is interfereing with comman-line firewalls in some way?

    I have created shared folder under Access Rights Management - Shared Folders. Unfortunately, I am unable to delete this folder now.

    Folder is located on an encrypted sda1 disk, if that matters.


    I have found there is a group called indiecity on OMV 2.0:

    sudo apt-get install members
    members indiecity

    Member of this group is root.

    Anyway, it also seems user pi has password set. What is its default password?

    P. S. As I understand, only root can login via ssh? If I want additional users to be able to login via ssh, I should add them to ssh group?

    Uh... OK.

    Just a short question - is there any info when it will be ported?

    Anyway, can I use LUKS encryption plugin from testing repo? Can I expect any serious issues?

    I have a fresh installation of OMV 3 at RPi2. I am trying to install OpenMediaVault LUKS encryption plugin.

    I must be really stupid, but I am unable to do so. I tried with web GUI and with console, but don't know what exactly to do.

    First of all, I installed somemissing keys:
    gpg --keyserver --recv-key 8B48AD6246925553
    gpg -a --export 8B48AD6246925553 | sudo apt-key add -
    gpg --keyserver --recv-key 7638D0442B90D010
    gpg -a --export 7638D0442B90D010 | sudo apt-key add -

    Then OMV-Extra:
    dpkg -i openmediavault-omvextrasorg_latest_all3.deb
    apt-get update

    However, I cannot find a package *luks* (except cryptsetup).

    I know. Actually, I just wanted to delete partition table in case Ubuntu has some stupid problems with SD card. I will try another SD card, but the problem is - when I dd the image again and remount the SD card, I can see three partitions and data on them...

    It has been used for Raspbian on the same RPi and I just reformatted it (actually re-dd-ed it). So I assume SD card is OK.

    I will try to reformat the SD card with FAT32 and with 1M parameter again.


    I have downloaded omv_3.0.51_rpi2_rpi3 image (and also tried with omv_3.0.41_rpi2_rpi3) from Sourceforge.

    I run these commands on my Ubuntu box:
    gunzip omv_3.0.41_rpi2_rpi3.img.gz
    sudo dd bs=4M if=omv_3.0.41_rpi2_rpi3.img of=/dev/sdb

    Then I insert SD card to my RPi and run it. The problem is, it seems it does start to boot, but there is no signal on the screen. I can see an IP assigned to RPi on my Mikrotik router, but cannot ping it and nmap shows all ports are closed.

    What am I doing wrong? Probably there is some stupid error, but I cannot find a solution. BTW, I tried to install original Raspbian Jessie, and it is working nice.