New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem aplying new interface profile - OMV 5 on Raspbian RPI 4B #683
Comments
Duplicate of #682 |
today i'll try again. anyway.. why the install script won't delete the file fi was updated for do it? |
I can confirm too that deleting '99-default.link' it works! |
Tested new install script version 1.0.6 Changing HOSTNAME, no errors, adding eth0, no errors. thanks for all. UPDATE: Removing the 99-default.lnk file before running the script generate no errrors. |
@ryecoaaron There is an error message in the startup after this reboot that says: Any others ideas on a solution? Is it safe to skip configuring the network under OMV until this issue is resolved if the server has a static DHCP reservation? Or is there a way to pull the previous version of OMV before this issue showed up? Thanks. |
I guess you could just skip configuring networking in the web interface. Is this a fresh install? Does your network have ipv6? |
try delete file before install or try omv-firstaid |
@ryecoaaron This is a fresh install on a test device. I had it installed a few weeks ago but the device lost power a couple days ago and broke so I am reinstalling. It worked fine a few weeks ago. My network does have IPv6 I believe (unifi gateway) but I do not use it and I set OMV to disable it when configuring the network. @sagitt I already tried removing the directory prior to installing OMV. Same issue. |
Oh man, i've been scratching my head and reinstalled OMV several times because if this issue. I thought my card is corrupted or something. |
Closes openmediavault/openmediavault#682 and openmediavault/openmediavault#683 In Raspbian Buster 2020-02-13, the file is a symbolic link to /dev/null and is not detected correctly with the -f condition
This can be closed as a new version of the install script has been deployed |
Sorry to bear bad news, but the new install script still does not resolve this issue. While this new script DOES successfully remove the 99-default folder, this still does not help because once the system is rebooted, eth0 is no longer available as a network device (only "lo" is listed) and so the device goes offline. I have just verified this again on a Raspberry Pi 3. Previously, I was able to use omv-firstaid to resolve this (although it ended up creating an oddly named device instead of just eth0). A comment on Reddit has provided an alternate solution though. After rebooting from an OMV install, you can make the following changes to fix it: After reboot, eth0 will be back. Unfortunately, so will the /etc/systemd/network/99-default.link folder, so we are kind of back where we started and now OMV will (once again) not let you make network changes. If for example, I try to setup eth0 as IPv4 (DHCP) and IPv6 (disabled) in OMV, I get this error after trying to apply the change:
If I run this command manually, then I can make network changes again. However, after I reboot, then eth0 is gone yet again. |
I've just pushed a new pull request a few hours ago that fixes this exact problems, but there seems to be no intention to include the fix, and another solution has to be studied. It also fixes the never working wifi in the Raspberry with OMV. OpenMediaVault-Plugin-Developers/installScript#13 Anyways, the discarded proposal is already uploaded to Github and you can use it, this will install OMV without problems: |
Just been looking around for a bit and |
@chiva Yes I said I probably wont include that fix for the reasons I posted but I do plan on coming up with system. It just takes time which I dont have a lot of. |
Install script and upgrade process have been updated to disable predictive network device naming (udev rule file linked to /dev/null) on arm boards. Disabled predictive network device naming is the default on armbian and raspbian. Tested on rpi3/4,rock64, odroid-n2 and working fine. |
@ryecoaaron Thank you for your time and effort on this. I just did a fresh install on a Pi 3. After reboot I did not lose eth0 and I was able to make network changes without error in the GUI. Another reboot afterward found no new issues. Thanks! |
@chiva thanks to you update I was able to use my Pi 4 4gb with wifi with your modification. However, if i rebooted, then the wifi would be disabled on boot. After tinkering around, I was able to figure out that the following commands would get it working via wifi and rebooting or shutdown wouldnt cause an issue!
@ryecoaaron Somehow using the default install script on Pi4 would disable the active wireless connection and corrupt its ability to see 5G WiFi ssids names. This means that firstaid will not fix the issue b/c the ssid names shown by the pi will be different than reality and thus, you can never connect.
|
@NGS99 The script switches to netplan which is what OMV does as well. It does nothing that would corrupt your system's ability to find wifi ssids. And as I have said many times, the requires wifi to be setup after it is run. |
@ryecoaaron Here are my steps to recreate my issue. Used a fresh install of raspbian lite, expanded card, connected to wifi and then installed OMV wirelessly with default install script listed above. At the end of the script its supposed to list your local IP to tell you what to connect to, but that was blank. That tipped me off that something went wrong during the installation. After re-enabling wireless and scanning for SSIDs, I noticed that 2.4g ssids showed up correctly, but all 5ghz were corrupted. They were either blank, like ssid="" or ssid="%20%20%20%20%20%20%20%20%20%20%20%20" or variations of that. OMV First aid could not fix it, sudo raspi-config could not fix it, as it complained about WPA_SUPPLICANT error. I have another SD card and can attempt to recreate the corrupted wifi if you wish. If you do, let me know what you need and i'll provide. |
While you are still configuring wifi before running the script like I said not to do, I changed the test script (install.test) to setup wifi (with a few parts taken from @chiva PR) even though I really do not want to support wifi. |
I've just to configure OMV settings after flash it in Raspbian (RPI 4B 1.1). When I apply the initial network profile (eth0 / DHP), I'm getting this error again and again. Here are the details:
The text was updated successfully, but these errors were encountered: