树莓派网卡和IP地址的配置

步骤:修改 /etc/network/interfaces文件1)默认设置网络接口lo,增长以下内容:auto loiface lo inet loopback 2)配置有线网卡eth0,IP地址的类型(dhcp、static)若是选择dhcp,则须要增长以下内容:auto  eth0iface  eth0  inet  dhcp若是选择static,提示输入对应的内容,则文件的增长内容以下:if
相关文章
相关标签/搜索