分页: 1 / 1

修改/etc/network/interfaces后没法上网

发表于 : 2014-05-06 14:54
jinchizhe
一个不小心修改了/etc/network/interfaces这个文件,重启后出现“waiting for 60 seconds more to 。。。” 然后就不能上网了(WIFI的图标没了)。 于是我加了一句auto wlan 0,iface wlan 0 inet manual 重启有wifi的图标,但是搜不到任何wifi信号。正常的话应该能搜到4,5个信号才对。请问这个文件的初始设置是怎么写的啊?我应该怎么写才能上网啊?

Re: 修改/etc/network/interfaces后没法上网

发表于 : 2014-05-06 19:43
lainme
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
然后用系统的网络连接管理器(network-manager) 来设置无线

Re: 修改/etc/network/interfaces后没法上网

发表于 : 2014-05-07 10:09
eexpress
系统网络缺省被nm接管了。interfaces 不要修改。

Re: 修改/etc/network/interfaces后没法上网

发表于 : 2014-05-07 15:40
i19870503
eexpress 写了:系统网络缺省被nm接管了。interfaces 不要修改。
貌似我也有一次那样了,直接网络连接图标灰了。
终端下用nm-netmanager 提示couldn‘t connect to system bus.......