Installing Linuxcnc on Debian Bookworm

More
2 years 2 months ago #307119 by papaathome
Bad luck for me, changing boot drive did not work.

I tried to install a 'standard' debian-live-12.6.0-amd64 iso and that worked without any problem. Maybe I can use that to 'upgrade' with the LinuxCNC iso or change the installation to be acceptable for LinuxCNC. I don't know yet how to do the first or the second option.

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

More
2 years 2 months ago #307127 by rodw
Installing linuxcnc on a standard Debian instance is described in the docs here
linuxcnc.org/docs/stable/html/getting-st...th_preempt_rt_kernel
The following user(s) said Thank You: my1987toyota, papaathome

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

More
2 years 2 months ago - 2 years 2 months ago #307206 by papaathome
Thank you, your advice helped me from guessing to acting.
Last edit: 2 years 2 months ago by papaathome.
The following user(s) said Thank You: rodw

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

More
2 years 2 months ago #307272 by papaathome

Installing linuxcnc on a standard Debian instance is described in the docs here
linuxcnc.org/docs/stable/html/getting-st...th_preempt_rt_kernel
 
Just followed the procedure, it was a doddle.

I want to mention a few points I ran into. Maybe others can do there advanage with it.
First: There is a warining not to supply a root password when installing Debian. If you do give a root password then sudo is disabled.
Of cause I had supplied a root password (old habits dont die easily!)
I had two options, reinstall and don't supply a password or find out how to enable sudo. I opted for the second one.
If you search the internet then you can find several sites with advice how to do it.
In the instructions I used the command `adduser username sudo` is used. That command could not be found.
Solution: use `whereis adduser` then use the command with the full path.

The rest is just read first, check and check again then do exact what you are told to do. No further problems.

Now running kernel Linux 6.1.0-23-rt-amd64 with LinuxCNC installed.
Latency tests are a factor 2 better compared to running LinuxCNC life.
I have made some changes in the bios between testing with LinuxCNC life and the current situation but have not (yet) fully tuned this installation.
I want to try the next step, using the RTAI kernel.

Kind regards.

 
The following user(s) said Thank You: rodw

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

More
2 years 2 months ago #307273 by rodw
Yes its pretty easy to give a user sudo access. I think from memory using sudo then requires root's password.
You just need to add your user to the sudoers user group when signed in as root
usermod -aG sudo newuser

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

Time to create page: 0.135 seconds
Powered by Kunena Forum