Differenze tra le versioni 1 e 2
⇤ ← Versione 1 del 2011-11-23 22:17:37
Dimensione: 1433
Commento:
|
← Versione 2 del 2016-04-06 20:19:54 ⇥
Dimensione: 1730
Commento: fixed indentation
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 9: | Linea 9: |
option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'dns' '8.8.8.8' |
option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'dns' '8.8.8.8' |
Linea 17: | Linea 17: |
option 'ifname' 'wlan2' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'gateway' 'x.x.x.x' option 'dns' '8.8.8.8' |
option 'ifname' 'wlan2' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'gateway' 'x.x.x.x' option 'dns' '8.8.8.8' |
Linea 36: | Linea 36: |
option 'type' 'mac80211' option 'channel' '11' option 'macaddr' '54:e6:fc:dc:ce:f6' option 'hwmode' '11ng' option 'htmode' 'HT20' list 'ht_capab' 'SHORT-GI-40' list 'ht_capab' 'DSSS_CCK-40' option 'country' 'IT' option 'disabled' '0' option 'txpower' '20' |
option 'type' 'mac80211' option 'channel' '11' option 'macaddr' '54:e6:fc:dc:ce:f6' option 'hwmode' '11ng' option 'htmode' 'HT20' list 'ht_capab' 'SHORT-GI-40' list 'ht_capab' 'DSSS_CCK-40' option 'country' 'IT' option 'disabled' '0' option 'txpower' '20' |
Linea 48: | Linea 48: |
option 'device' 'radio0' option 'mode' 'ap' option 'network' 'lan' option 'encryption' 'psk2' option 'key' 'password' option 'ssid' 'wifi1' |
option 'device' 'radio0' option 'mode' 'ap' option 'network' 'lan' option 'encryption' 'psk2' option 'key' 'password' option 'ssid' 'wifi1' |
Linea 55: | Linea 56: |
option 'device' 'radio0' option 'mode' 'ap' option 'network' 'hotspot' option 'ssid' 'wifi2' |
option 'device' 'radio0' option 'mode' 'ap' option 'network' 'hotspot' option 'ssid' 'wifi2' |
Linea 61: | Linea 62: |
option 'device' 'radio0' option 'mode' 'sta' option 'network' 'wds' option 'ssid' 'wifi3' option 'bssid' 'macaddrAP' |
option 'device' 'radio0' option 'mode' 'sta' option 'network' 'wds' option 'ssid' 'wifi3' option 'bssid' 'macaddrAP' |
openwrt multiple virtual wlans
sample configuration
cat /etc/config/network
config 'interface' 'lan' option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'dns' '8.8.8.8' config 'interface' 'wds' option 'ifname' 'wlan2' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0' option 'gateway' 'x.x.x.x' option 'dns' '8.8.8.8' config 'interface' 'hotspot' option 'ifname' 'wlan1' option 'proto' 'static' option 'ipaddr' 'x.x.x.x' option 'netmask' '255.255.255.0'
cat /etc/config/wireless
config 'wifi-device' 'radio0' option 'type' 'mac80211' option 'channel' '11' option 'macaddr' '54:e6:fc:dc:ce:f6' option 'hwmode' '11ng' option 'htmode' 'HT20' list 'ht_capab' 'SHORT-GI-40' list 'ht_capab' 'DSSS_CCK-40' option 'country' 'IT' option 'disabled' '0' option 'txpower' '20' config 'wifi-iface' option 'device' 'radio0' option 'mode' 'ap' option 'network' 'lan' option 'encryption' 'psk2' option 'key' 'password' option 'ssid' 'wifi1' config 'wifi-iface' option 'device' 'radio0' option 'mode' 'ap' option 'network' 'hotspot' option 'ssid' 'wifi2' config 'wifi-iface' option 'device' 'radio0' option 'mode' 'sta' option 'network' 'wds' option 'ssid' 'wifi3' option 'bssid' 'macaddrAP'