ubuntu network wired unmanaged 问题

转载出自:http://blog.csdn.net/mengyafei43/article/details/26254059


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.

解决:http://askubuntu.com/questions/137037/networkmanager-not-populating-resolv-conf   sudo dpkg-reconfigure resolvconf

6、ubuntu系统日志

问题排查辅助

/var/log/syslog
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值