#Failed to detect NetworkManager Service

78 messages Β· Page 1 of 1 (latest)

short bolt
#

My printer decided today to stop showing the web interface and when i checked on the kipper screen, it shows that it failed to detect network service.
So now i can't view mainsail web interface nor i can SSH into my printer.
I'm not sure how i managed to break the network as i properly shutdown klipper before turning the printer off and I always update Ratos first if available.

Is there other way to fix this issue without reinstalling Ratos?

I'm running latest Ratos 2.1

Thank you

agile fiberBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

tacit citrus
#

klipperscreen broke/changed some stuff, if you do a search in here you'll see lots of posts.

#

You should still be able to navigate to ratos.local from your computer or phone though

short bolt
#

I was able to initially access SSH through pi@ratos.local but then i reinstalled klipper screen and now even rato.local does not work πŸ˜…

icy spear
#

I have the exact same issue. If I unplug the screen and reboot the printer, the printer connects to my wifi. If I turn the printer on with the screen connected I get the same network manager issue and the printer doesn't connect. Network manager is installed and up to date aswell

vernal brook
#

@pearl sapphire didn't you pin the specific version of klipper screen that works?

icy spear
vernal brook
icy spear
pearl sapphire
pearl sapphire
# icy spear So are we saying in the newer versions of klipperscreen and we should revert bac...

Klipperscreen dropped support for everything but NetworkManager. We don't use NetworkManager, so the klipperscreen network panel doesn't work. That's intentional by the klipperscreen author (and i prefer it like this as it always killed the wpa-supplicant symlink before, imo you should not use it for networking, use the configurator). It should not kill your network connection though.

icy spear
icy spear
pearl sapphire
pearl sapphire
icy spear
#

Thinking about this, a while back I did have connection issues where I was able to see my router from the network tab on the screen and reconnected through that wonder if this caused it to use the screen for connection

icy spear
pearl sapphire
#

You can restore it like this:

ssh pi@ratos.local
sudo rm -f /etc/wpa_supplicant/wpa_supplicant.conf
sudo ln -s /boot/ratos-wpa-supplicant.txt /etc/wpa_supplicant/wpa_supplicant.conf
icy spear
pearl sapphire
#

indeed

icy spear
#

Uninstalling

pearl sapphire
# icy spear Should I only run this, or run this after uninstalling network manager

first disable network manager:

ssh pi@ratos.local
sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager
sudo systemctl mask NetworkManager

then restore the symlink

ssh pi@ratos.local
sudo rm -f /etc/wpa_supplicant/wpa_supplicant.conf
sudo ln -s /boot/ratos-wpa-supplicant.txt /etc/wpa_supplicant/wpa_supplicant.conf
#

Then reboot (that's what sudo reboot now does). That should restore the ratos configurator wifi setup functionality and stop klipperscreen from busting the wifi connection.

icy spear
pearl sapphire
#

You don't need the second ssh pi@ratos.local if you're already connected via ssh obviously, i just copy pasted the previous stuff πŸ˜„

pearl sapphire
icy spear
#

Haha. Yeah I understood that bit

icy spear
# pearl sapphire Np, hopefully it works too.. πŸ˜…

Ran the commands via shh, which has made it go to the ratos configurator, unfortunately it keeps on saying my credentials are invalid. Any clue why this maybe as its the correct password. I did see in the root directory on the sd card their is a wpa txt file I can manually add my credentials?

#

Thinking I might start from scratch with ratos 2.1 and see if this fixes everything

short bolt
#

My Pi started a wifi with Ratos and when I tried to join the network to configure my home network, it says incorrect password for "raspberry". I think i will just reinstalled Ratos again at this point and I hope this issue won't come back again from klipper screen.

pearl sapphire
# icy spear Ran the commands via shh, which has made it go to the ratos configurator, unfort...

did see in the root directory on the sd card their is a wpa txt file I can manually add my credentials?
That'll work yes, that's essentially what the configurator does.

unfortunately it keeps on saying my credentials are invalid
That means it can't save the password to the ratos-wpa-supplicant.txt file, most likely because the password isn't accepted by the wpa_passphrase command. Could be a special character thing for the SSID or Password, earlier versions of 2.0 didn't properly escape/quote the strings.

pearl sapphire
icy spear
short bolt
pearl sapphire
icy spear
# pearl sapphire Yep that should work

Just to let you know, installed ratos 2.1 which had the same issue with special characters in my wifi password. Edited the wpa text file on the sd card and manually added my details under WPA and it works perfectly. Thanks for your help

pearl sapphire
#

Or did it not actually get that far?

icy spear
pearl sapphire
pearl sapphire
icy spear
pearl sapphire
#

Appreciate it

icy spear
pearl sapphire
worthy sigil
#

Can you also please check the "!" character as well?

pearl sapphire
tacit citrus
#

TDD?

pearl sapphire
# tacit citrus TDD?

It's bash, and though there are bash testing libraries, it's really awful to use πŸ˜‚

#

But i might be able to write them from typescript. I'm not big on TDD (i never get anything done), but i do regression tests and integration tests.

tacit citrus
#

Yeah, I'm trying it out in a personal project, wish we did more at work. Anyway, sorry to derail the thread πŸ˜„

worthy sigil
#

If I have to I can change password. It was assigned to me by ISP but I can change it if necessary. Means updating every device in house but no big deal.

icy spear
worthy sigil
#

Y'all are making this old man dig deep as RPi and Bullseye are my biggest weaknesses. I can do this. I will do this.

pearl sapphire
worthy sigil
#

Yeah I do use Notepad++. I assume I do this after first boot of RPi not before.

icy spear
sharp belfry
sharp belfry
#

any thoughts here @pearl sapphire ?

icy spear
#

This is an ongoing issue with me aswell. If I unplug my screen it works fine. If I plug it in and reboot doesn't connect

pearl sapphire
# sharp belfry any thoughts here <@106015610344886272> ?

@sharp belfry &@icy spear sorry for the late reply. That sounds alot like HDMI interference, see:

This is a known issue with the Raspberry Pi 4. The HDMI port can generate radio frequency (RF) interference that disrupts the 2.4GHz Wi-Fi band, especially at higher display resolutions. The issue is with the Pi's hardware design.

Here are several workarounds ordered from the most effective and simplest to the more involved:

  1. Use 5GHz Wi-Fi: The interference primarily affects the 2.4GHz band. If the user's router and network support 5GHz, switching the Raspberry Pi to a 5GHz network is the most reliable solution.

  2. Change 2.4GHz Wi-Fi Channel: The interference is strongest on the lower 2.4GHz channels (1-3). Configure the Wi-Fi router to use a higher channel, such as 7 or 11.

  3. Improve Shielding:

    • High-Quality HDMI Cable: Use a short, well-shielded HDMI cable. Poorly shielded cables can radiate more interference.
    • Ferrite Beads: Clamping ferrite beads onto the HDMI and power cables can help suppress RF noise.
  4. Use an external Wi-Fi Dongle: If the other solutions fail, using a USB Wi-Fi dongle (preferably on a short USB extension cable to move it away from the Pi) can bypass the onboard Wi-Fi module.

#

Note, we don't support #5, you'd have to configure the network manually.

icy spear
sharp belfry
icy spear
half lynx
#

I have the same issue - either WLAN or external monitor via HDMI
I tried NetworkManager but that didn't help. I try your list tomorrow.