在文本模式下怎么设置上网为 DHCP
不会弄哦
还有配置网络都有些什么命令啊
我试了好几个
没没有用啊
配置网络都有些什么命令啊
-
- 帖子: 91
- 注册时间: 2005-06-05 19:00
- 来自: 浙江<<永康>>南京
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
直接修改 /etc/network/interfaces
$ more /etc/network/interfaces
$ more /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 dhcp
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
-
- 帖子: 91
- 注册时间: 2005-06-05 19:00
- 来自: 浙江<<永康>>南京
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 91
- 注册时间: 2005-06-05 19:00
- 来自: 浙江<<永康>>南京
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 91
- 注册时间: 2005-06-05 19:00
- 来自: 浙江<<永康>>南京