OMV - Wireless Card Issues with Initial Setup

  • Problem. Fresh install of OMV. Downloaded files as part of install with no problem. Once the install in completed, the network connection wouldn't work. I would log into root and get network is unreachable. Did omv-firstaid and rebuilt the network configuration.

    This is where the first clue of the issue. When selecting the wireless card, it doesn't ask for a SSID or password. Took a while to figure that out as I assumed it was just using the one from the install. This computer is in the basement and therefore not near a Ethernet connection. Every time it would say that the network connection was successfully configured. A bunch of search... post suggesting ifconfig (doesn't work since OMV doesn't ship with that command). IP Addr works, but didn't show an IP address.

    Started digging into the networking and noticed there wasn't a wpa_supplicant.conf.

    Added it with the SSID and Password, reboot and boom it works.

    The wireless card I used is AC2100.

    I couldn't find any google searches with this exact information so I figure I might help out the next guy/gal.

    • Offizieller Beitrag

    Which OMV version are we talking about?


    omv-firstaid always asks for the SSID if the selected interface is identified as WIFI. See https://github.com/openmediava…configure_network.py#L396 and https://github.com/openmediava…diavault/net/utils.py#L69. If your wireless card has no name like wlanX or wlXXX then it is not identified as such. So the first question is how is your interface named? Please run ip addr.


    If the interface is not identified as wifi, then it is stored as ethernet in the database. Because of that OMV and finally netplan.io does not configure the wpa_supplicant.conf file.

    See https://github.com/openmediava…etworkd/files/wifi.j2#L54.

  • I'm running OMV 5 and validated that regex in https://github.com/openmediava…diavault/net/utils.py#L69 however when I run omv-firstaid it sees the interface wlp7s0 but still doesn't prompt for an SSID or password once selected. I used the web interface to configure the interface and I have a configuration in /etc/wpa_supplicant/wpa_suplicant-wlp7s0.conf however it still doesn't connect to wifi.


    All hardware checks out and it is seen in the webinterface it just shows interface down no matter. Forcing it up doesn't work either.


    the supplicant file wasn't updated until I went through the web interface. But it still won't connect and omv-firstaid doesn't seem to detect the wireless interface because it won't prompt for SSID or wpask.

    • Offizieller Beitrag

    Could you please run this python script and post the output list? Start python3 and paste the following:

    The output should look like this: [['ens6', 'Virtio network device'], ['ens7', 'Virtio network device'], ['ens8', 'Virtio network device']]

    • Offizieller Beitrag

    I'm running OMV 5 and validated that regex in https://github.com/openmediava…diavault/net/utils.py#L69 however when I run omv-firstaid it sees the interface wlp7s0 but still doesn't prompt for an SSID or password once selected.

    Hmmm, sound strange because the interface name is tested properly.


    Code
    test_openmediavault_net.py::NetTestCase::test_is_bond PASSED                                                    [ 82%]
    test_openmediavault_net.py::NetTestCase::test_is_bridge PASSED                                                  [ 82%]
    test_openmediavault_net.py::NetTestCase::test_is_ethernet PASSED                                                [ 83%]
    test_openmediavault_net.py::NetTestCase::test_is_vlan PASSED                                                    [ 83%]
    test_openmediavault_net.py::NetTestCase::test_is_wifi PASSED     

Jetzt mitmachen!

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