設定流程
#iwlist wlp1s0 channel
wlp1s0 21 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
#ifconfig wlp1s0 down
#iw reg set IL
#iw reg get
country IL: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
(5250 - 5350 @ 80), (N/A, 23), (0 ms), NO-OUTDOOR, DFS
//注意此處命令為
//iw dev wlp1s0 set freq <control freq> [20|40|80|80+80|160] [<center freq>]
//control freq 為控制用通道 在頻寬內找一個20M頻道就可
//iw dev wlp1s0 set channel 4 HT20 這個可以設定 2.4G 下 01~13頻道! HT20 為頻寬20M
#iw wlp1s0 set freq 5220 40 5230
#ifconfig wlp1s0 up
#iwconfig wlp1s0
wlp1s0 IEEE 802.11 Mode:Master Tx-Power=23 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
#iw dev wlp1s0 info
Interface wlp1s0
ifindex 5
wdev 0x1
addr 04:f0:21:4c:ab:f9
ssid test_ap_5g
type AP
wiphy 0
channel 44 (5220 MHz), width: 40 MHz, center1: 5230 MHz
WIFI 頻率表
留言列表