使用 Winscp软件登录
编辑
/etc/network/interfaces 文件,保存后重启通信分机或使用命令
# interface file auto-generated by buildroot
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.138
netmask 255.255.255.0
gateway 192.168.1.1
auto can0
iface can0 inet manual
#pre-up ip link set $IFACE type can bitrate 125000 listen-only off
pre-up /sbin/ip link set $IFACE type can bitrate 250000 triple-sampling on
up /sbin/ifconfig $IFACE up
down /sbin/ifconfig $IFACE down
auto can1
iface can1 inet manual
#pre-up ip link set $IFACE type can bitrate 125000 listen-only off
pre-up /sbin/ip link set $IFACE type can bitrate 500000 triple-sampling on
up /sbin/ifconfig $IFACE up
down /sbin/ifconfig $IFACE down
重启网卡命令
ifdown eth0
ifup eth0