Chinaunix首页 | 论坛 | 博客
  • 博客访问: 113048
  • 博文数量: 17
  • 博客积分: 699
  • 博客等级: 中士
  • 技术积分: 140
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-08 12:37
文章分类

全部博文(17)

文章存档

2011年(16)

2010年(1)

分类: LINUX

2011-04-20 22:16:32

查看可用网卡
ifconfig -a

激活所需网卡
ifconfig eth0 up

获取IP地址
dhclient eth0

(
手动:
ifconfig eth0 ip地址 netmask 子网掩码

route add default gw 网关ip地址
)

DNS:
/etc/resolv.conf
阅读(1976) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~