Installing LinuxCNC on Debian 9

More
10 Jul 2018 18:00 #113960 by BigJohnT
Here is the method I use to install LinuxCNC on Debian 9 and setup for using an Ethernet Mesa card.
Download https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/9.4.0+nonfree/amd64/iso-cd/firmware-9.4.0-amd64-netinst.iso and rename it to debian-firmware-9.4.0-amd64-netinst.iso

Burn to a CD
Boot from the CD
Graphical Install
Do Not enter a Root Password! Just hit enter.
Debian desktop environment
Mate
SSH server
standard system utilities

after booting to Debian 9 open a terminal

sudo nano /etc/lightdm/lightdm.conf
to log in without your user name a password uncomment
and add your user name
autologin-user=john
autologin-user-timeout=0

CTRL X and yes to save and exit.

Open the Synaptic Package Manager
search for linux-image and install linux-image-4.9.0.6-rt

reboot the pc
in a terminal type uname -a it should report back PREEMT RT

Linux d9-uspace 4.9.0-6-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

in a terminal
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install dirmngr
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
sudo apt-get install software-properties-common
sudo add-apt-repository "deb http://linuxcnc.org/ stretch base 2.7-uspace"
sudo apt-get update
sudo apt-get install linuxcnc-uspace

Configure the network adapter to work with an ethernet card
To find the ethernet adapter name
ip link show
or
ip a

sudo nano /etc/network/interfaces

auto enp0s25 << change to match your interface name
  iface enp0s25 inet static
    address 10.10.10.1
    netmask 255.255.255.0

JT
The following user(s) said Thank You: trilobyte, tommylight, AnnoyingMutt, rodw, Grotius
More
11 Jul 2018 19:56 #114024 by Grotius
Hi John,

Why not cloning a pre configured debian 9 with clonezilla server? clonezilla.org/clonezilla-SE
This saves time.... I only tried the cd clonezilla, this works perfect. 15 minutes ready.
Is this an idea to use?
More
11 Jul 2018 22:20 #114035 by BigJohnT
I guess once you setup the drive cloning it might be a good thing.

JT
More
12 Jul 2018 05:20 #114044 by tommylight
Or use "SystemBack" that is very friendly and easy to use.
In some cases you have to uninstall casper and install liveboot, but otherwise it works nicely and can also make an ISO that can be booted from a USB.
Time to create page: 0.062 seconds
Powered by Kunena Forum