开发环境搭建示图
Last updated
Was this helpful?
Last updated
Was this helpful?
1) 请将SE3、笔记本电脑组一个局域网
2) 配置SE3 IP static address
** 更改 interfaces 文件,address即可 **
# sudo vim /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet static
address 192.168.1.185
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
# 退出保存文件
sudo ip addr flush eth0
sudo systemctl restart networking.service
# reboot系统后,ip地址变成192.168.1.185
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.185 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9c25:81ff:fe76:adf0 prefixlen 64 scopeid 0x20<link>
ether 9e:25:81:76:ad:f0 txqueuelen 1000 (Ethernet)
RX packets 202 bytes 36790 (35.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 144 bytes 12876 (12.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 13 base 0xc000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 12 bytes 738 (738.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 738 (738.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
3) 路由器连接Internet, 下图是TP-LINK的配置方式