View previous topic :: View next topic |
Author |
Message |
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 230
|
Posted: Fri Jan 10, 2025 12:04 pm Post subject: NetworkManager inactive [Solved] |
|
|
Hello forum,
I read quite a few threads relating to the inactive NetworkManager issue, but none of them was helpful, so I am back asking for some help on how to resolve this issue. The strange thing I find is that on many other Linux distros I tried, all these connection issues do not appear, and I am up and running without a glitch. But, with Gentoo, at least this time, it seems harder than I thought, coming from previous succesfull installations on other machines.
I am using NetworkManager with iwd as a backend, following the Gentoo wiki.
Here are some logs that were asked in those threads, which I am posting as a starting point:
rc-upate show https://dpaste.com/E7RRN25TY
ifconfig https://dpaste.com/BHNKJLZCC
nmcli con show https://dpaste.com/CPLRRBREL
ip a https://dpaste.com/BP5P2ZKD3.
For any further infor needed, please ask and I will provide it.
Thank you in advance for any input and support.
Last edited by enrico68 on Fri Jan 10, 2025 3:31 pm; edited 1 time in total |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3846 Location: Rasi, Finland
|
Posted: Fri Jan 10, 2025 12:52 pm Post subject: |
|
|
Hi.
I have one box which sometime shows the same behavior as yours. Restarting networkmanager fixes the issue.
The issue however seems to occur after newly booted system.
I also noticed that I have loads of dhcpcd zombie processes: Code: | M710q ~ # pgrep dhcpcd | wc -l
68 |
I have replaced the wifi-card, but the same behavior continues...
I've recompiled dhcpcd with "more relaxed" optimization, but that didn't change anything.
Strange thing is, that I have more or less the same settings on my other boxes, and those work flawlessly, even my coreboot flashed Chromebox.
I guess I could try to compile networkmanager with USE="-dhcpcd dhclient"...
Do you also have dhcpcd enabled with networkmanager? Do you get zombified processes? Does your problem only occur after boot? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 230
|
Posted: Fri Jan 10, 2025 2:23 pm Post subject: |
|
|
Hello Zucca,
no, I did not enable dhcpcd ,only NetworkManager and iwd. Like I said, for some weird reason, I tried with other distributions and this issue does not occur....it might be something related to my kernel config, which I set up following the wiki... |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 230
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3846 Location: Rasi, Finland
|
Posted: Fri Jan 10, 2025 3:16 pm Post subject: |
|
|
Please paste the output of Code: | emerge --info networkmanager |
_________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 230
|
Posted: Fri Jan 10, 2025 3:31 pm Post subject: |
|
|
I managed to connect to the network, which makes me extremely happy!!
Here is how I did it: I deleted the NetworkManager service, then I added the dhcpcd service to the default runlevel, all processes done while chrooted using the Gentoo LiveCD, and rebooted into Gentoo.
Once logged in, I ran Code: | rc-service dhcpcd stop | then Code: | rc-service dhcpcd restart | then then I ran Code: | rc-service iwd stop | then Code: | rc-service iwd restart |
and finally I could run the command iwctl and connect to my router. Of course, I deleted the /etc/iwd/main.conf, as I am using iwd not as standalone, but together with dhcp, which renders that main.conf file useless.
I explained my steps hoping that my solution may be of some help to those who experience the same issues with NetworkManager being inactive... |
|
Back to top |
|
|
enrico68 Apprentice
Joined: 21 Oct 2016 Posts: 230
|
Posted: Fri Jan 10, 2025 3:35 pm Post subject: |
|
|
Zucca wrote: | Please paste the output of Code: | emerge --info networkmanager |
|
Thank you Zucca for trying to help me....much appreciated! |
|
Back to top |
|
|
|