Inserire qui sotto la propria password per il wiki remoto.
/!\ È necessario fidarsi di entrambi i wiki, poiché agli amministratori è possibile leggere la password.

Nascondi questo messaggio
Italiano English
Modifica History Actions

OpenWrtWiFiVirtualInterface

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'