back to wireless & wired network stability confirmed at my end
Quote:
|
Thanks, marav!
|
Again, this is not solved, and the last patch just made me lol.
NetworkManager checks in its configuration if a dhcp plugin has been explicitly defined. The list of possible values is here: https://github.com/NetworkManager/Ne...listener.c#L28 The plugin is named "dhcpcd". By adding "--no-configure" to the configuration value, now the value is not one of the valid plugin names, so NetworkManager is now defaulting to using its own internal implementation (that works just fine). Everybody can just test this by checking that, after the last patch, dhcpcd is not running anymore at all. The best solution here is to default to the upstream "dhcp=internal" value. Also a quote from https://github.com/NetworkManager/Ne...manager.c#L95: Quote:
|
Quote:
and it probably needs further investigations But rather than getting to the end and laughing, you can also respect those who have been here for 15 days trying to find a solution |
I'm sorry you took it personal, didn't want to offend anyone.
I would never laugh at people, but I can laugh at code; in this case i found it funny that introducing a problem actually worked as a workaround for another problem. FYI I've been here, too, since the second comment in this thread, and the correct solution was already posted on the first page. |
Quote:
It's just a matter of figuring out what's best for Slackware. We are in the same boat EDIT: And I am convinced that the direction taken by the development of NetworkManager tends to free itself, for the DHCP part, of all that does not concern dhcp=internal. As it was mentioned at the beginning |
the fallback to dhcp=internal, as you mentioned, is indeed probable:
- the dhcpcd daemon is not executed - /var/log/syslog mentions : Code:
NetworkManager[8840]: <warn> [1631609669.5296] dhcp-init: DHCP client 'dhcpcd --noconfigure' not available |
Quote:
In that config file, "dhcpd" means the used plugin name, not the command line to be executed. |
Quote:
The strange thing is that the option is included in a list of options in "if-options.h" with this interesting comment: Code:
/* These options only make sense in the config file, so don't use any |
Quote:
Code:
--noconfigure we have one option that doesn't really work : dhcpcd (I don't know why, but to be honest I'm a bit tired of looking for it) and we have another one that does work : internal we just have to use the one that works |
Quote:
dhcpcd=internal is a much better solution than either of those. |
Quote:
the fallback on internal misled me but where on earth should we pass this option??? |
Quote:
I would say that we use a dhcpd version or build which is not compatible with the current NetworkManager. OR, happens that we just use a code path considerably less tested than the one for systemd-dhcpd (believe or not, this thing exists) I for one, I vote for the "internal" plugin - I use this setup since this issue risen and the results are acceptable, at least for me. |
Can anyone confirm that :
Code:
--- dhcpcd.conf.orig 2021-09-14 21:33:25.897647961 +0200 dhcp=dhcpcd works after suspend/resume ? it works for me ... dhcpcd is running Code:
dhcpcd 28476 0.0 0.0 3084 1376 ? S 18:02 0:00 dhcpcd: [master] [ip4] [ip6] |
Quote:
|
All times are GMT -5. The time now is 10:45 PM. |