转载出自: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-provideriface 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