Chinaunix首页 | 论坛 | 博客
  • 博客访问: 129362
  • 博文数量: 42
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 131
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-27 22:06
文章分类

全部博文(42)

文章存档

2017年(42)

我的朋友

分类: LINUX

2017-06-17 22:47:12

原文地址:Ubuntu network wired ummanaged 作者:khls27

1、ubuntu adsl设置

sudo pppoeconf

2、解决有线无法边接

dashhome/system setting/network。显示Wired Unmanaged

解决方法:
sudo vim /etc/NetworkManager/NetworkManager.conf
将managed=false
改成managed=true
然后重启network-manager
sudo service network-manager restart

或者 kill掉再启用:sudo NetworkManager。再不行就重启:sudo reboot

3、如果network manager坏了,可以下掉

sudo apt-get remove network-manager

如果下掉后无法上网,解决方法:

sudo vi /etc/network/interface  把手工改成dhcp连接上网
auto eth0
iface eth0 inet dhcp
/etc/init.d/networking restart 重启网络即可
然后sudo apt-get install network-manager 重新安装network-manager

4、Booting system without full network configuration

一般是由于adsl配置引起的,当配置用adsl上网时

/etc/network/interfaces会加上配置

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig stop up # line maintained by pppoeconf

provider dsl-provider

当用有线普通连接时启动系统过程中写interfaces会出问题,会出现Booting system without full network configuration。

解决方法:

把这几行注释掉,sudo reboot


5、resolv.conf isn't a symlink

配置interfaces文件后用/etc/init.d/networking restart命令重启网络配置出现以下错误
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
RTNETLINK answers: File exists
Failed to bring up eth0.
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
* Setting up iSCSI targets
   ...done.
ssh stop/waiting
ssh start/running, process 15220
   ...done.

解决: sudo dpkg-reconfigure resolvconf

6、ubuntu系统日志

问题排查辅助

/var/log/syslog
阅读(1201) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~