LinuxCNC on Raspberry Pi 5

More
07 Feb 2025 12:31 #320907 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5
Ok I get it now, Grad. You were just being human. All's good ;)

Please Log in or Create an account to join the conversation.

More
07 Feb 2025 17:57 #320930 by KrisJ
Replied by KrisJ on topic LinuxCNC on Raspberry Pi 5
OK, So I think I managed to configure some GPIOs (more or less) successfully using official Rpi5 img, (Thanks for the guidance, unkonwn)

Now my problem is that I can't manage to get the WiFi working and I sorely need it for development. I'm pretty sure I ran some older release that had it working (with network-manager) out of the box but network-manager does not seem to be installed by default in this version.

What I tried is apt-get install network-manager and after that I reboot and launch the terminal based GUI with 'nmtui'. In here (in previous versions) I used to see a list of SSIDs to connect to but now the list is empty. I'm guessing that there might be an issue with some driver or similar and that no WiFi chip is recognized but I don't have the knowledge to check. Has anyone else got their WiFi up and running on the latest Rpi5 image?

Please Log in or Create an account to join the conversation.

More
07 Feb 2025 18:42 - 07 Feb 2025 18:43 #320933 by jairobbo
Replied by jairobbo on topic LinuxCNC on Raspberry Pi 5
Hi KrisJ,

I can at least confirm a pi 5 that is able to find WiFi networks. In my case nmtui did work I chose something I remember was called ‘activate network’ and it would show a bunch (and prompt for password).

With kind regards,
Jairo 

edit: this is on the latest linuxcnc image 2.9.4 by rodw 
Last edit: 07 Feb 2025 18:43 by jairobbo. Reason: Clarify

Please Log in or Create an account to join the conversation.

More
07 Feb 2025 22:05 - 07 Feb 2025 22:07 #320943 by probotix
Replied by probotix on topic LinuxCNC on Raspberry Pi 5
I happen to like the RPIOS default desktop (LXDE-PI) way better than LinuxCNCs (XFCE or whatever it is) and a host of other reasons, including the Raspis built in touchscreen support and on-screen keyboard. Everything, including wi-fi, just seems to work. Its easy to install LinuxCNC on it. If anyone is interested, I'll start a new thread.
Last edit: 07 Feb 2025 22:07 by probotix.

Please Log in or Create an account to join the conversation.

More
08 Feb 2025 00:55 #320948 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5
I'll admit I'm not a huge fan of the std xfce panel setup, but that's easy enough to change.
Actually I prefer MATE and have made images for myself with the MATE desktop without any of the XFCE4 hangover, but it is simple enough to install MATE on the std linuxcnc image, whether amd64 or arm64.

With regards to wifi & networking in general.
sudo apt install network-manager-gnome
installs network manager & the gnome applet. The reason this has been left out is because there were some latency issues, I think with the 12.x series being far better this is not such an issue.
I like the gnome applet as I like to turn wifi off when running Linuxcnc.

If a touch screen enumerates as HID it will just work. As the images we build use the RPi-Linux sources it may be a kernel module that isn't included in our build to support non HID touchscreens.
On screen keyboard, just a package we don't include.
Reasons for not using RPIOS, the fact that it uses wayland as a default and X compatibility layer is very slow, so slow that there is a significant difference when running latency tests between wayland (as stock) and changing to X.
Branding is also an issue, something I really want to deal with. Debian isn't so restrictive, hence the reason the PC images changed from Ubuntu to Debian.

There is also a thread some where on the forum regarding Linuxcnc on RPIOS. The topic author slips my mind at this moment.

Please Log in or Create an account to join the conversation.

More
08 Feb 2025 01:01 #320950 by unknown
Replied by unknown on topic LinuxCNC on Raspberry Pi 5
And finally for up to date info on the RPi and the images please jump to:
forum.linuxcnc.org/9-installing-linuxcnc...the-rpasberry-pi-4-5

Hopefully this will end up as a one stop for most issues and advice.

Please Log in or Create an account to join the conversation.

More
08 Feb 2025 01:27 #320951 by probotix
Replied by probotix on topic LinuxCNC on Raspberry Pi 5
Yeah the whole switch from Ubuntu to Debian cost me a ton of money. I'm a Linux guy myself and I can work in any Linux distro even if it hurts my eyes, but we couldn't do that to our customers, most of whom are scared of Linux in the first place. We stayed on 2.6 until UEFI forced us to update to 2.8 and then again when parallel ports finally dried up and mesa cards forced us onto 2.9. Now PC motherboards are almost obsolete in general, and the switch to rpi was forced, but has actually been pleasant thanks to a lot of yours efforts

Please Log in or Create an account to join the conversation.

More
08 Feb 2025 03:33 #320955 by KrisJ
Replied by KrisJ on topic LinuxCNC on Raspberry Pi 5

I can at least confirm a pi 5 that is able to find WiFi networks. In my case nmtui did work I chose something I remember was called ‘activate network’ and it would show a bunch (and prompt for password).

With kind regards,
Jairo 

edit: this is on the latest linuxcnc image 2.9.4 by rodw 

Thanks for the reply jairobbo!
That is really weird. I did exactly that but my list appear empty. Fresh install 2.9.4 and thensudo apt install network-manager
Did you use the 2.9.4 from downloads page, I think thats rodw's, right? Version of Rpi5? (I have the 4GB)

I also tried sudo apt install network-manager-gnomeAnd when I pop down the little menu there is a grayed out text "device not managed" and under that is only VPN connections. Any idea what might be off on my system?

Please Log in or Create an account to join the conversation.

More
08 Feb 2025 04:04 #320958 by KrisJ
Replied by KrisJ on topic LinuxCNC on Raspberry Pi 5
(Sorry for double posting. Cant edit last post, can only see the block quote when i try to edit)

I found a solution for my missing WiFi connections.
Second method mentioned in the top reply. (first method didn't work for me)
askubuntu.com/questions/71159/network-ma...s-device-not-managed

***
.....
Then open the file:
sudo nano /etc/network/interfaces
Delete everything in that file and copy and paste the following:

auto lo
iface lo inet loopback

Save, stop and start network manager:

sudo service network-manager restart
***
I had to reboot my whole system but after that WiFi works like expected.

Please Log in or Create an account to join the conversation.

More
09 Feb 2025 03:47 #321039 by jhandel
Replied by jhandel on topic LinuxCNC on Raspberry Pi 5
So with the official image if I install Network Manager then it fails at between 50k and 70k pings... However if I leave the network bone stock like the image (so using commandline and config files to manage) then 100000 pings at 1ms/ping and a response time of 0.105ms so yah... I think it was Network Manager that was the problem.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum