[etherlab-users] Antw: Re: Installation of the EtherCAT-Master software
Andreas Stewering-Bone
ab at igh-essen.com
Thu Sep 30 14:05:07 CEST 2010
Hello Oliver,
Please crate a link
ln -s /opt/etherlab/bin/ethercat /usr/local/bin/ethercat
Greatings
Andreas
Oliver.Haala at semikron.com schrieb:
> Hello Andreas,
>
> I exactly followed the Installation-Instructions and actual the Master is running.
> Unfortunately the command line tool isnt...
>
> # /etc/init.d/ethercat config
> USAGE: /etc/init.d/ethercat {start|stop|restart|status}
>
> # ethercat config
> If 'ethercat' is not a typo you can use command-not-found to lookup the package that contains it, like this:
> cnf ethercat
>
> The character device was created:
>
> primergy-llw1:/dev # ls -l /dev/EtherCAT0
> crw-rw-r-- 1 root root 251, 0 27. Sep 15:16 /dev/EtherCAT0
>
> and the master runs well:
>
> # /etc/init.d/ethercat restart
> Shutting down EtherCAT master devel done
> Starting EtherCAT master devel done
>
> # dmesg
> ...
> [ 1744.812331] EtherCAT 0: Master thread exited.
> [ 1744.812525] EtherCAT 0: Releasing main device 00:26:2D:01:85:CD.
> [ 1744.815011] ec_generic: Unloading.
> [ 1744.816604] EtherCAT: Master module cleaned up.
> [ 1746.836762] EtherCAT: Master driver devel unknown
> [ 1746.837204] EtherCAT: 1 master waiting for devices.
> [ 1746.840470] ec_generic: EtherCAT master generic Ethernet device module devel unknown
> [ 1746.840480] EtherCAT: Accepting device 00:26:2D:01:85:CD for master 0.
> [ 1746.840487] ec_generic: Binding socket to interface 3 (eth3).
> [ 1746.843010] EtherCAT 0: Starting EtherCAT-IDLE thread.
> [ 1746.843036] EtherCAT 0: Link state changed to UP.
> [ 1746.844040] EtherCAT 0: 1 slave(s) responding.
> [ 1746.844045] EtherCAT 0: Slave states: PREOP.
> [ 1746.844144] EtherCAT 0: Scanning bus.
> [ 1746.873928] EtherCAT 0: Bus scanning completed in 30 ms.
>
> # lsmod
> Module Size Used by
> ec_generic 5480 0
> ec_master 275008 1 ec_generic
> ...
>
> How to "activate" the command line tool?
> Linking the init script into PATH-Directory makes just the basic commands (start|stop|restart|status) availible.
>
> Regards
> Oliver
>
> IMPORTANT NOTICE - The contents of this email and attachments are confidential. If you are not the intended recipient you must not use, copy, distribute or rely on this email and should please return it immediately or notify us by telephone. While we take every reasonable precaution to screen out computer viruses from emails, attachments to this email may contain such viruses. We cannot accept liability for loss or damage resulting from such viruses. The integrity of email across the Internet cannot be guaranteed and SEMIKRON will not accept liability for any claims arising as a result of the use of this medium for transmissions by or to SEMIKRON.
>
--
------------------------------------------------------------------------
Dipl.-Ing. Andreas Stewering-Bone Amtsgericht Essen HRB 11500
Ingenieurgemeinschaft IgH USt-Id.-Nr.: DE 174 626 722
Gesellschaft für Ingenieurleistungen mbH Geschäftsführung:
Heinz-Bäcker-Str. 34 Dr.-Ing. S. Rotthäuser
D-45356 Essen Dr.-Ing. T. Finke
Tel.: +49 201 / 360-14-15 Dr.-Ing. W. Hagemeister
Fax.: +49 201 / 360-14-14 Tel.: +49 201 / 360-14-0
Andreas.Stewering-Bone at igh-essen.com http://www.igh-essen.com
------------------------------------------------------------------------
More information about the Etherlab-users
mailing list