- Posts: 12169
- Thank you received: 4153
Please Log in or Create an account to join the conversation.
Yes, absolutely! Your sticky post at forum.linuxcnc.org/ethercat/45336-etherc...-step-by-step#237098 was exactly how I was able to do it.Awesome you got it going. Did you use my method in the end?
I did see that post, but I was a little reluctant to use that same .deb as that seemed to be specifiic for your machine. The names of my NIC are also different. That could be a potential blocking issue for me. I wanted to do as much from source as I could, mainly to learn.On bullseye (5.10 kernel), I was at a total roadblock. I could not use Buster as I needed hardware drivers in Bullseye. Grotius kindly made a deb for me that worked but I still had issues getting it all to auto start
I also always do it that way to install the kernel headers. Keeps me from making dumb mistakesThe only issue I have had with that approach is that when you end up with a few kernels, debian can choose the wrong one to install linux-headers into. Thats why I say to use $(uname -r) in the installation and it just seems to work
Well, that's where I may have gone wrong. I didn't replace the contents of the .mk file and all compiled without errors (I doublechecked the terminal logs to be sure). But when running linuxcnc, I still got an error "lcec: dlopen: /usr/lib/linuxcnc/modules/lcec.so: undefined symbol: ecrt_slave_config_sdo" ( forum.linuxcnc.org/ethercat/47555-lcec-s...ve-config-sdo#258429 ). This was solved by replacing the content of the .mk file. So this may not be optional?the changes to the .mak file were good until just recently so I made that bit optional and hid it under a spoiler.
yeah, that's what makes a little hard to get started. The forum is a really really great help, but it's sometimes a little unclear as to what will still work and what not without knowing the history. I understand this now, but last week wasn't easy to get started. Anyway... I evolved from a user downloading an ISO to slightly tinker with to compiling everything from scratch. I also tested out bookworm a while ago (but dropped because there where some issues I did'nt know how to get around) and the I even learned what it was like to patch and compile the kernel. Glad I did this as I learned soooo much, but also afraid it's just the tip of the icebergec-debainize is well and truly redundant as etherlabmaster migrated to gitlab so the repos used in the old approach are no longer maintained but the debs are built daily. Thats why I prefer their repos.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.