networking restart is deprecated
来源:互联网 发布:淘宝爱国者官方旗舰店 编辑:程序博客网 时间:2024/06/01 10:37
命令是:
sudo /etc/init.d/networking restart
但是可能会遇到下面的提示:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
如果在VMware中修改了 Ubuntu 虚拟机的网络连接方式,比如从 Bridged 方式改成 NAT 方式之后,ping www.baidu.com 就会失败。这时如果执行 sudo /etc/init.d/networking restart ,并且遇到上面的提示,可能会发现 ping www.baidu.com 还是失败。
没有找到什么好办法,但是 reboot 之后貌似就好了。
sudo reboot
阅读全文
2 0
- networking restart is deprecated
- ubuntu14.04 networking restart
- Ubuntu networking restart | cannot find device 'eth0'
- Deprecated: Function set_magic_quotes_runtime() is deprecated
- Deprecated: Function session_register() is deprecated
- Deprecated: Function xxx() is deprecated
- Deprecated: Function session_register() is deprecated
- Deprecated: Function session_register() is deprecated
- Deprecated: Function session_register() is deprecated
- Deprecated: Function xxx() is deprecated
- 'getWidth()' is deprecated,'getHeight()' is deprecated
- Function ereg() is deprecated
- Function eregi() is deprecated
- split is deprecated
- Warning: $HADOOP_HOME is deprecated.
- Warning: $HADOOP_HOME is deprecated.
- $HADOOP_HOME is deprecated.
- ActionContextCleanUp is deprecated
- okhttp常规用法和上传文件(multipart/form-data的学习)
- java知识点总结
- 获取设备序列号
- Laravel的核心概念
- source insight研究——正则表达式篇 收藏
- networking restart is deprecated
- CentOS7下使用yum安装PostgreSQL9.6
- SVM之对偶问题
- C#字符串解析相关优化
- android硬件加速
- 关于$.jBox.open从打开的新页面中传值到原来页面
- 线性表
- C++中野指针
- nginx正则表达式