OpenWrt Forum Archive

Topic: Configuration script?

The content of this topic has been archived on 2 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

Is there a script or a software which asks nvram settings at startup? Like wanted channel and ssid?  I should flash and configure large amount of routers and that script would help me alot!

anyone?

it reads /etc/config/wireless

could be something like

config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'channel' '11'
        option 'macaddr' '00:23:69:cd:d2:b0'
        option 'hwmode' '11ng'
        option 'htmode' 'HT20'
        list 'ht_capab' 'SHORT-GI-40'
        list 'ht_capab' 'DSSS_CCK-40'
        option 'disabled' '0'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'network' 'lan'
        option 'mode' 'ap'
        option 'ssid' 'ssidname'
        option 'encryption' 'passphrase'

lol just saw your 'old' post.. Bet you by now you got it fixed smile

The discussion might have continued from here.