RaspAP and OMV5 (Media Center + WifiHotspot with ethernet)

  • Hello everyone,

    I would like to share my experience of how you can get OMV5 running along with RaspAP, so that you can share your drives in your local network while your raspberry acts as wifi-hotspot connected to the router with ethernet. My set up:


    [Router] <---- eth ----> [Pi] (RaspAP + OMV5)

    ____|___________________|

    __WiFi 1_____________WiFi 2 (subnet)

    Instructions:
    - Get a clean Raspberry Pi OS image (I use the 32bit Lite) and install it on your SD (you can use Etcher which is simple and portable)
    - Follow the RaspAP quick guide and set up your network as you like, but change the Web Server Port to 8080 (so that it doesn't conflict with OMV5), from the RaspAP wifi configuration portal menu System -> Advanced
    - Install OMV5 skipping network configuration:

    Code
    wget https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install -O install.sh
    chmod +x ./install.sh
    sudo ./install.sh -n
    rm ./install.sh

    - Configure your OMV5 without touching the network settings
    - Using the default RaspAP, my OMV SMB share drives where only visible through the parent net (connected through WiFi 1). If you want the drives to be accessible from the subnet (WiFi 2), you need to add the following code at the end of OMV Control panel -> Menu -> SMB/CIFS -> Settings Tab -> Extra Options:

    Code
    bind interfaces only = yes
    interfaces = lo eth0

    - Done!


    I hope this helps other noobs like me.

    PS:
    If you have problems connecting to the Hotpot caused by the dnsmasq service not started, have a look here.

  • Modify the OMV5 installation script to remove the network configuration (credits here) by deleting the following code at the end of the script

    This is funny. The script has a flag to skip networking. ./install -n No need to modify the script at all.

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hi,

    try'd the guide you 'v written. RaspAP can't start dnsmasq which won't let WIFI have DCHP active.


    Ive try'd "Hotpot caused by the dnsmasq service not started" link but that messes up even more :(.


    Any idea what more to try. Ive try'd to google but not finding any real fix ?

    Edited 2 times, last by Supervilan_i ().

  • the error I get


    Sep 04 12:12:50 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...

    Sep 04 12:12:50 raspberrypi dnsmasq[1957]: dnsmasq: syntax check OK.

    Sep 04 12:12:51 raspberrypi dnsmasq[1958]: dnsmasq: failed to create listening socket for port 53: Address already in use

    Sep 04 12:12:51 raspberrypi dnsmasq[1958]: failed to create listening socket for port 53: Address already in use

    Sep 04 12:12:51 raspberrypi dnsmasq[1958]: FAILED to start up

    Sep 04 12:12:51 raspberrypi systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT

    Sep 04 12:12:51 raspberrypi systemd[1]: dnsmasq.service: Failed with result 'exit-code'.

    Sep 04 12:12:51 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!