Geil-o-mat/PC

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen

How to set up the LinuxCNC PC

  • Download ISO from LinuxCNC Homepage, dd if=linuxcnc.iso of=/dev/stick on usb stick and install: Download Page
  • After installation put network to static, use 10.20.30.60/16 as IP Address, look up current gateway and DNS server
  • Clone the config: git clone https://github.com/Metalab/linuxcnc_config.git linuxcnc
  • Add lp group to cnc user: adduser cnc lp
  • Tweak the Jitter, see isolcpus Boot parameter: put GRUB_CMDLINE_LINUX_DEFAULT="noapic isolcpus=1 idle=poll nohlt quiet rootdelay=5"

into /etc/default/grub config and update-grub

  • After a reboot, you should get really nice jitter values, see screenshot

Jitter.png

  • To push the LinuxCNC config back to github, you need an github account that is associated with the Metalab repos. Then use the ssh agent to forward your key to the CNC machine and use git push github-ssh master to push. You can also use origin as remote, which is the HTTPS method.