fetch origin
Attempting to update RatOS, as I have done several times before over the past year or so. Pi > Network page says, "Failed to initialize. This panel needs NetworkManager installed into the system. And the appropriate permissions. Without them it will not function. Failed to detect NetworkManager service." Pi is connected to Windows 10 PC via Ethernet cable. PC has very solid Internet connection. Where to find, and how to install NetworkManager, please? Thank you!:ratrig:
22 Replies
I can't help you much except to quote:
miklschmidt — 11/27/2024 07:02
do not install or enable network manager
[07:02]
that breaks the setup
[07:02]
it's a mess to unfuck You may want to read the whole thread: https://discord.com/channels/582187371529764864/1310598991700037723
Network from the klippers screen is not supported
This is not supposed to work ever since KlipperScreen decided to drop support for everything but NetworkManager. Use the configurator for your wifi settings as instructed.
OK, Same error message after following instructions on Discord: "Error updating RatOS Git Command 'Fetch origin - prune - progress' failed." I have navigated to the RatOS Configurator > Setup Wizard > V-Core 3 Setup > Configure WiFi Setup. Next, I entered the available WiFi router (Starlink) and it's password. So, apparently, the Raspberry Pi should be able to connect to the Internet thru my Windows 10 PC via Ethernet cable, or it can connect to the Internet via my Starlink WiFi router. Please, what am I doing wrong? Thank you for your help.
This is the first time you mention that error.
This can be multiple things, the most likely being network (internet connection) issues.
Run this on your windows machine in the command prompt (win + r, type
cmd
, hit enter) to connect to your pi over ssh:
And paste the output.BTW, I had a good laugh at your word: "unfuck". There are a couple of women who I wish could have been "unfucked" so they would not have gotten pregnant! Well, I got as far as ssh. [email protected] is asking for a password. To my knowledge, I have never set up a password. But, even if I did, I cannot enter anything after the word, "password:". The command prompt cursor is blinking, but nothing I type shows up, and the cursor does not move. Thanks.
The default password is
raspberry
. The command prompt cursor is blinkingThat's on purpose, so that anyone next to you can't see it.
OK. That worked. Now I'm getting a green/white/blue prompt that says, "pi@RatOS:~ $. Upon entering , "cd ~/printer_data/config/RatOS, it comes back with this: "-bash: cd: /printer_data/config/RatOS: No such file or directory. Thanks for your amazing patience with me.
you missed the ~
OK. Progress! It came back with this: "fatal: unable to access "https://github.com/Rat-OS/RatOS-configuration.git/' : Could not resolve host: github.com
yep, your pi isn't connected to the internet.
Hmmm... the pi is ten feet from a Range Extender. Clear line-of-sight. No obstructions. The Range Extender is connected to my Windows PC using an Ethernet cable. The PC is also connect to the pi using a second Ethernet cable. PC can talk to Klipper, Mainsail, Moonraker, etc., without any problems.
yeah, because of the ethernet cable.
You PC isn't set up to forward it's internet connection, i'm guessing.
I'm not entirely sure what you're trying to do here. No wifi available? No network switch? You mentioned starlink?
I'm trying to update RatOS and all the other stuff. I've been successful at it several times since I built this RatRig V-Core 3 500 about 2 years ago. My PC is connected to Space-X's Starlink via a Starlink router, a tp-link (brand) Range Extender and an Ethernet cable.
I see, so you're not trying to get a permanent connection, this is something you do once in a while?
All you should need to do is enable forwarding on your PC.
https://answers.microsoft.com/en-us/windows/forum/all/internet-connection-sharing-in-windows-10/f6dcac4b-5203-4c98-8cf2-dcac86d98fb9
tldr;
1. Press the Windows key + X on your keyboard to open the Power User menu, and then select Network Connections. You can use the alternate methods below to access the network settings:
* Click the Start button, click the Settings button (gear icon), and then click Network & Internet
* Right-click the LAN or Wi-Fi icon on the Windows task bar, and then click Open Network & Internet settings
2. Click Change adapter options
3. Right-click the network adapter you are using with an internet connection (i.e., Ethernet or wireless adapter), then click Properties
4. Click Sharing
5. Tick the Allow other network users to connect through this computer’s Internet connection checkbox
6. Click OK
Lost connection to Discord on PC. Will the Discord app work OK on my iPhone? Here goes nuthin!
I will NEVER attempt another “update” to RatOS! Yesterday, I printed 2 threaded parts that screwed together perfectly. Today, after the “update”, Z axis crashed violently while homing. Which software package shall I restore? On the RatOS “Machine” page, not a single file nor folder shows a modified date beyond October. On the RatOS software “update” section, every single file has an orange flag that says, “INVALID”.
You didn't actually update any packages, you never got an internet connection on your pi.. Are you dragging your printer back and forth to your PC when you're doing these updates? Are you sure you didn't knock something loose?
The "invalid" will happen if you partially try to update and the connection isn't stable. If your moonraker is old enough it may also happen when you try to refresh the update manager and moonraker can't connect to github (which would be the case yesterday).
Generally we don't push updates that makes the z-axis crash (into what btw? do you mean a nozzle crash?), and you're likely on 2.0.2 which hasn't received any RatOS updates in over a year. We're exclusively working on 2.1 now.
The printer is 500mm cube, weighs a ton and won’t make it through a standard door. The PC hasn’t moved a fraction of an inch; t’s well protected. The pi is screwed very securely to the frame of the printer. Communication between the PC and the pi is an Ethernet cable fastened to the ceiling between the two. The Z-axis crash occurred because one of the 3 Z motor direction got reversed when printer.cfg got over-written. What really threw me off was the fact that the “Last Modified” date shown by RatOS was in October. The printer was working fine until the attempted update. Printer.cfg has been replaced by a backup, and homes correctly again. Would an SSD card with all the updates going into the pi be a reasonable fix for all the INVALID files? RatOS is/was V2.1.0-RC2-106. Thanks!
PROGRESS! Printer seems to be functioning OK again: Homing OK, Auto-level OK, Heaters OK, Extruder OK, Mesh Calibration OK. RatOS can connect to GitHub. The command: “git fetch —prune —progress” returns the following: “fatal: unable to access “https://github.com/Rat-OS/RatOS-configuration.git/“: Could not resolve host: github.com”.
The Z-axis crash occurred because one of the 3 Z motor direction got reversed when printer.cfg got over-written.Don't accept changes to printer.cfg if you don't need changes to printer.cfg. It does not override it on it's own! (and this is assuming 2.1). I'm confused why you'd go through the configurator in the first place if you're just updating. 2.0 doesn't touch your printer.cfg at all
What really threw me off was the fact that the “Last Modified” date shown by RatOS was in October.Then it was last modified in october. Question is what "it" is, what were you looking at?
Printer.cfg has been replaced by a backup, and homes correctly again.Again, RatOS does not make changes to printer.cfg, you have to very explicitly ask it to do that.
The only way you can override printer.cfg is by going to this page, reviewing the changes and picking "Accept changes".
Would an SSD card with all the updates going into the pi be a reasonable fix for all the INVALID files?I don't know what you mean?
RatOS is/was V2.1.0-RC2-106. Thanks!This is very old, and not updated. (like i mentioned earlier, i don't think you actually updated anything at all, all i saw was that you had connection issues).
RatOS can connect to GitHub. The command: “git fetch —prune —progress” returns the following: “fatal: unable to access “https://github.com/Rat-OS/RatOS-configuration.git/“: Could not resolve host: github.com”.Those two statements are conflicting.. This means it cannot connect to github, it can't even resolve the hostname. Your printer does not have an internet connection
I used the configurator because simply clicking an UPDATE button, no longer worked as it did in the past. Now I realize that was a mistake on my part. - "It" was the file named, "printer.cfg" that caused one of the three Z-motors to go in the wrong direction. Once I understood this, I noted that "printer.cfg" had a "Last Modified" date in October. That confused me, because "printer.cfg" had clearly changed, because of my (mistakenly) using the configurator. Anyway, the printer is working OK, and I will work on restoring the connection between the printer and the Internet, so I don't have to bother you. I know you must have more fun, important, and interesting projects to work on, rather than dealing with a software dummy like me! Thank you, though!
OK, maybe I'm getting closer to being able to update RatOS, etc.. once again. My setup uses 2 Ethernet cables: One goes from the PC to the Range Extender. The other goes PC to the pi. Going back to your very clear instructions 12/03/2024, 18:02 Pacific Time, Step # 4. Click Sharing. Here's the problem: "Ethernet" > Properties has a "Sharing" Tab. "Ethernet 2" > Properties does NOT have a "Sharing" Tab. Any suggestions? Thank you very much, Sir!