Plugins that are wanted - Part 5

    • Offizieller Beitrag

    Essentially, Pi-hole becomes the local network DNS server where it parses all client lookup requests for "port 80". If the lookup is in an ad-domain and others, that particular lookup is blocked.


    As I've already found, Pi-Hole works from the command line, in any case. The only question is getting to the GUI console for ease of configuration and statistics. To get to the admin console, Pi-hole will also work with web admin login page on another port (other than 80) but the errata states that changing from port 80 prevents full web page blocks and that some picture frame blocks will not work properly.


    By editing a Pi-Hole config file - lighttpd.conf - to use another port, I can now login to the console with the following. -> omvserverip:8888/admin


    In the bottom line, it works but functionality is reduced and the .conf file is over written in a version upgrade. (Much as OMV does in some cases.)
    ________________________


    In the bottom line, whether using an Ethernet sub-int and a secondary IP, or some other work around, I believe PI-Hole would make an excellent OMV plugin for reasons previously stated. Advertising is getting way out of hand. While I was testing Pi-Hole I was getting snappy performance from sites with a ton of advertisement. In my experience, this is a first, despite having a cable modem and a fast connection. Again, unless one "likes" being bombarded with unwanted ad's, accidental "one click" redirects, and poor performance from even the fastest connections, Pi-Hole seems to be indispensable.

  • Ports
    We need ports 53, 80, and 4711. Port 80 is optional if you decide not to install the Web dashboard during installation.


    Port 80 should be used by lighttpd
    If you have another Web server already running, such as Apache, Pi-hole's Web server will not work. You can either disable the other Web server or change the port on which lighttpd listens, which allows you keep both Web servers running.


    CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE:
    /etc/lighttpd/external.conf

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

    • Offizieller Beitrag

    It's looking like a Pi-Hole plugin might not be a simple proposition.

    I looked into it a while back and it was too much work to make a plugin. Running it in a docker or on its own RPi seems to be a lot easier :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Port 80 should be used by lighttpdIf you have another Web server already running, such as Apache, Pi-hole's Web server will not work. You can either disable the other Web server or change the port on which lighttpd listens, which allows you keep both Web servers running.

    This is the crux of the issue. Since OMV is running , a Web server is running, and disabling the Web console of a headless server (OMV) is not an option.
    _________________________________________


    (Realizing that the following is suggested by a non-coder:)
    As noted before - Pi-Hole seems to work fine from the CLI but the Web console makes a lot of operations (custom blacklists, white listing, etc.,) a lot easier, much as it is when configuring OMV.
    The real bonus in using Pi-Hole are the statistics. It's one thing to understand the nature of the flood of advertising and it's impact on your browser / PC. It's another thing to see it, and to be able to see it (the statistics), the console is needed.
    ________________________________________


    The console problem could solved altogether, without modifying any config files, "if" OMV can be made to operate solely from the primary ip address assigned to eth0: .


    Pi-Hole will operate from a secondary address, assigned to a configured subinterface eth0:0. However, when the sub-int is configured, (in my tests) OMV takes control of the secondary address as well.


    So, one question seems to be, can OMV be configured to use a single IP address (assigned to etho:), if a second IP address exists (assigned to sub-int eth0:0). Of course this but a single approach toward addressing the issue.
    ________________________________________


    In my case, I have Pi-Hole running well along side of OMV, for all the clients on my network. That's not the issue. On the other hand, I believe that if Pi-Hole can be integrated into OMV, in the form of a plugin, it may increase the user base. Being inundated with advertising to the point where a browser and PC slows down is, well, irritating to say the least. If a little add-on can knock all of that out, well, that would be a really nice feature to have.

  • Since OMV is running , a Web server is running, and disabling the Web console of a headless server (OMV) is not an option.

    Login via SSH, stop nginx, install pi-hole, adjust server.port in lighthttpd's config, reboot. This is done in less time than writing the essay above and posting a mini tutorial takes also just a few minutes...

    • Offizieller Beitrag

    I looked into it a while back and it was too much work to make a plugin. Running it in a docker or on its own RPi seems to be a lot easier :)

    I looked to see if a Docker was available for Pi-Hole and didn't find an image. And I think asking a new user to custom configure a container to run Pi-Hole would be beyond the skill set of most.
    (Since I have yet to attempt something like that, I'd have to include myself in the "limited skill-set" group. :rolleyes: )


    From the post above, RE. a sub-interface on etho:
    Can I take it's not possible to prevent OMV from automatically taking over a secondary IP address? While that wouldn't make it a plugin, that would solve the Web console problem. (I wonder if pseudo int's are used in Linux....)


    Thanks for taking a look... :)

    • Offizieller Beitrag

    Login via SSH, stop nginx, install pi-hole, adjust server.port in lighthttpd's config, reboot. This is done in less time than writing the essay above and posting a mini tutorial takes also just a few minutes...

    And that comes from one who specializes in exhaustive essays. With your eminent skill set, I'm sure your input may be needed elsewhere....


    Thanks for the pointer to the guide, but I have it working. On the other hand, if you actually read "the essay" it's not about me. It's about new users and expanding the OMV tent.


    With that said, take a minute to review this help link. Tutorial

    • Offizieller Beitrag

    I looked to see if a Docker was available for Pi-Hole and didn't find an image. And I think asking a new user to custom configure a container to run Pi-Hole would be beyond the skill set of most.

    Here is the docker image but I wouldn't be much help configuring the docker either. Running it on its own rpi is probably the easiest.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Here is the docker image but I wouldn't be much help configuring the docker either. Running it on its own rpi is probably the easiest.

    Pi-Hole wasn't in the default list but a search for the image name you supplied found and pulled it, from within the docker plugin. Configuring a Docker container, for bridged networking , from within my test VM (which is also bridged) is proving to be something to work out. I'll do a test build on a real box and try again.


    I learned something in this exercise: Linux supports both sub-int's and pseudo int's.


    Thanks for the info and the history recap (that you looked at Pi-Hole before). It's kind of a shame that it's a PITA to code. I've been using it less than a day and can't imagine going back.
    __________________________


    BTW: It's nice to get a few lines from folks without, shall we say,, outsized ego's. What you do, and especially the way you present it, is sincerely appreciated.


    Thanks again.

    • Offizieller Beitrag

    Pi-Hole wasn't in the default list but a search for the image name you supplied found and pulled it, from within the docker plugin. Configuring a Docker container, for bridged networking , from within my test VM (which is also bridged) is proving to be something to work out. I'll do a test build on a real box and try again.


    I learned something in this exercise: Linux supports both sub-int's and pseudo int's.


    Thanks for the info and the history recap (that you looked at Pi-Hole before). It's kind of a shame that it's a PITA to code. I've been using it less than a day and can't imagine going back.

    I'm sure if you wrote a guide to setting up the docker plugin to use this docker, it would be popular :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I'm sure if you wrote a guide to setting up the docker plugin to use this docker, it would be popular :)

    I now have a Docker Plugin/Pi-hole set up that works on OMV.


    Unlike the lighttpd.conf server port workaround - with Docker it's possible to assign an IP address to a container that's separate from the OMV server. With that address and direct access to port 80 and others, Pi-hole is fully functional.


    I did some preliminary testing on 3 separate x64 hardware platforms. The Pi-Hole container, with internal logs and configuration data is writable and persistent (survives a reboot), but I believe it needs a bit more testing. A "How To" guide is in the works.

    • Offizieller Beitrag

    Unlike the lighttpd.conf server port workaround - with Docker it's possible to assign an IP address to a container that's separate from the OMV server. With that address and direct access to port 80 and others, Pi-hole is fully functional

    If you used macvlan, make sure omv queries directly to the fw or another upstream dns not the pihole.

    • Offizieller Beitrag

    If you used macvlan, make sure omv queries directly to the fw or another upstream dns not the pihole.

    I used macvlan due to the need for a separate, fully independent, IP address. (If you know of a better method, please advise.)


    To bypass my router, my ISP (and now Pi-Hole) an upstream DNS server is used in my OMV setup. I'll include a note and the following, in a guide, at the beginning.



    Thanks for the note.

  • Hello Aron,


    I started the plugin. You can follow along on github if you want. borg is easy to use. borgmatic doesn't really help the plugin (at least not yet).

    I saw, that under https://bintray.com/openmediav…lopers/arrakis/borgbackup a borgbackup plugin seems to exist.
    Is this based on your work?
    I am at arrakis, but cannot find the plugin, although omv-extras (including testing) is activated.
    Do you have an Idea, why that is?


    Greetings,
    Hendrik

    • Offizieller Beitrag

    What you see in the bintray is not a plugin. it is the borgbackup package itself. I have been developing the plugin against the 1.1.x branch instead of the 1.0.x branch that is in Debian stretch.


    I am using the plugin now and it works quite well for me. There is no documentation and no one else has tested. I may still add features too. Just haven’t had much time to do more on it. I can see about putting it in a place to download if you are interested in testing.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hello Aron,


    Thanks for your plugin!
    I did not have time to test the plugin -until now.
    I did try to add an existing Archive, as I have many backups already, but this fails, because the Plugin tries "borg init" when configuring the archive.


    I think it would be worth adding the option to configure an existing archive.
    But for testing: Could you give me the syntax for the config.xml so that I can add an existing archive?


    Apart from that: I think it would be good to rename the Menu Points from "Paketquellen" to "Repository" and "Archives" to "Backups"


    Greetings,
    Hendrik

  • No need to go to developer link.

    • Install omv-extras
    • Install openmediavault-apttool plugin from Plugins tab.
    • Add new repo in omv-extras repo tab using the settings in the attached pic.


    • Then go to Search tab in apt tool plugin and type emby.


    • Select emby-server and click Add to Packages tab.
    • Go to packages tab and click refresh button on the bottom of the grid.
    • Select emby-server and click Tools -> Install.
    • Wait for it to install.
    • Go to http://server-ip:8096/ and enjoy.

    Hi ryecoaaron,


    I've a issue with emby that the playback of files in a browser isn't possible after updating to version 3.0.0.0 by using your method with the apt tool plugin. The update works but it seems that emby has a new installation procedure which currently not properly work with the apt tool plugin. This causes to me that ffmpeg isn't available anymore and needs to be installed manually. The admin luke of the emby media forum asked me who is maintaining the apt tool plugin to get in contact and get their support to migrate the new package to apt tool.
    I hope you're the one to contact regarding apt tool plugin or maybe can point me to the right person.


    Thanks,
    Mojo

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!