Bjarne von Horn
be4ff5b22f
Fix typo in bash completition.
...
Fixes #137 .
2024-09-17 09:19:20 +02:00
Bjarne von Horn
7e8c6cf12a
mention all current drivers in ethercat.conf
2024-06-07 15:03:47 +02:00
Bjarne von Horn
bac16d07a9
Fix systemd service file
...
network.service is suse-specific,
on Debian its name is networking.service.
According to https://systemd.io/NETWORK_ONLINE/ ,
there are three targets available in systemd for networking purposes.
2024-06-07 10:55:26 +02:00
Florian Pose
ee55c20e28
Fixed mail address; limited lines to 78 characters; removed $Id$.
2024-02-01 15:15:41 +01:00
Bjarne von Horn
c3826c7758
Remove EtherCAT copyright notice.
2024-01-15 11:20:25 +01:00
Bjarne von Horn
92cebe2ec9
Merge remote-tracking branch 'origin/stable-1.5' into igc-6.x
2023-11-30 10:16:31 +01:00
Bjarne von Horn
9c5e477fa8
Avoid race condition when starting master
...
By first removing the non-native driver module and then
checking for success.
It's better to ask for forgiveness than to ask for permission.
2023-11-22 16:18:01 +01:00
Bjarne von Horn
55e77f964d
Add a nice error message to ethercatctl in case of missing config.
2023-11-07 11:46:36 +01:00
Victor Lopez
a892b99d3c
Add igc for kernel 6.6
...
I had doubts in a few places and marked them with a //todo comment
2023-11-03 16:56:43 +01:00
Florian Pose
54814b770e
Fixed distribution of bash completions file.
2022-05-16 10:38:42 +02:00
Florian Pose
65b192c09a
Install bash completions.
2022-05-16 10:14:37 +02:00
Bjarne von Horn
c0c123dc61
add bash completion for ethercat tool
2022-05-16 10:12:05 +02:00
Florian Pose
4ac30c966e
Avoid double quotes in arithmetic expansion.
...
(cherry picked from commit 5bd401490f )
2021-09-02 15:12:46 +00:00
Florian Pose
b47f9249d7
Documentation for interface names.
2021-08-24 13:27:28 +02:00
Florian Pose
d06444d53e
Broke long lines.
2021-08-24 13:20:54 +02:00
Florian Pose
72ae0c090c
Removed tabs.
2021-08-24 12:36:29 +02:00
Matthias Schoepfer
162e5ef9eb
ethercatctl: allow to use the network device name instead of mac address
...
In the /etc/ethercat.conf file, the MASTERX_DEVICE string is given as a
mac address or a wildcard. When we want to deploy the (same) software (image)
to a bunch of different hardware, and these computers do have more than one
interface that matches the driver, we need a way to define the device by
network interface name. This allows to also define the network device by name
(e.g. eth0, eno1, ...)
Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com >
2021-07-27 10:44:26 +02:00
Florian Pose
b68abbfb04
Merge branch 'dehardcode-paths' into 'stable-1.5'
...
Do not hardcode paths in scripts
See merge request etherlab.org/ethercat!28
2021-07-22 13:27:06 +00:00
Florian Pose
83468705b2
Fixed problems with shell quotes introduced in 66329e1f.
2021-07-22 15:06:17 +02:00
Nicola Fontana
4c8ffd9a57
Do not hardcode paths in scripts
...
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:
https://www.gnu.org/software/automake/manual/html_node/Scripts.html
2021-07-22 14:40:03 +02:00
Matthias Schoepfer
66329e1fe1
script: run shellcheck on bash / sh scripts
...
Mostly fixed omitted double quotes, some conversion of $(eval ..) to $(()).
Left the echo -n untouched, shellcheck complains about not being standard in
/bin/sh. Also, seems like some code is dublicated in ethercatctl.in and
init.d/ethercat.in.
Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com >
2021-07-05 14:51:16 +02:00
Florian Pose
7dd06f87c1
Merge branch 'entidi/ethercat-fix-built-sources' into stable-1.5
2021-05-25 12:26:09 +02:00
Nicola Fontana
60dd78485c
Do not include AC_CONFIG_FILES in BUILT_SOURCES
...
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:
https://www.gnu.org/software/automake/manual/html_node/Sources.html
AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:
https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-05-22 08:25:26 +02:00
Nicola Fontana
1d65f6617f
Proper systemd support
...
Follow the directions on integrating systemd with autotools provided by
the systemd documentation itself:
https://www.freedesktop.org/software/systemd/man/daemon.html#Installing%20systemd%20Service%20Files
The snippet has been adapted to better match our coding style, e.g.
directly use of `if` instead of `AS_IF`.
2021-05-22 07:22:57 +02:00
Florian Pose
21813858c8
Mention igb driver in config files.
2017-10-27 12:18:11 +02:00
Florian Pose
1016e8a75e
Respect bashisms.
2017-10-12 15:01:43 +02:00
Florian Pose
d790e03dd9
merge.
2014-10-27 14:15:55 +01:00
Florian Pose
ef47dbbc44
Use absolute path fpr ldmod; thanks to S. Blanchet.
2014-07-08 11:18:02 +02:00
Florian Pose
c74e80e39b
List ccat driver in configuration files.
2014-04-25 17:32:49 +02:00
Florian Pose
3e3d59d96e
Avoid replacing ccat driver.
2014-04-25 17:32:26 +02:00
Florian Pose
145e2ec239
Added notes about systemd dependencies.
2014-02-19 12:28:15 +01:00
Florian Pose
e117acc03a
Device activation note.
2013-12-10 10:42:25 +01:00
Florian Pose
b0b7e6fde4
Removed trailing spaces.
2012-09-06 20:22:24 +02:00
Florian Pose
1c8790c483
Merged redundancy branch to stable-1.5.
2012-09-06 18:28:57 +02:00
Florian Pose
d957062010
merge.
2012-04-10 19:10:56 +02:00
Florian Pose
74687adbe9
Install ethercat service to multi-user target by default.
2012-04-10 19:09:51 +02:00
Florian Pose
71422c035b
Add ethercat.conf to distribution.
2012-01-10 12:06:22 +01:00
Florian Pose
97a7825606
Enable generic driver by default.
2012-01-09 15:16:40 +01:00
Florian Pose
a284307481
Add ethercat.conf to distribution.
2012-01-10 12:06:22 +01:00
Florian Pose
1db2b3b9a5
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
2011-07-06 16:37:40 +02:00
Florian Pose
c4eac658af
Fixed appending to LOADED_MODULES variable.
2012-01-04 18:05:38 +01:00
Florian Pose
04b652a7fb
Added first systemd support.
2012-01-04 18:00:36 +01:00
Florian Pose
508684030d
Enable generic driver by default.
2012-01-09 15:16:40 +01:00
Florian Pose
f50af7cfab
Fixed appending to LOADED_MODULES variable.
2012-01-04 18:05:38 +01:00
Florian Pose
e8ffd304ce
Added first systemd support.
2012-01-04 18:00:36 +01:00
Florian Pose
ec84b03034
Master accepting two devices.
2011-11-09 12:05:44 +01:00
Florian Pose
ce954f5f1f
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
2011-07-06 16:37:40 +02:00
Florian Pose
a144042657
Removed tabulators.
2010-02-05 10:29:47 +01:00
Florian Pose
9d4327c47d
Added variable vor master module arguments.
2010-01-26 10:15:59 +01:00
Florian Pose
c6b034d647
Init script and sysconfig file for generic Ethernet driver.
2009-11-05 10:22:58 +01:00