求助!!!ubuntu 10.04无法上网
发表于 : 2012-02-24 10:43
菜鸟刚装了10.04,是ACER 5750G的本子,但是上不了网,求大虾解决! 用的是路由器分配IP,我在/etc/network/interfaces里写了eth0, 但是ifconfig -a 根本没有eth0的信息,只有一个lo。导致我的电脑不能上网。这是没有驱动的原因吗?
代码: 全选
gzxzw@HP510:~$ cat /etc/network/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
auto eth1
#iface eth1 inet dhcp
iface eth1 inet static
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.1
代码: 全选
auto eth1
iface eth1 inet dhcp