A config file for Raspberry Pi 4B with OpenWrt to working as an AP

# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option hwmode '11a'
        option htmode 'VHT40'
        option channel 'auto'
        option country '00'

config wifi-iface 'wifinet0'
        option ssid 'OpenWrt'
        option encryption 'none'
        option device 'radio0'
        option mode 'ap'
        list maclist 'XX:XX:XX:XX:XX:XX'
        option macfilter 'allow'
        option network 'lan'

Leave a Reply

Your email address will not be published.

Proudly powered by WordPress