Posts by Humbert

    Hello


    I just installled the Wireguard add-on and it works, I can browse my LAN devices etc.


    What I'd like to do is to be able to browse the internet as well when connected to Wireguard.


    So I am on my phone or PC in one location, connected to my NAS running Wireguard in another location, and I want to access the internet as well through Wireguard.

    Can somebody please explain how to achieve that?

    Thank you in advance.

    my wireguard config looks like this




    PS I am running OMV Version 6.3.8-1 (Shaitan)

    no, you DO NOT want to use macvtap


    you need to setup a NEW virtual machine and in its network setting, choose "bridge" and then the bridge created in OMV - it will probably be called br0 or br1 or etc


    I could not find the option to attach the OMV bridge to an existing virtual machine, that is why you need to setup a new one


    please see screenshot below


    yes, just tick eno0 under "bridge", leave device field empty, OMV will auto fill with the name "br0" or "br1" etc


    under IPv4, in Method, choose Static and input the IP Address you want the OMV machine to have, netmask = 255.255.255.0 and gateway = your router ip, probably 192.168.0.1 or 192.168.1.1


    Then put 8.8.8.8 in the DNS field


    Then click Save etc



    PS do not be afraid to try whatever comes to mind, I solved many issues (including this one) by trying, since I do not have training in Linux or in IT

    yes, you need to put a STATIC IP in the OMV interface (and mask and gateway etc)


    if you already have an IP reservation in the router, then it needs to be the same IP, otherwise the OMV machine will request an IP but the router reserved another IP so they might not understand each other


    alternatively, you can delete the IP reservation from the router, but in my experience it is better to leave it also there so that the router does not assign it to some other device when OMV is shutdown or disconnected.

    this is how I have it in OMV - 192.168.1.14 is the IP of the OMV machine and it is also reserved in the router


    PS don't forget to also put DNS 8.8.8.8 in the OMV bridge; this is not required for the VM, but it avoids some issues on the OMV side in general (i.e. radarr/sonarr sometimes do not work without this)

    Hi!Tell me, did you manage to solve the problem so that the host could see the virtual machines and vice versa?Since I haven't managed to do it yet

    yes, i did manage to solve it


    1. create a bridge network in OMV interface, but give it a STATIC IP - it did not work for me without a static IP (mask = 255.255.255.0, gateway = your router, dns = 8.8.8.8)

    you of course need to firts delete the existing eno1 interface, DO NOT HIT SAVE, then create the bridge, and only then hit SAVE


    then wait for the OMV machine to reconnet, check the router, if there is already an addres reservation in the router make sure it is the same IP that you configured in the OMV bridge


    2. create a new VM and in the network section choose "bridge" then the bridge created in OMV (it will probably be named "br0")
    you cannot attach a bridge to an existing VM because there is no option for that, it can be done only when you first create the VM

    and it should work, at least for me it did work

    regarding chente solution, it did not work for me even if the IP was configured as static within the VM (Home Assistant), but maybe it works for you

    chente

    thanks for the reply, I tried that but it did not work - the VM gets an ip in the range 192.168.122.X and I cannot access it - I need it to be 192.168.0.XX


    but indeed, from the console I can now ping the OMV server and it replies; also the router replies, but I do not know how to access the VM


    these are the KVM networks - as you can see the default network is configured with DHCP, probably that's the problem

    Hello, I need help getting the virtual machine to communicate with the host :-))

    My use case is this: I run HomeAssistant as a VM using KVM and I simply need it to access both the OMV server and OMV samba shares.

    I've read this topis and this is what I've done:


    1. created a bridge in OMV interface using eno2 (my server has 2 NICs so I was able to do that)



    2. created a new VM and in network I chose "bridge" and br0


    unfortunately, when the VM starts, it has no IP (I see this in the console) - although the OMV server is connected also through eno2 (I see this in the router)



    please help, I've already spent a full day trying to understand what is going on before finally reading here that VM does not see the host if using the macvtap bridge


    and it's really important for me to have the VM see the OMV server

    it's pretty weak (about 1 hour with the server + router + Smartthings Hub plugged in) and I would have liked to keep the router and ST powered for as long as possible (security reasons).


    but yes, apparently there is no other solution than to configure the NUT pluging to shutdown OMV when the battery is running low and not immediately after a power failure.


    this ensures that if the outage is long enough, the UPS will shut itself down and so the OMV will restart on power resume.

    the downside is that the router and ST Hub will not stay powered for as long as I'd like them to.


    there is maybe a solution but it does not involve just the UPS and the server.
    I could put a smart plug between the UPS and the server


    on power failure, the Home Assistant running on OMV server will inform ST that it needs to turn off the plug after a delay


    then the OMV will shutdown as instructed by NUT and then the smart plug will shutdown, cutting power to the server


    I haven't figured out yet how to automatically turn on the smart plug when power returns; I guess I could turn it on manually, or maybe use a smart bulb that is always off as a trigger (smart bulbs power ON after a power failure)

    so, pretty complicated but it could work :-))

    Hi guys

    Yes I know about the bios setting but please note that in my application the UPS does not shutdown and restart upon power return as it needs to power other devices during the outage.


    So if the power outage is short, which most are in my case, the OMV server does not see the power being cut and then returned so as to power itself up (because the UPS does not do a power cycle).

    Hello guys


    I have the same kind of problem, but with a twist.
    The twist is that my APC UPS needs to shutdown the OMV server (which it does) but it needs to stay ON to continue providing power to other devices (a router and a smartthings hub).

    In order to do this, I edited /etc/nut/upsmon.conf and deleted the line POWERDOWNFLAG /etc/killpower, which does the job

    But I also need for the OMV server to restart itself upon power return.

    So is there a way to do this? I think one idea is to force the UPS to restart itself when the power returns, which will inform the OMV server that it also needs to restart. But I have no idea whether that is possible and if yes, how to do it.

    thank you

    sorry, there are a lot of things I do not understand in your reply; unfortunately I have very little knowledge of server setup


    1. "Using the ssd on the usb will kill your CPU from time to time"
    what exactly do you mean by "will kill your CPU" - kill as in "destroy"? or kill as in "overload"? what happens if the CPU overloads? does this just affect performance or the server may shutdown?


    I have run OMV from a HDD connected via the USB port of an old laptop for several years now and never had any issues - why is this a problem for a server?


    2. "fix the boot from cd port witch is now occupied by the odd"


    what do you mean "fix the boot from cd port" - how do I do that? are you talking about the ODD port from the motherboard? will this port boot without RAID enabled?


    the ODD port on the motherboard is not occupied, since the server does not have a CD-ROM, just a bay for installing one
    anyway, by ODD port I mean "optical disk drive" port, so I really do not understand what you mean by "CD port"


    PS looks like you are romanian (so am I) - if you want, we can move this conversation to PM.
    thank you

    hello, I recently purchased a Gen8 G1610T for use with OMV and 3 storage HDDs; I am a home user, main priority is media server and backup


    I have the following questions:


    1. OMV is installed on a SSD which I placed inside the server case (where the optical drive would be) and connected to the USB on the motherboard using a chip from a 2.5" external rack - it boots fine


    is this ok in terms of reliability and in terms of the SSD temperature negatively affecting the surroundings or any other things?


    2. I will not be using RAID (too complicated for me and I also think I do not need it)
    instead, I will use daily rsync jobs to copy my data from one HDD to another for redundancy purposes


    the questions is: should I enable the RAID feature in BIOS or only use SATA AHCI?


    why I considered enabling RAID even if I do not use it:
    - I might need to put the SSD with OMV on the ODD interface and I understand that the server does not boot from ODD unless RAID is enabled
    - in the future I might need to use RAID and I do not know whether I can enable it then, everywhere I read it says that these choices need to be made before installing the OS


    thank you

    hello
    I am trying to install using the step by step instructions


    when I run dpkg-buildpackage -uc -us


    I get this:

    Code
    CMake Error: The source directory "/zoneminder/ZoneMinder" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_COLOR_MAKEFILE=ON -DZM_RUNDIR=/var/run/zm -DZM_SOCKDIR=/var/run/zm -DZM_TMPDIR=/var/tmp/zm -DZM_LOGDIR=/var/log/zm -DZM_WEBDIR=/usr/share/zoneminder -DZM_CONTENTDIR=/var/cache/zoneminder -DZM_CGIDIR=/usr/lib/cgi-bin -DZM_WEB_USER=www-data -DZM_WEB_GROUP=www-data -DZM_PERL_SUBPREFIX=/usr/lib/perl5 -DCMAKE_INSTALL_SYSCONFDIR=etc/zm returned exit code 1
    make[1]: *** [override_dh_auto_configure] Error 2
    make[1]: Leaving directory `/zoneminder/ZoneMinder'
    make: *** [build] Error 2
    dpkg-buildpackage: error: debian/rules build gave error exit status 2

    help is much appreciated, thank you

    I managed to start linux and OMV but now neither gui is asscesible nor the shares nor via putty
    obviously upgrading to 3.0 was the worst idea I had this year


    I will re-install everything from the beginning and hope I will have learnt my lesson, i.e. if it works, don't fix it

    ok, thank you, I removed some other plugins and now I can log on the Web GUI and I see the shares etc


    the problem now is that I cannot check for new plugins or updates in the GUI, with the below error (it is a lot longer actually)


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1': Ign http://security.debian.org jessie/updates InRelease Ign http://httpredir.debian.org jessie-backports InRelease Ign file: InRelease Ign http://packages.openmediavault.org erasmus InRelease Ign file: Release.gpg Ign file: Release Ign https://openmediavault.github.io erasmus InRelease Err http://httpredir.debian.org jessie-backports Release.gpg Something wicked happened resolving 'httpredir.debian.org:http' (-5 - No address associated with hostname) Err http://packages.openmediavault.org erasmus Release.gpg Something wicked happened resolving 'packages.openmediavault.org:http' (-5 - No address associated with hostname) Ign