Community discussions

MikroTik App
 
DanielT
just joined
Topic Author
Posts: 15
Joined: Wed Dec 13, 2017 6:55 pm

caps-man configuration -> set country issue via script

Mon Nov 27, 2023 11:54 am

Hi All

I'm surely doing something wrong but would appreciate your input.

I've been setting up my caps-man devices manually up until now, but have decided to script them. I am using the following code snippet:
/caps-man configuration 
	add name=hotspot datapath=hotspot mode=ap ssid=blah distance=indoors country="south africa" installation=indoor
This code works no problem if I enter it at the Terminal prompt, but gives me an error "input does not match any value of country" if I place it in my script.

Any idea how I can get this to work please?

(tried on both 7.10 and 7.12.1)

Thanks

DanielT