- Posts: 161
- Thank you received: 3
Notes from installation of ethercat on Raspberry Pi 4
- yi2580
- Offline
- Elite Member
-
Less
More
4 years 1 month ago #252819
by yi2580
Replied by yi2580 on topic Notes from installation of ethercat on Raspberry Pi 4
您好,您是中国人吗,我最近正在研究这方面的东西,您能给我提供一些帮助吗?我可以添加您的联系方式吗?互相讨论一下
Please Log in or Create an account to join the conversation.
- Drizzt
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
4 years 3 weeks ago #253805
by Drizzt
Replied by Drizzt on topic Notes from installation of ethercat on Raspberry Pi 4
是的,我是中国人
QQ:1591118067
WX:Drizzt_Wu
QQ:1591118067
WX:Drizzt_Wu
Please Log in or Create an account to join the conversation.
- Wesleyooms
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
3 years 6 months ago #269241
by Wesleyooms
Replied by Wesleyooms on topic Notes from installation of ethercat on Raspberry Pi 4
I followed the instruction untill the reboot, so Etherlabmaster installed, and got no errors. see logging in the atachement.
however, if I now type =10ptethercat master, i get 'command not found':
wesley@wes-lcnc:~$ ethercat master
bash: ethercat: command not found
Do you have any idea what could be wrong or how to debug this? I already checked the .local files
=10ptThanks for any response,
Wesley
however, if I now type =10ptethercat master, i get 'command not found':
wesley@wes-lcnc:~$ ethercat master
bash: ethercat: command not found
Do you have any idea what could be wrong or how to debug this? I already checked the .local files
=10ptThanks for any response,
Wesley
Please Log in or Create an account to join the conversation.
- Wesleyooms
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
3 years 6 months ago #269310
by Wesleyooms
Replied by Wesleyooms on topic Notes from installation of ethercat on Raspberry Pi 4
Thanks for writing this down.
After following the instructions until reboot, the command 'ethercat' is not found. So i do first
$ sudo systemctl start ethercat
as in the instruction of the etherlabmaster github. But then I get the following error:
Failed to start ethercat.service: Unit ethercat.service not found.
as far as I can see, the installation was succesful. Does anyone know what to do next or how to troubleshoot this?
Is it because I haven't connected the ethernet cable yet?
Thanks in advance for the help,
Wesley
After following the instructions until reboot, the command 'ethercat' is not found. So i do first
$ sudo systemctl start ethercat
as in the instruction of the etherlabmaster github. But then I get the following error:
Failed to start ethercat.service: Unit ethercat.service not found.
as far as I can see, the installation was succesful. Does anyone know what to do next or how to troubleshoot this?
Is it because I haven't connected the ethernet cable yet?
Thanks in advance for the help,
Wesley
Please Log in or Create an account to join the conversation.
- Wesleyooms
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
3 years 6 months ago #269312
by Wesleyooms
Replied by Wesleyooms on topic Notes from installation of ethercat on Raspberry Pi 4
I think the make setup command went wrong so I did that again and it looks like a file is missing; /sys/class/net/eth0/address:
;
wesley@wes-lcnc:~/etherlabmaster$ make setup
>>> We've found the local configuration file.
The original ETHERCAT_MASTER0 = enp0s25
will be overriden with ETHERCAT_MASTER0 = eth0
>>>
ECAT_SYSTEMD_PATH : /opt/etherlab/lib/systemd/system
ECAT_CONF_PATH : /opt/etherlab/etc
ETHERCAT_CONFIG : /opt/etherlab/etc/ethercat.conf
Cannot find device "eth0"
>>> Setup the systemd dkms.service in /etc/systemd/system
cat: /sys/class/net/eth0/address: No such file or directory
>>> We could find eth0 with the corresponding mac address
Please check your system properly.
For example, one can define it via
echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$ echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$ make setup
>>> We've found the local configuration file.
The original ETHERCAT_MASTER0 = enp0s25
will be overriden with ETHERCAT_MASTER0 = eth0
>>>
ECAT_SYSTEMD_PATH : /opt/etherlab/lib/systemd/system
ECAT_CONF_PATH : /opt/etherlab/etc
ETHERCAT_CONFIG : /opt/etherlab/etc/ethercat.conf
Cannot find device "eth0"
>>> Setup the systemd dkms.service in /etc/systemd/system
cat: /sys/class/net/eth0/address: No such file or directory
>>> We could find eth0 with the corresponding mac address
Please check your system properly.
For example, one can define it via
echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$
;
wesley@wes-lcnc:~/etherlabmaster$ make setup
>>> We've found the local configuration file.
The original ETHERCAT_MASTER0 = enp0s25
will be overriden with ETHERCAT_MASTER0 = eth0
>>>
ECAT_SYSTEMD_PATH : /opt/etherlab/lib/systemd/system
ECAT_CONF_PATH : /opt/etherlab/etc
ETHERCAT_CONFIG : /opt/etherlab/etc/ethercat.conf
Cannot find device "eth0"
>>> Setup the systemd dkms.service in /etc/systemd/system
cat: /sys/class/net/eth0/address: No such file or directory
>>> We could find eth0 with the corresponding mac address
Please check your system properly.
For example, one can define it via
echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$ echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$ make setup
>>> We've found the local configuration file.
The original ETHERCAT_MASTER0 = enp0s25
will be overriden with ETHERCAT_MASTER0 = eth0
>>>
ECAT_SYSTEMD_PATH : /opt/etherlab/lib/systemd/system
ECAT_CONF_PATH : /opt/etherlab/etc
ETHERCAT_CONFIG : /opt/etherlab/etc/ethercat.conf
Cannot find device "eth0"
>>> Setup the systemd dkms.service in /etc/systemd/system
cat: /sys/class/net/eth0/address: No such file or directory
>>> We could find eth0 with the corresponding mac address
Please check your system properly.
For example, one can define it via
echo "ETHERCAT_MASTER0=eth0" > ethercatmaster.local
wesley@wes-lcnc:~/etherlabmaster$
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
3 years 6 months ago #269397
by rodw
Replied by rodw on topic Notes from installation of ethercat on Raspberry Pi 4
Th forum sticky will also work for the Pi (I have done it)
You might need to use a Raspberry specific descriptor for keys and sources.list based on their repo. build.opensuse.org/project/show/home:bon...hes:science:EtherLab
You might need to use a Raspberry specific descriptor for keys and sources.list based on their repo. build.opensuse.org/project/show/home:bon...hes:science:EtherLab
Please Log in or Create an account to join the conversation.
Time to create page: 0.420 seconds