ubuntu5.10已经安装好,但是上不了网,网卡的地址和子网掩码无法设定,DNS地址不知在哪里设定??
-
- 帖子: 3
- 注册时间: 2005-08-07 2:42
ubuntu5.10已经安装好,但是上不了网,网卡的地址和子网掩码无法设定,DNS地址不知在哪里设定??
请朋友们帮个忙,刚装上,一直上不了网.郁闷....!!!!!!!!
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
网卡设置文件:/etc/network/interfaces 类似如下设置:
DNS设置文件: /etc/resolv.conf 类似如下设置:
如果你用的是图形界面,可进入Gnome,在上面板中的系统/系统管理/联网中选择你的网卡进行设置!
代码: 全选
# 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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet static
address 10.39.6.59
netmask 255.255.255.0
network 10.39.6.0
broadcast 10.39.6.255
gateway 10.39.6.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.39.6.254 192.168.0.1 192.168.1.1
代码: 全选
nameserver 10.39.6.254
nameserver 192.168.0.1
nameserver 192.168.1.1
我心无畏,源自于我心无知。
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 10
- 注册时间: 2005-08-24 16:14