Can you now
nano /etc/resolv.conf
I can and it shows the two nameservers ![]()
Can you now
nano /etc/resolv.conf
I can and it shows the two nameservers ![]()
Strange that you could not edit the file using nano /etc/resolv.conf. The link seems correct.
Yeah I don't know why ![]()
Don't delete the network settings
I will try not to ![]()
But was thinking more of the DNS issue. That was my main problem to Begin with.
apt-get update is also working!
Thank you so much
You are the man![]()
![]()
You have the llink from /etc/resolve.conf to /run/systemd/resolve/resolv.conf, so that file might be missing.
nano /run/systemd/resolve/resolv.conf and add the nameserver there.
Then check
cat /etc/resolv.conf if the changes are there
That seems to do the trick.
The output of cat /etc/resolv.conf is now
And I'm now getting updates in the GUI ![]()
ls -al /etc/resolv.conf
Quotelrwxrwxrwx 1 root root 32 Dec 29 2019 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
Is the there any thing that I should be aware of in the future with this problem?
This is the output from systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: active (running) since Thu 2020-09-24 10:03:36 CEST; 14s ago
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Process: 3812 ExecStartPost=/bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || echo "nameserver 127.0.0.53" | /sbin/resolvconf -a systemd-resolved (code=exit
Main PID: 3811 (systemd-resolve)
Status: "Processing requests..."
Memory: 1.9M
CGroup: /system.slice/systemd-resolved.service
└─3811 /lib/systemd/systemd-resolved
Sep 24 10:03:36 OMV systemd[1]: Starting Network Name Resolution...
Sep 24 10:03:36 OMV systemd-resolved[3811]: Positive Trust Anchors:
Sep 24 10:03:36 OMV systemd-resolved[3811]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
Sep 24 10:03:36 OMV systemd-resolved[3811]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Sep 24 10:03:36 OMV systemd-resolved[3811]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arp
Sep 24 10:03:36 OMV systemd-resolved[3811]: Using system hostname 'OMV'.
Sep 24 10:03:36 OMV sh[3812]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
Sep 24 10:03:36 OMV systemd[1]: Started Network Name Resolution.
Display More
Display MoreDid you edit the correct file?
nano /etc/resolv.conf
After done
systemctl restart systemd-resolved.service
and post the output of
systemctl status systemd-resolved.service
Yes but I'm getting this error:
That is also my thread ![]()
And that helped me getting back into the system, but I'm still not able to update OMV because of a DNS issue that I just can't figure out.
You can try to manually add the nameserver to /etc/resolv.conf
If I try that through nano resolv.conf I get an error saying 'no such file or directory'.
I just put the SD in a Linux machine and now the resolv.conf contained the following.
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 1.1.1.1
nameserver 1.0.0.1
Display More
I added nameserver 192.168.1.1 but still no joy ![]()
When you use omv-firstaid, do you get an error message?
Nope.
Hope you guys is up for a little more of your magic.
I still can't update OMV.
I have tried what you suggested and been looking through all the threads that I could find in the forum regrading my problem, and I can see that I'm not the only one. But non of the suggestions given in those works for me.
When I run omv-firstaid and go to configure network interface, this is what I see:
docker0
enx001e0636f592 <-- this is my ethernet connection
veth2e526c6
veth7cd231c
vethfc832ac
Router showing two connections for OMV. One I can use and one I can't
My /etc/resolv.conf contains nothing at all. However there is a resolv.conf in /etc/resolvconf/run that contains nameserver 1.0.0.1
The output of ls -al /etc/resolv.conf is this: lrwxrwxrwx 1 root root 32 Dec 29 2019 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
And apt-get update results in the following error.
Err:1 http://packages.openmediavault.org/public usul InRelease
Could not resolve 'packages.openmediavault.org'
Err:2 http://security.debian.org buster/updates InRelease
Could not resolve 'security.debian.org'
Err:3 https://download.docker.com/linux/debian buster InRelease
Could not resolve 'download.docker.com'
Err:4 http://apt.armbian.com buster InRelease
Could not resolve 'apt.armbian.com'
Err:5 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease
Could not resolve 'dl.bintray.com'
Err:6 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster InRelease
Could not resolve 'dl.bintray.com'
Err:7 http://httpredir.debian.org/debian buster InRelease
Could not resolve 'httpredir.debian.org'
Err:8 http://httpredir.debian.org/debian buster-updates InRelease
Could not resolve 'httpredir.debian.org'
Reading package lists... Done
W: Failed to fetch http://httpredir.debian.org/debian/dists/buster/InRelease Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://httpredir.debian.org/debian/dists/buster-updates/InRelease Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Could not resolve 'security.debian.org'
W: Failed to fetch http://apt.armbian.com/dists/buster/InRelease Could not resolve 'apt.armbian.com'
W: Failed to fetch https://dl.bintray.com/openmediavault-plugin-developers/usul/dists/buster/InRelease Could not resolve 'dl.bintray.com'
W: Failed to fetch https://download.docker.com/linux/debian/dists/buster/InRelease Could not resolve 'download.docker.com'
W: Failed to fetch https://dl.bintray.com/openmediavault-plugin-developers/usul-extras/dists/buster/InRelease Could not resolve 'dl.bintray.com'
W: Failed to fetch http://packages.openmediavault.org/public/dists/usul/InRelease Could not resolve 'packages.openmediavault.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Display More
Create the following files:
....
That worked, I'm back in ![]()
THANK YOU ![]()
![]()
Now I can consentrate on the issue I had before breaking the system.
Not being able to update OMV.
Thanks alot.
I will give the Linux way a try when I get home ![]()
![]()
I don't know what kind of serial adapter I would have to use.
Hi,
I am running OMV5 on a Odroid HC-2
I managed to disable my ethernet connection in the GUI under network->interfaces.
Now I can't get into the system.
Is there anyway for me to redo the damage?
I have found Interfaces in the config.xml file, where my ethernet connection is set to 'manual' instead of 'static' or 'dhcp'.
But nothing I do works.
Before I screwed the system up, the ip was 192.168.1.25.
Now if I check in the router, I can see that the HC-1 has been given the ip 192.168.1.6 but also another MAC-adress??
But the ip 192.168.1.6 is not reachable in any way.
Not by GUI, CLI og SSH! ![]()
Any suggestions?
Try omv-firstaid from CLI
How am I supose to do that?
I can't get into the system. Don't know if you didn't read the last part of my previous post
Thanks, but that did not work either.
I had already tried it with just my router ip as DNS.
Why is this DNS issue occurring now?
My system has been running for a year with no problems.
And for anorther problem!
It is possible that I have just disabled my ethernet connection ![]()
I was fiddeling around looking for a solution, and I think I choose to disable instead of choosing DHCP.
Is there any way in now?
My router can see the OMV and it has the normal IP. But I can not connect i any way.
Can I access the SD card in some way and edit the ethernet connection through there?
Edit:
This is what my config.xml shows under Interfaces.
<interface>
<uuid>5d0519a3-202e-44d9-b230-a6646a43b681</uuid>
<type>ethernet</type>
<devicename>enx001e0636f592</devicename>
<method>manual</method>
<address></address>
<netmask></netmask>
<gateway></gateway>
<method6>manual</method6>
<address6></address6>
<netmask6>64</netmask6>
<gateway6></gateway6>
<dnsnameservers>192.168.1.1 8.8.8.8</dnsnameservers>
<dnssearch></dnssearch>
<mtu>0</mtu>
<wol>0</wol>
<comment></comment>
<slaves></slaves>
<bondprimary></bondprimary>
<bondmode>1</bondmode>
<bondmiimon>0</bondmiimon>
<bonddowndelay>0</bonddowndelay>
<bondupdelay>0</bondupdelay>
<vlanid>1</vlanid>
<vlanrawdevice></vlanrawdevice>
<wpassid></wpassid>
<wpapsk></wpapsk>
</interface>
</interfaces>
<iptables>
Display More
I can see that method says manual, can I just change it to Static or DHCP in the config file or is there more to it than that?
I have some trouble when trying to update OMV.
Looking at similar issues on the forum led me to the conclusion, that it might have something to do with the way OMV connects to the internet, or more specific a DNS issue.
I have tried some of the suggestions in the other threads, but no luck so far.
The timestamp of OMV was off even though I have activated NTP server. I managed to get the time right again, but that did not help either.
I have tried pinging 8.8.8.8 and it goes through, but google.com does not.
I’m running OMV 5.5.6-1 (Usul) on a Odroid HC2.
Some of the errors I'm getting are these:
When I try to open ‘armbian-config’ I get the following message:
Warning: Configuration cannot work properly without a working internet connection. Press CTRL C to stop or any key to ignore and continue.
The apt-get update command gives these error messages:
Err:1 http://mirrors.dotsrc.org/armbian-apt buster InRelease
Could not resolve 'mirrors.dotsrc.org'
Get:2 file:/var/cache/openmediavault/archives InRelease
Ign:2 file:/var/cache/openmediavault/archives InRelease
Err:3 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease
Could not resolve 'dl.bintray.com'
Err:4 http://security.debian.org buster/updates InRelease
Could not resolve 'security.debian.org'
Err:5 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster InRelease
Could not resolve 'dl.bintray.com'
Err:6 http://packages.openmediavault.org/public usul InRelease
Could not resolve 'packages.openmediavault.org'
Err:7 https://download.docker.com/linux/debian buster InRelease
Could not resolve 'download.docker.com'
Get:8 file:/var/cache/openmediavault/archives Release
Ign:8 file:/var/cache/openmediavault/archives Release
Get:9 file:/var/cache/openmediavault/archives Packages
Ign:9 file:/var/cache/openmediavault/archives Packages
Get:9 file:/var/cache/openmediavault/archives Packages
Err:10 http://httpredir.debian.org/debian buster InRelease
Could not resolve 'httpredir.debian.org'
Ign:9 file:/var/cache/openmediavault/archives Packages
Err:11 http://httpredir.debian.org/debian buster-updates InRelease
Could not resolve 'httpredir.debian.org'
Get:9 file:/var/cache/openmediavault/archives Packages
Ign:9 file:/var/cache/openmediavault/archives Packages
Get:9 file:/var/cache/openmediavault/archives Packages
Ign:9 file:/var/cache/openmediavault/archives Packages
Get:9 file:/var/cache/openmediavault/archives Packages
Ign:9 file:/var/cache/openmediavault/archives Packages
Get:9 file:/var/cache/openmediavault/archives Packages
Ign:9 file:/var/cache/openmediavault/archives Packages
Get:9 file:/var/cache/openmediavault/archives Packages
Reading package lists... Done
W: Failed to fetch http://httpredir.debian.org/debian/dists/buster/InRelease Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://httpredir.debian.org/debian/dists/buster-updates/InRelease Could not resolve 'httpredir.debian.org'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Could not resolve 'security.debian.org'
W: Failed to fetch http://mirrors.dotsrc.org/armbian-apt/dists/buster/InRelease Could not resolve 'mirrors.dotsrc.org'
W: Failed to fetch https://dl.bintray.com/openmediavault-plugin-developers/usul/dists/buster/InRelease Could not resolve 'dl.bintray.com'
W: Failed to fetch https://download.docker.com/linux/debian/dists/buster/InRelease Could not resolve 'download.docker.com'
W: Failed to fetch https://dl.bintray.com/openmediavault-plugin-developers/usul-extras/dists/buster/InRelease Could not resolve 'dl.bintray.com'
W: Failed to fetch http://packages.openmediavault.org/public/dists/usul/InRelease Could not resolve 'packages.openmediavault.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Display More
If I try to update Portainer in OMV-Extras I get this error:
Docker storage :: /srv/dev-disk-by-label-NAS/appdata/
Agent port:: 8000
Web port:: 9000
Opt-out :: 1
arch :: armhf
option :: portainer
state :: install
extras :: 5.3.4
DNS error. Exiting ...
Done.
And the 'Update Management' does not show any updates at all.
Hope you guys can help.
Hi,
I'm fairly new to OMV so be nice ![]()
My setup is as following:
I got a couple of folders shared where I store the files downloaded by Transmission, those folders got 'debian-transmission' permission in ACL.
I'm accessing my server in LibreElec through FTP enabled in OMV
My problem occures when Transmission has downloaded a file, that file gets 'debian-transmission' as 'Owner' in ACL which means that I can't see that specific file when accessing through FTP.
There is no problem when using SMB, DLNA or SFTP. But SFTP is not an option right now because I can't get access that way through LibreElec.
I should probably say that my brother is also accessing my server through LibreElec, that is why I'm using FTP.
If I changes the ownership of that file from 'debian-transmission' to 'root' in ACL it shows up in LibreElec. But that is not something I want to do with every file that I download.
The thing that I don't get, is why I can see files with 'debian-transmission' ownership through SMB but not FTP?
Any ideas?