首页 > 其他 > 详细

Etherlab debian安装记录

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

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安装记录

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!