CentOS6.5-连接无线网

首先列出几个问题
1. couldn’t resolve host
解决方案:#vi /etc/resolv.conf <<输入之后回车
nameserver 8.8.8.8 <<在VI界面下输入这句话
:wq! <<保存退出

  1. 输入 iwconfig 时,提示:
    bash:iwconfig:command not found
    解决方案:#yum install -y wirelsss-tools

  2. wlan0 interface doesn’t support scanning:Network is down
    解决方案:#ifconfig wlan0 up
    #iwconfig wlan0 scan

你可能感兴趣的:(linux初学习)