Uci rules default

What is the default settings for this?

gl-black_white_list.global=global
gl-black_white_list.global.enable='1'
gl-black_white_list.global.mode='white'
gl-black_white_list.black=list
gl-black_white_list.white=list

If I get rid of '1' and 'white' will it be stock?

edit add.

Guess I can try edit the file and see if OK then see if revert or commit will be correct??

Guess worse comes to worse I can reset it and start all over.

This is default configuration of /etc/config/gl-black_white_list and uci list:

config global 'global'
    option enable '1'
    option mode 'black'

config list 'black'

config list 'white'

config secure_option 'lan'
    option ap_isolate '0'

config secure_option 'guest'
    option ap_isolate '1'
    option transfer_enable '0'

gl-black_white_list.global=global
gl-black_white_list.global.enable='1'
gl-black_white_list.global.mode='black'
gl-black_white_list.black=list
gl-black_white_list.white=list
gl-black_white_list.lan=secure_option
gl-black_white_list.lan.ap_isolate='0'
gl-black_white_list.guest=secure_option
gl-black_white_list.guest.ap_isolate='1'
gl-black_white_list.guest.transfer_enable='0'

May I know what do you want to setup with uci?

Thank you.

Changing "white" to "black" was the correction I needed?

I want clients to be allowed without mac filtering. I did some edit and now I have to set mac addresses filtering to new clients.

I assume uci and vi vim nano to the config file will provide same edit. The only thing I knew about uci command is that I had a chance to not commit in case of mini disaster.

Hello,

You can configure through GL GUI -> Client -> Access Control.

Even through the uci and vi/vim to edit, it will take effect only after commit and restart the services, to verification if it works.

For this function, use the GL GUI to configure will be better.

1 Like

I'll look again. Maybe I missed the choice.