分页: 1 / 1

找不到网络~~

发表于 : 2006-05-25 18:22
akey307
最近出了个问题,就是5.10 Breezy 启动后找不到network interface~~

可是我先启动windows,然后重新启动到Ubuntu, 就可以找到了~~

不知道是为什么~~

请教大家~~

发表于 : 2006-05-25 22:44
zhan
和网络相关的配置文件有两个:
/etc/network/interfaces 里面是网卡的ip阿什么的配置
/etc/resolv.conf里面是dns解析的
其实如果是图形话的话,在相应的菜单中都是有选项直接配置的。
另外,你的问题我觉得可能不需要重启机器,重启网络说不定就好了

发表于 : 2006-05-28 16:21
akey307
如何重新启动网络阿?~~

下面是我的/etc/network/interface, 不太懂里面说的是什么意思,能给简单解释一下吗?~~

谢谢~~




1 # This file describes the network interfaces available on your system
2 # and how to activate them. For more information, see interfaces(5).
3
4 # The loopback network interface
5 auto lo
6 iface lo inet loopback
7
8 # This is a list of hotpluggable network interfaces.
9 # They will be activated automatically by the hotplug subsystem.
10 mapping hotplug
11 script grep
12 map eth0
13
14 # The primary network interface
15 iface eth0 inet dhcp

发表于 : 2006-05-28 16:36
eexpress
到菜单里面找联网。设置。

发表于 : 2006-05-28 17:21
zhan
你的这个配置是dhcp的,动态分配的ip。在15行有说明的。网卡是eth0, 方式是dhcp。

你最好还是在图形化下面更改,就象eexpress说的,菜单里面有的,其中修改eth0就好了。直接可以操作的。
直接改文件如果不了解的话还是很麻烦的。
如何重新启动网络阿?~~

下面是我的/etc/network/interface, 不太懂里面说的是什么意思,能给简单解释一下吗?~~

谢谢~~




1 # This file describes the network interfaces available on your system
2 # and how to activate them. For more information, see interfaces(5).
3
4 # The loopback network interface
5 auto lo
6 iface lo inet loopback
7
8 # This is a list of hotpluggable network interfaces.
9 # They will be activated automatically by the hotplug subsystem.
10 mapping hotplug
11 script grep
12 map eth0
13
14 # The primary network interface
15 iface eth0 inet dhcp

发表于 : 2006-05-29 0:06
ak74
/etc/init.d/network restart

发表于 : 2006-05-29 12:49
zhan
呵呵。楼上的,应该是/etc/init.d/networking restart :lol: