分页: 1 / 1

ubuntu5.10已经安装好,但是上不了网,网卡的地址和子网掩码无法设定,DNS地址不知在哪里设定??

发表于 : 2005-11-22 2:52
ltahh
请朋友们帮个忙,刚装上,一直上不了网.郁闷....!!!!!!!!

发表于 : 2005-11-22 13:59
firehare
网卡设置文件:/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

# 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
DNS设置文件: /etc/resolv.conf 类似如下设置:

代码: 全选

nameserver 10.39.6.254
nameserver 192.168.0.1
nameserver 192.168.1.1
如果你用的是图形界面,可进入Gnome,在上面板中的系统/系统管理/联网中选择你的网卡进行设置!

发表于 : 2005-11-26 13:45
imperator
ubuntu 安装的时候就应该自己设定好ip和网关 dns

发表于 : 2005-11-29 15:40
Littlesuper
5.1没有安装图形界面~~汗。。。

发表于 : 2005-11-29 16:36
firehare
??

安装图形界面我觉得意义不大
XP在安装时第一部分不是也没有图形界面吗??

发表于 : 2005-11-29 16:45
Littlesuper
所以想知道如果用命令如何去修改这些配置~~由于刚刚接触~~所以不太了解,现在安装了5.1,只有命令界面,不知道哪里可以找到命令集教程。。。

发表于 : 2005-11-29 16:49
firehare
安装5.10之后的话,是有图形界面的呀!
除非你用的是 Server 进行安装!

发表于 : 2005-11-29 16:50
Littlesuper
对啊。。用了SERVER进行安装。。HAHA。。。

发表于 : 2005-11-29 16:53
firehare
那当然是没有图形界面了!

类Unix系统的命令很多,而且不同的发行版可能命令都有不同,全说是不太现实的,不是你要实现什么功能,再Google再上来问比较好!

发表于 : 2005-11-29 16:56
Littlesuper
5。1安装的时候,默认好像就是SERVER吧,没有图形界面~

发表于 : 2005-11-29 17:14
firehare
那不可能!
要不就是你下载的光盘就是Server版的吧!

如果你要安装图形界面的话,
可以用
sudo apt-get install x-window-system-core
sudo apt-get install ubuntu-desktop

发表于 : 2005-11-30 9:04
Littlesuper
是啊~所以现在想找命令来查。。。。

发表于 : 2005-11-30 13:15
firehare
??不太明白!
你要什么命令呀??

发表于 : 2005-11-30 15:10
Littlesuper
由于刚刚接触,所以对他的命令不太了解,如增加USER,修改网卡等……日常命令,需要有这方面的帮助文档。。。THX。