操作步骤如下:
1. 启动无线网卡
ifconfig wlan0 on
2. 扫描无线接入点
iwlist wlan0 scanning
3. 连接接入点
iwconfig wlan0 essid YOUR-SERVICE-NAME
4. 配置网络
例如
ifconfig wlan0 192.168.xxx.xxx netmask 255.255.255.0 up
5. 测试
例如
ping 192.168.1.1
转载于:https://my.oschina.net/u/2450896/blog/601126