- Configuring LinuxCNC
 - Advanced Configuration
 - EtherCAT
 - Ethercat installation from repositories - how to step by step
 
Ethercat installation from repositories - how to step by step
- RiJa
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11
 - Thank you received: 1
 
			
	
						02 Jul 2024 11:47		 -  09 Jul 2024 12:28		#304239
		by RiJa
	
	
		
			
	
	
			 		
													
	
				Replied by RiJa on topic Ethercat installation  from repositories - how to step by step			
			
				/			
					
		Last edit: 09 Jul 2024 12:28  by RiJa.			
			Please Log in or Create an account to join the conversation.
- rodw
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						02 Jul 2024 13:10				#304243
		by rodw
	
	
		
			
				
 			
					
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			Yes, I know. I looked at my git repo before replying. But the difference is it worked for me and is reporting a file not found error for you. Read the error message you posted. I have also experienced similar errors in the past. You can either continue to complain or undertake some troubleshooting at your end to resolve the error like I did. I can't help further.I'm using the same file as you posted earlier, the path on line 14 is:
loadusr -W ./lcec_conf ethercat-conf.xml
Please Log in or Create an account to join the conversation.
- zjjxxsh
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 3
 - Thank you received: 0
 
			
	
						03 Jul 2024 14:02				#304329
		by zjjxxsh
	
	
		
			
	
			
			 		
													
	
				Replied by zjjxxsh on topic Ethercat installation  from repositories - how to step by step			
			
				Err:1 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ ethercat-master 1.6.0.gcafd367-1+1.2
404 Not Found [IP: 95.216.238.135 80]
Err:2 mirror.aardsoft.fi/opensuse/repositories...A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.39.0.g4299f7a-0
404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...67-1%2B1.2_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...g4299f7a-0_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This is what I got, by enter "sudo apt install linuxcnc-ethercat"
					404 Not Found [IP: 95.216.238.135 80]
Err:2 mirror.aardsoft.fi/opensuse/repositories...A/EtherLab/Debian_12 ./ linuxcnc-ethercat 1.39.0.g4299f7a-0
404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...67-1%2B1.2_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Failed to fetch mirror.aardsoft.fi/opensuse/repositories...g4299f7a-0_arm64.deb 404 Not Found [IP: 95.216.238.135 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This is what I got, by enter "sudo apt install linuxcnc-ethercat"
Please Log in or Create an account to join the conversation.
- NickH
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 12
 - Thank you received: 2
 
			
	
						12 Jul 2024 15:19				#305000
		by NickH
	
	
		
			
	
			
			 		
													
	
				Replied by NickH on topic Ethercat installation  from repositories - how to step by step			
			
				Hello Rodw, I think this is what I am coming-up against. When running 'sudo halcmd loadusr -W Icec_conf ethercat-conf.xml '   I get  'commandlin>:0: execv(Icec_conf): no such file or directory'  then 'waitpid failed Icec_conf', and then 'Icec_conf exited'..
I'm on the last parts of setting up Ethercat and get stumped by this.
Also, thank you for pointing me in the right direction on the RTAI thread wrt ethercat.
					I'm on the last parts of setting up Ethercat and get stumped by this.
Also, thank you for pointing me in the right direction on the RTAI thread wrt ethercat.
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						12 Jul 2024 22:01				#305037
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			
				There is something wrong when it can't find lcec_conf. Maybe later versions place it in a different folder
Have you installed linuxcnc-ethercat?
					Have you installed linuxcnc-ethercat?
Please Log in or Create an account to join the conversation.
- endian
 - 
				
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 239
 - Thank you received: 68
 
			
	
						13 Jul 2024 08:03				#305053
		by endian
	
	
		
			
	
			
			 		
													
	
				Replied by endian on topic Ethercat installation  from repositories - how to step by step			
			
				hello
have anybody idea what is going on here?
I did some core frequency setup to hard value and ethercatMaster stopped working...
					have anybody idea what is going on here?
user@debian:~$ sudo apt install ethercat-master libethercat-dev  linuxcnc-ethercat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ethercat-dkms
The following NEW packages will be installed:
  ethercat-dkms ethercat-master libethercat-dev linuxcnc-ethercat
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/2,422 kB of archives.
After this operation, 73.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package ethercat-dkms.
(Reading database ... 185171 files and directories currently installed.)
Preparing to unpack .../ethercat-dkms_1.6.0.gcafd367-1+1.2_all.deb ...
Unpacking ethercat-dkms (1.6.0.gcafd367-1+1.2) ...
Selecting previously unselected package ethercat-master.
Preparing to unpack .../ethercat-master_1.6.0.gcafd367-1+1.2_amd64.deb ...
Unpacking ethercat-master (1.6.0.gcafd367-1+1.2) ...
Selecting previously unselected package libethercat-dev.
Preparing to unpack .../libethercat-dev_1.6.0.gcafd367-1+1.2_amd64.deb ...
Unpacking libethercat-dev (1.6.0.gcafd367-1+1.2) ...
Selecting previously unselected package linuxcnc-ethercat.
Preparing to unpack .../linuxcnc-ethercat_1.39.0.g4299f7a-0_amd64.deb ...
Unpacking linuxcnc-ethercat (1.39.0.g4299f7a-0) ...
Setting up libethercat-dev (1.6.0.gcafd367-1+1.2) ...
Setting up ethercat-dkms (1.6.0.gcafd367-1+1.2) ...
Loading new ethercat-dkms-1.6.0 DKMS files...
Building for 6.1.0-12-rt-amd64 6.1.0-17-rt-amd64
Building initial module for 6.1.0-12-rt-amd64
Error! Bad return status for module build on kernel: 6.1.0-12-rt-amd64 (x86_64)
Consult /var/lib/dkms/ethercat-dkms/1.6.0/build/make.log for more information.
dpkg: error processing package ethercat-dkms (--configure):
 installed ethercat-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of ethercat-master:
 ethercat-master depends on ethercat-dkms; however:
  Package ethercat-dkms is not configured yet.
dpkg: error processing package ethercat-master (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linuxcnc-ethercat:
 linuxcnc-ethercat depends on etherlabmaster | ethercat-master; however:
  Package etherlabmaster is not installed.
  Package ethercat-master is not configured yet.
dpkg: error processing package linuxcnc-ethercat (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ethercat-dkms
 ethercat-master
 linuxcnc-ethercat
E: Sub-process /usr/bin/dpkg returned an error code (1)I did some core frequency setup to hard value and ethercatMaster stopped working...
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						13 Jul 2024 10:46				#305065
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			
				have you installed linux-headers? for your RT kernel?			
					Please Log in or Create an account to join the conversation.
- endian
 - 
				
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 239
 - Thank you received: 68
 
			
	
						13 Jul 2024 11:42				#305066
		by endian
	
	
		
			
	
			
			 		
													
	
				Replied by endian on topic Ethercat installation  from repositories - how to step by step			
			
				yes they are here...
 			
					user@debian:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree... Done Reading state information... Done linux-headers-6.1.0-12-rt-amd64 is already the newest version (6.1.52-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Please Log in or Create an account to join the conversation.
- NickH
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 12
 - Thank you received: 2
 
			
	
						13 Jul 2024 13:23				#305077
		by NickH
	
	
		
			
	
			
			 		
													
	
				Replied by NickH on topic Ethercat installation  from repositories - how to step by step			
			
				From memory, as I'm not near that pc presently. I had no end of problems trying to install due to missing Realtek network drivers, but cured that by finding some in the firmware archive. Placed those in the firmware directory of the install boot disk. The install went smoothly as per your instructions here, up until this point. I did an update/upgrade and am on the very latest version of Lcnc. Version ending .3 I think. Yes I did lcnc-ethercat and went very smoothly up to here.			
					Please Log in or Create an account to join the conversation.
- NickH
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 12
 - Thank you received: 2
 
			
	
						13 Jul 2024 13:25				#305078
		by NickH
	
	
		
			
	
	
			 		
													
	
				Replied by NickH on topic Ethercat installation  from repositories - how to step by step			
			
				Looking at the above post, I don't recall installing headers separately. Maybe that is it.			
					
		The following user(s) said Thank You: rodw 	
			Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
 - Advanced Configuration
 - EtherCAT
 - Ethercat installation from repositories - how to step by step
 
		Time to create page: 0.157 seconds