A-A+
Linux 6 添加网卡的方法,centos6.5 为例
针对最新版的linux6系统(下面以常见的centos6.5为例),在需要添加网卡来上网的时候,下面的操作是大家要牢记在心的。尤其是需要连接路由或者二层交换的时候。
1.Centos 6.5 mini方式安装后有很多的组件没有安装,在添加网卡后使用命令
ls /etc/sysconfig/network-scripts/ 并没有法相对应的网卡信息。
2.使用命令 dmesg | grep -in eth
检测出对应网卡但是并没有up状态。
3. 更新组件
#安装setuptool
yum -y install setuptool
#安装系统管理
yum -y install ntsysv
#安装网络设置
yum -y install system-config-network-tui
4. 设用setup命令设置网卡