Raspberry Pi 4 Tutorial - fatal error

More
6 years 6 months ago #163782 by andypugh
Replied by andypugh on topic Raspberry Pi 4 Tutorial
If you have built from source, then:

git checkout master
make

I think that
make install-menus
will create menu items for LinuxCNC. Otherwise, for a run-in-place yoy need to
cd linuxcnc-dev
. ./scripts/rip-environment

(that really is dot space dot slash, and needs to be run once in every new terminal session if using a run-in-place.

and then one of
linuxcnc
latency-test
pncconf


If, on the other hand, you have made .deb archives, then those should create the menu items under "CNC" automatically.

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

More
6 years 6 months ago #163797 by gmarconi2
Replied by gmarconi2 on topic Raspberry Pi 4 Tutorial
Ok Andy thanks for the reply, now everything works.

I'm trying to configure the mesa 7i76e, but I can't see the card in ethernet.

by default IP 192.168.1.121 but I don't see it, I can set a different IP.

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

More
6 years 6 months ago #163799 by andypugh
Replied by andypugh on topic Raspberry Pi 4 Tutorial
Have you read the setup instructions for hm2_eth?
linuxcnc.org/docs/2.7/html/man/man9/hm2_eth.9.html

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

More
6 years 6 months ago #163803 by gmarconi2
Replied by gmarconi2 on topic Raspberry Pi 4 Tutorial
Andy you are a great

Everything works I insisted on using Angry Ip Scanner that Mesa 7i76 did not see, I used the classic ping, and everything is ok.

I'm Andy, I'm Italian, and I'm stuck at home for an emergency in Covid 19 I'm fine and you?

Greetings Giampiero

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

More
6 years 6 months ago #163875 by LearningLinuxCNC
I followed the tutorial except I downloaded the raspbian desktop image prior to finding the tutorial so I am not on OpenBox.

When I try to run linuxcnc I get the following.
Code:
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl: Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.8.0~pre1 Machine configuration directory is '/home/pi/linuxcnc/configs/sim.axis' Machine configuration file is 'axis.ini' INIFILE=/home/pi/linuxcnc/configs/sim.axis/axis.ini VERSION=1.1 PARAMETER_FILE=sim.var TASK=milltask HALUI=halui DISPLAY=axis COORDINATES=X Y Z KINEMATICS=trivkins Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Realtime system did not load Shutting down and cleaning up LinuxCNC... Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: /usr/bin/linuxcnc: line 747: /etc/init.d/realtime: No such file or directory 1589 Stopping realtime threads Unloading hal components /usr/bin/linuxcnc: line 643: /etc/init.d/realtime: No such file or directory -----------------------------------------------------------------------

uname -a produces
Code:
pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Sun Apr 12 08:51:30 CDT 2020 armv7l GNU/Linux

Any what went wrong. I had some issues with installing packages due to internet connectivity but after rerunning packages that did not install correctly at first I thought it all installed and compiled correctly.

Thanks,

Jim

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

More
6 years 6 months ago #163914 by LearningLinuxCNC
So I went back and redid the install from scratch and now everything is working. Don't know what was broken but it is now fixed.

Thanks for the tutorial BigJohnT!

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

Time to create page: 0.063 seconds
Powered by Kunena Forum