码迷,mamicode.com
首页 > 其他好文 > 详细

Etherlab debian安装记录

时间:2018-01-10 11:48:37      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:figure   toc   pdo   rap   hg clone   gen   init.d   code   conf   

debian wheezy 7.11(虚拟机安装选择桥接网卡)

#set ustc source
#apt-get install sudo
#nano /etc/sudoers;add userName ALL=(ALL) ALL
#apt-get install linux-image-3.2.0-4-rt-amd64 linux-headers-3.2.0-4-rt-amd64
#apt-get install mercurial
#hg clone http://hg.code.sf.net/p/etherlabmaster/code ethercat-hg
#hg update stable-1.5
#cd ethercat-hg
#apt-get install autoconf
#apt-get install libtool
#./bootstrap
#./configure
#apt-get install g++
#make
#make modules
#make install
#make modules_install install
#cd /opt/etherlab/
#sudo mkdir /etc/sysconfig/
#sudo cp etc/sysconfig/ethercat /etc/sysconfig/
#sudo ln -s etc/init.d/ethercat /etc/init.d/
#sudo ifconfig;get mac address:08:00:27:61:85:xx
#MASTER0_DEVICE="08:00:27:61:85:xx"   
#DEVICE_MODULES="generic"
#sudo cp /opt/etherlab/etc/init.d/ethercat /etc/init.d/
#sudo depmod
#sudo /etc/init.d/ethercat start
#sudo ln -s /opt/etherlab/bin/ethercat /usr/local/bin/ethercat
#sudo ethercat sl;get slave for test
#sudo ethercat pdos;get pdos for test··

Etherlab debian安装记录

标签:figure   toc   pdo   rap   hg clone   gen   init.d   code   conf   

原文地址:https://www.cnblogs.com/winshton/p/8256907.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!