Ticket #12186: wireless

File wireless, 1.5 KB (added by mikejuni@…, 5 years ago)

My wireless config for the non-working router.

Line 
1
2config wifi-device 'radio1'
3        option type 'mac80211'
4        option channel '157'
5        option macaddr 'aa:bb:cc:dd:ee:ff'
6        option hwmode '11na'
7        option htmode 'HT40+'
8        list ht_capab 'SHORT-GI-40'
9        list ht_capab 'TX-STBC'
10        list ht_capab 'RX-STBC1'
11        list ht_capab 'DSSS_CCK-40'
12        option country 'HK'
13        option distance '8'
14        option noscan '1'
15        option disabled '0'
16        option txpower '20'
17
18# This is the STA for 5G
19config wifi-iface
20        option device 'radio1'
21        option network 'lan'
22        option mode 'sta'
23        option ssid 'SSID'
24        option encryption 'psk2+ccmp'
25        option key 'password'
26        option wds '1'
27        option bssid 'bb:cc:dd:ee:ff:aa'
28# The above bssid is the one for the primary wireless router which it is suppose to extend.
29
30# This is the AP for 5G
31config wifi-iface
32        option device 'radio1'
33        option network 'lan'
34        option mode 'ap'
35        option wds '0'
36        option ssid 'SSID'
37        option encryption 'psk2+ccmp'
38        option key 'password'
39# SSID is the WLAN that it extends, and the password is the password of SSID.
40
41# radio0 is a 802.11g wifi that is used for non 5Ghz device. This is a simple AP.
42config wifi-device 'radio0'
43        option type 'mac80211'
44        option macaddr '4c:e6:76:c2:67:1c'
45        option hwmode '11ng'
46        list ht_capab 'SHORT-GI-40'
47        list ht_capab 'TX-STBC'
48        list ht_capab 'RX-STBC1'
49        list ht_capab 'DSSS_CCK-40'
50        option channel '5'
51        option txpower '16'
52        option htmode 'HT20'
53        option country 'HK'
54        option noscan '1'
55
56# This is just a AP for 2.4Ghz
57config wifi-iface
58        option device 'radio0'
59        option network 'lan'
60        option mode 'ap'
61        option wds '0'
62        option ssid 'SSID2G'
63        option encryption 'psk2'
64        option key 'password'
65