把这几天使用无线的过程写下来,岁数大了,忘性太严重。
1. 无线配置
- [root@localhost /]# ifconfig eth0 down ;首先关闭有线网卡
- [root@localhost /]# wlanconfig ath0 create wlandev wifi0 wlanmode sta ;如果没有无线则创建
- [root@localhost /]# ifconfig ath0 up ;启动无线网卡ath0
- [root@localhost /]# ifconfig ;查看无线信息,出现HWaddr 00:12:34:56:78:90
- [root@localhost /]# iwlist ath0 scan
- ath0 Scan completed :
- Cell 01 - Address: 00:1F:64:E1:96:51
- ESSID:"test1"
- Mode:Master
- Frequency:2.412 GHz (Channel 1)
- Quality=50/94 Signal level=-71 dBm Noise level=-121 dBm
- Encryption key:off
- Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
- 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
- 48 Mb/s; 54 Mb/s
- Extra:bcn_int=100
- Extra:rsn_ie=30140100000fac020100000fac020100000fac020000
- Extra:wme_ie=dd180050f2020101020003a4000027a4000042435e0062322f00
- Extra:ath_ie=dd0900037f01010000ff7f
- [root@localhost /]# iwconfig ath0 essid " test1" ;使用无线网络名称接入
- [root@localhost /]# ifconfig ath0 192.168.22.196 ;不解释
- [root@localhost /]# ping 192.168.22.1 ;验证一下
阅读(801) | 评论(0) | 转发(0) |