Hello Guys,
I am sorry for this stupid question but I just could not figure it out.
I wanted to add a virtual wireless interface like the following code. My problem is that i want as ssid the name of the router plus this sign : /2
I just do not know how to make that possible. As you can see in the code I tried some things out, but it did not work. The challenge also is that I do not use any variables.
I hope someone can help me with this thing.
/interface wireless add […] ssid="$[/sys id get name]/2" […]
on your example
ssid=(“[/system/identity/get name]”.“/2”)
must be writed:
ssid=([/system/identity/get name].“/2”)
without quotas, [/system/identity/get name] is a “command”, not a string, and why “escape” the “/” ???
I suggest you to not use extra characters on SSID but use only “standard” -, 0-9, A-Z, a-z and _ for prevent problems with iSewer phone…
And not just on MikroTik products. I still have problems with iSewer and other old smartphones if are used “strange” characters (from smartphone point of view).
My recommendation is to avoid using non-standard characters in your SSID and only use “-”, 0-9, A-Z, a-z, and “_” to prevent issues with older smartphones like iSewer.