[问题]如何在安装好系统之后重新配置网络?
-
- 帖子: 35
- 注册时间: 2006-05-19 13:57
[问题]如何在安装好系统之后重新配置网络?
由于在安装系统时,不能自动进行DHCP配置,于是我就手动配置.可是在最后一步出错了!我最后一个DSN服务器的IP搞成了网关的IP了.请问我在x下怎么可以重新配置一下啊?现在进去了上不了网,好郁闷!
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
代码: 全选
$ 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 eth0
iface eth0 inet static
address 10.23.1.10
netmask 255.255.255.0
network 10.23.1.0
broadcast 10.23.1.255
gateway 10.23.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 61.137.94.196

● 鸣学
-
- 帖子: 35
- 注册时间: 2006-05-19 13:57