LinuxCNC on Debian 10 Buster quick and easy install
27 May 2020 17:34 #169139
by seuchato
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
Hi tommylight
Thanks a ton for the guide and the script. Off curse I had to specify a root passwd, so I had to remove all the sudo references in your script. When running the script, I got a message that »ldconfig« and »start-stop-daemon« were not in PATH or not fount. The hint that "normally /usr/local/sbin, /usr/sbin and /sbin " should be in roots PATH gave me the clue to the solution:solved the problem and now your script ran through successfully.
So BIG THANKS
greez
chris
Thanks a ton for the guide and the script. Off curse I had to specify a root passwd, so I had to remove all the sudo references in your script. When running the script, I got a message that »ldconfig« and »start-stop-daemon« were not in PATH or not fount. The hint that "normally /usr/local/sbin, /usr/sbin and /sbin " should be in roots PATH gave me the clue to the solution:
echo $PATH
'/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
export PATH=$PATH:/sbin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/usr/local/sbin
echo $PATH
'/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/local/sbin'
So BIG THANKS
greez
chris
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
27 May 2020 19:40 #169146
by seuchato
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
Just a quick update:
Solution is not persistent. I did this to get it persistent:Not elegant, I know, but now su stuff works.
Greez
chris
Solution is not persistent. I did this to get it persistent:
echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /root/.bashrc
Greez
chris
Please Log in or Create an account to join the conversation.
27 May 2020 20:28 #169150
by seuchato
thanks a ton . Got latency now at below 8k![:-) :-)](/media/kunena/emoticons/smile.png)
greez
chris
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
JörgHi,
i found something, which works (hope the link is ok)
wiki.altervista.org/cs/kernel_boot_parameters
Example of the "isolcpus" option
Open the file /etc/default/grub. Example:
sudo gedit /etc/default/grub
Edit the option GRUB_CMDLINE_LINUX_DEFAULT in the file /etc/default/grub to boot all the kernels with the new option. In this case, the kernel boot option isolcpus=2,3 has been used, on a 4 cores CPU, to boot the kernel (and the other OS processes) using CPU cores 0 and 1, while CPU cores 2 and 3 are isolated, i.e., not used.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3"
Run the command:
sudo update-grub
to make active the GRUB configuration at the next reboot.
With this, my latency is under 10t
Best regards
Jörg
thanks a ton . Got latency now at below 8k
![:-) :-)](/media/kunena/emoticons/smile.png)
greez
chris
Please Log in or Create an account to join the conversation.
30 May 2020 00:37 #169373
by tullsnr
Replied by tullsnr on topic LinuxCNC on Debian 10 Buster quick and easy install
I cannot get past the install of the key, it fails, I get back the following,
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.Ll1dJq6gRH/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure
I then tried another keyserver that is further on in this post but get the same thing,
sudo apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.v2MTYd2ZPD/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure
Can anyone let me know what may be the problem
Thanks
Ian
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.Ll1dJq6gRH/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure
I then tried another keyserver that is further on in this post but get the same thing,
sudo apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
Executing: /tmp/apt-key-gpghome.v2MTYd2ZPD/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --recv-keys EF1B07FEE0EE663E
gpg: keyserver receive failed: Server indicated a failure
Can anyone let me know what may be the problem
Thanks
Ian
Please Log in or Create an account to join the conversation.
30 May 2020 02:57 #169380
by tullsnr
Replied by tullsnr on topic LinuxCNC on Debian 10 Buster quick and easy install
SOLVED
Problem was that the DNS entry was incorrect for my installation. Once I found and fixed that issue, it all installed correctly.
Thanks
Ian
Problem was that the DNS entry was incorrect for my installation. Once I found and fixed that issue, it all installed correctly.
Thanks
Ian
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
06 Aug 2020 21:36 #177552
by tommylight
Replied by tommylight on topic LinuxCNC on Debian 10 Buster quick and easy install
Updated link to Debian 10.5
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
06 Aug 2020 21:42 #177554
by seuchato
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
Thanks a ton.
Greez
chris
Greez
chris
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
07 Aug 2020 12:25 #177606
by andypugh
Replied by andypugh on topic LinuxCNC on Debian 10 Buster quick and easy install
linuxcnc.org/temp/2.8_test4.iso
(Installs Buster and a buildbot version of LinuxCNC 2.8)
This is 99% of what the official 2.8 release will be, so feedback appreciated.
Note that the QTVCP configs need extra dependencies, this will be fixed in the final release.
(Installs Buster and a buildbot version of LinuxCNC 2.8)
This is 99% of what the official 2.8 release will be, so feedback appreciated.
Note that the QTVCP configs need extra dependencies, this will be fixed in the final release.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
07 Aug 2020 12:28 #177607
by andypugh
It is important _not_ to specify a root password in the Debian installer as this disables sudo for all users.
LinuxCNC relies on setuid, so needs sudo.
This is mentioned briefly in the Buster install notes:
linuxcnc.org/docs/2.8/html/getting-start...th_preempt_rt_kernel
Replied by andypugh on topic LinuxCNC on Debian 10 Buster quick and easy install
Off curse I had to specify a root passwd, so I had to remove all the sudo references in your script.
It is important _not_ to specify a root password in the Debian installer as this disables sudo for all users.
LinuxCNC relies on setuid, so needs sudo.
This is mentioned briefly in the Buster install notes:
linuxcnc.org/docs/2.8/html/getting-start...th_preempt_rt_kernel
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 18562
- Thank you received: 6218
07 Aug 2020 12:53 #177610
by tommylight
Replied by tommylight on topic LinuxCNC on Debian 10 Buster quick and easy install
I installed Buster on two computers, never got asked to set a root password, but Wheezy and Stretch did ask for it so i just left it blank and it always worked.
I did use the installer from the desktop of the Live version of Buster.
I did use the installer from the desktop of the Live version of Buster.
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds