armbian / config

Armbian Linux configuration utility
GNU General Public License v2.0
467 stars 168 forks source link

OMV -n flag #140

Closed lanefu closed 3 years ago

lanefu commented 3 years ago

OMV install was breaking odroid HC4 networking

https://github.com/OpenMediaVault-Plugin-Developers/installScript/blob/master/install#L78-L79

Feel free to fact check me... I had to use this on a remote host, haven't tried to recreate issue locally.

lanefu commented 3 years ago

may have been DNS failing and was fine w/o -n

ryecoaaron commented 3 years ago

The -n flag should not be needed for this. It must be something with your network since I test on around 10 armbian boards including an HC4.

lanefu commented 3 years ago

The -n flag should not be needed for this. It must be something with your network since I test on around 10 armbian boards including an HC4.

yeah weird scenario.. the device is 3000 miles away.. so I baked a ssh reverse tunnel and a wireguard vpn into the base image I gave them.

those connections were failing to come up without -n. .. with -n wireguard connected, but the ssh tunnel failed because of DNS, and then the systemd resolver linked resolve.conf had no servers in it....

so... I guess DNS hell.

lanefu commented 3 years ago

might be worth letting it be an option in Armbian-config for the user to choose if needed.

EvilOlaf commented 3 years ago

might be worth letting it be an option in Armbian-config for the user to choose if needed.

Yeah. OMV seem to heavily mess with network setup as I saw on NicoD's video. Not ideal...

ryecoaaron commented 3 years ago

Hard for OMV not to mess with network when it uses netplan/networkd and Armbian uses network-manager. The script can’t change what OMV uses (nor would I want to).

lanefu commented 3 years ago

Hard for OMV not to mess with network when it uses netplan/networkd and Armbian uses network-manager. The script can’t change what OMV uses (nor would I want to).

Hmmm well sounds like Armbian-config potentially do some additional housekeeping prior to launching OMV installer when not using the -n flag

I personally like Netplan and networkd for doing server setups.. plays well with cloudinit. Just not the best default for armbian.

Many people Do hat network manager.. so it would be nice to have it as a feature in Armbian-config to detach from it.

ryecoaaron commented 3 years ago

The install script does quite a bit of housekeeping for networking but could never do all of it. If you install OMV before doing your custom network setup, there is no problem.

And yes, I dislike network-manager except on laptops.