There is hardly any post that could not be improved.
Thanks ondoho for commenting on mine.
I am sure your contributions will find a thankful audience.
Further comments and additions follow:
I do not know why from some point on the QUOTE
mechanism stopped working.
Quote:
Originally Posted by ondoho
wirelessly, i suppose? different situation.
|
Yes, the post concerns wired connections only.
Quote:
Originally Posted by ondoho
but not the solution?
|
Correct. I only gave a pointer to the solution.
Quote:
Originally Posted by ondoho
i respectfully disagree.
there are differences, but that involves the softwares used, not the distros themselves.
softwares - mostly it comes down to:
- systemd or something else
- networkmanager or something else
|
You have a valid point here. As an unsophisticated user I usually stick with
the default settings. So, on my Ubuntu machine I have to deal with systemd and on
my openSUSE machine it's the networkmanager.
Quote:
Originally Posted by ondoho
not necessarily.
i have a (self-written) script that changes resolv.conf daily, and nothing interferes.
but i think i had to uninstall one software that essentially did what my script does now.
|
I should have written:
Do not change /etc/resolv.conf manually unless you know exactly what you are doing.
Quote:
Originally Posted by ondoho
but isn't "yast" a package manager? i don't see how that can take precedence over network managing software.
|
The first thing I did when the problem first materialized, I started yast and selected in the system section
network settings. After a short while I got the waring:
The network is at the moment controlled by NetworkManager or completely deactivated
(Das Netzwerk wird im Moment vom NetworkManager gesteuert oder ist komplett deaktiviert.)
[QUOTE=ondoho;5980965]
what, where? in /etc/resolv.conf? is that the "solution" to the problem? i don't think you fully explained it.
/QUOTE]
Let me give some more pointers. You start with
nmcli --help
Looking at the OBJECTS section you see that "connections" or "devices" sound promissing.
After
nmcli c help and nmcli d help
You realize that it is connections that you want to explore further.
nmcli c show
gives you information on the current situation.
With
nmcli edit
you start an interactive editing process. At this point you will probably have to enter your
superuser password.
At every point in interactive editing you can enter "help" . This way you discover that you need:
nmcli connection edit ethernet
You again get a list of possible continuation from which I selected
goto ipv4
Again you see a list of possible properties you can change. I selected
dns-search
Then entered the desired value for this property.
After having done this it is important to go back up one level
and select among the possible command
save persistent
[QUOTE=ondoho;5980965]
does it now work satisfactorily in both places without having to switch configurations?
/QUOTE]
For all I can say after 2 days it works perfectly. No switch of configurations needed.
The value of dns-search is a list. My guess is, that the system checks which host in the
list is available and sticks with the first one.