Ethercat installation from repositories - how to step by step

More
4 years 4 weeks ago #253300 by rodw
Yes, the ethercat packages install without error so it should be fine to follow my last post. Let us know how you get on and I'll try and updat the first post

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

More
4 years 4 weeks ago #253301 by sqmathlete
Well, now I am really confused. I have tried to follow those instructions several times.
Step 1) create an empty file in /etc/apt/sources.list.d

STEP 2)copy and paste the keyring
Code:
KEYRING=/usr/share/keyrings/ethercat.gpg && curl -fsSL https://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10/Release.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null Step 3) Add this line to the etherlab.list  file in /etc/apt/sources.list.d
deb [trusted=yes] download.opensuse.org/repositories/home:.../EtherLab/Debian_10/ ./[/code]
Code:
sudo apt update

spits out
 

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

More
4 years 4 weeks ago #253304 by sqmathlete
One thought, can this part be done with the wget command?

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

More
4 years 4 weeks ago #253307 by rodw
I got this:
Code:
od@penguin:/usr/share/keyrings$ sudo apt update Hit:1 https://deb.debian.org/debian bullseye InRelease Hit:2 https://deb.debian.org/debian bullseye-updates InRelease                   Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease              Ign:4 https://storage.googleapis.com/cros-packages/108 bullseye InRelease             Hit:5 https://storage.googleapis.com/cros-packages/108 bullseye Release          Get:6 http://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10 ./ InRelease [1,339 B] Ign:6 http://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10 ./ InRelease Fetched 1,339 B in 1s (946 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 48 packages can be upgraded. Run 'apt list --upgradable' to see them. W: GPG error: http://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10 ./ InRelease: The following signatures were invalid: B1C282D9C181FD2DC684D6A1A08216C4FF0D8EF7

I saw the W; on the GPG error so decided it was just a warning and pressed on. It seemed to work and it crated the ethercat drivers ec_* in the right folder.

But I did do 
Code:
 sudo rm ethercat.gpg
first just in case

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

More
4 years 3 weeks ago #253476 by sqmathlete
Hi Rod,

I've got things sorted out. I hate to admit but I think I must have copied the install line along with ip a (find the MAC address) DUH!

The only edit to the instructions I would suggest is to add cd linuxcnc-ethercat before running the make, make clean commands. Other than that flawless. Well done!

Dan
The following user(s) said Thank You: rodw

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

More
4 years 4 days ago #255263 by rodw
The first post has been  updated to incorporate additional steps mentioned in subsequent posts.
However, please check I got it right!
The following user(s) said Thank You: tommylight, uur.ersan

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

Time to create page: 0.832 seconds
Powered by Kunena Forum