I am trying to configure an AP through CLI but I am strugling with some comands.
1) I cant find how to add,modify or remove a MAC Address under the Wireless MAC Filter Table through CLI. Is this possible?
2) If my WPA2 Pre-shared Key contains a special character like "!" (exclamation mark) how should i configure it through CLI? For example if my password is "123456789!" and I do "config set wirelessInterfaceEncryptionKey "123456789!" then after "config commit" command my password becomes "123456789\!" but i dont want this "\" character. How should I type the password that includes a special character through CLI?
3) If I download the editable configuration file from the device and edit it I can see the commands about user passwords under "cambiumSysAccountsTable". In the new version is it possible to configure user passwords through CLI?
Regarding your Pre-shared key scenario, it looks like the CLI may have an issue handling special characters. We need to investigate but in the meantime, you could use the SNMP support in CLI to do what you want. For example, from CLI, you can do the following:
snmp set -v 2c -c private <IP> .1.3.6.1.4.1.17713.21.3.8.2.4.0 s "123456789!"
snmp set -v 2c -c private <IP> .1.3.6.1.4.1.17713.21.4.3.0 i 1
snmp set -v 2c -c private <IP> .1.3.6.1.4.1.17713.21.4.4.0 i 1
snmp get -v 2c -c private <IP> .1.3.6.1.4.1.17713.21.3.8.2.4.0
where <IP> is the IP of the device, or the fallback IP (169.254.1.1) or localhost (127.0.0.1). First command writes the new Pre-shared Key, the next two commands, saves and applies to change to the configuration and the last command, gets the Pre-shared Key, as a verification.
Lastly, CLI cannot change/access the user passwords information. I would encourage you to take a look at cnMaestro, which will allow you to have control over these and other configuration parameters safely.
About Wireless MAC Filter thats exactly what I needed.
I hope you can solve tha CLI special character issue in next releases.
I know passwords and configuration can be changed from cnmaestro and I do use it. Just wanted to know if something changed about CLI policy. Could that policy change in the future?
Unfortunately, I do not believe adding user password management to CLI is on the roadmap, as the Development team is pretty busy with the next generation family of products.
So I need to insert in the Wireless Filter table a name next to the MAC address, as we said I need the command
"config set wirelessMACFilterTable 1 wirelessFilterInfo Test1" and like this I insert the text "Test1" for rule number 1. Here all ok.
Now i am trying to insert the text "Jack Daniels" but if I insert the command "config set wirelessMACFilterTable 1 wirelessFilterInfo Jack Daniels" I get Syntax error: Illegal command line.
Then i tried to insert the " character like this: config set wirelessMACFilterTable 1 wirelessFilterInfo "Jack Daniels" but this saves only the name "Jack".
So the question is how can I insert a space to save it correctly?