Change SSID with OpenVPN active

Hello I’m an amateur user and I have the Mango V2 router.

I currently have the switch on my router to toggle OpenVPN on/off I think it would be a really nice feature if the SSID could change depending on the OpenVPN config file or even if OpenVPN was active.

e.g: OpenVPN non active;
SSID = Mango

OpenVPN active;
SSID = Mango+

Or if the SSID was linked to the OpenVPN config files SSID = MangoUK, MangoUS, etc.

Anyway if it’s possible already how do you do it? If not I’ll add it to the feature requests.

yes it is possible.

You need to change this script: /etc/init.d/startvpn

In start script change ssid to Mango+, in stop script change said to Mango

changing SSID:

uci set wireless.@wifi-iface[0].ssid='xxxxx'
uci commit wireless

If the above does not take effect you need to restart network

/etc/init.d/network reload

First thank you so much, but I’m quite ignorant of how to go about doing that, can I edit the script from my browser**etc/init.d/startvpn** doesn’t take me anywhere.

Do you know some Linux thing? Eg shell script.

If not then it is better just give up.

Here is how to edit things in router.

I couldn’t disagree more! When I bought my first GL router, I had little idea of Linux, Bash, SSH or any scripting but it is quite easy to learn and the people here are also very helpful.

Regarding the OP, you can edit the startvpn file using WinSCP (WinSCP :: Official Site :: Download).