分页: 1 / 1

还是不能上网!

发表于 : 2007-10-08 21:32
q4ever
我的是双系统的,在XP下能正常上网,重新启动进入Ubuntu时路由的灯都不亮.
在网络里配好IP后,查看interfaces,里面的内容如下:
# 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



iface eth0 inet static
address 192.168.1.130
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

问下,有什么问题吗?
你们能上网的能不能公布一下你们的interfaces的内容,以供学习!?
谢谢!

发表于 : 2007-10-08 21:45
long_xiao_me
下面是我的interfaces的内容:
# 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

# The primary network interface

iface eth0 inet dhcp
address 10.10.3.106
netmask 255.255.255.0
network 10.10.3.0
broadcast 10.10.3.255
gateway 10.10.3.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.102.128.68

我怀疑你的网卡根本没有安装好驱动程序,如果Ubuntu不支持你的网卡,还是最好下载你网卡的相应驱动,根据说明自己编译,安装。还有你的DNS没有设啊。

说明一下:我在家用的是DHCP,在单位用固定IP:10.10.3.106