by Devin Yang

建立于: 4年前 ( 更新: 4年前 )

ubuntu网卡固定及浮动IP笔记,这是我在Nvidia TX2上的设置。
其他版本的ubuntu Linux应该也可以用
修改
/etc/network/interfaces

浮动IP设置方式

iface eth0 inet dhcp

固定IP设置方式

# The primary network interface
auto eth0
iface eth0 inet static
    address 192.168.0.108
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
    dns-nameservers 168.95.1.1 8.8.8.8
    dns-domain ccc.tc
    dns-search ccc.tc

重启网络

 /etc/init.d/networking restart

 

Tags:

Devin Yang

文章内容无法一一说明,如果您有什么不了解处,欢印提问哦:)

No Comment

Post your comment

需要登入才可留言!

类似文章


php

如何在旧版的CentOS 5.11安装PHP 7.1.7呢?

如何在旧版的CentOS 5.11安装PHP 7.1.7呢? 自行编译时发生了insfinit错误,本文介绍我的方式。

php,linux

WebShell功能介绍及注意事项

突然想来介绍什么是WebShell就上网找了一个,他的功能已相当好了, 不过我还想要一些功能,於是就用了三个晚上的时间,替他进行了一些小小的优化。 如果,您还没听过WebShell,快来看看这个影片吧。 如果您喜爱我的优化版本,请给我个赞哦,谢谢啦。

pip3 install face_recognition

在Raspberry Pi 3上运行脸部辨识软体