Can we override Wi-Fi configuration from Profile if already configured with the StageNow Application

DM
D Malipatil
Daimler AG

Hello Team,

Namskaar.......

We are in some R&D, we want to change the existing wifi configuration which we have done in the StageNow by pushing the Payload with the new wifi configuration, will this is possible?

Regrads,

D.Malipatil

Mercedes-Benz.

2 years ago
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer
2 years ago

If you provide a new Wifi configuration for the same SSID, this should just be overwritten but it's also easy to test.
Just provide such a profile to a test device and check if it was overwritten. But be aware that if you revoke this profile, this Wifi will be completely forgotten (same when you delete/unenroll the device).


I recommend, especially if you have a Wifi only device, to provide the new Wifi configuration via StageNow again, if you need it being kept after the device is being deleted or unenrolled from Soti.

DM
D Malipatil
2 years ago

Hello Rafael,

Appreciate your swift response, the test I wann try is to configure the new wifi and i want to push it via Wifi Payload-Profile not again by stageNow.

I will test this, if you have tested this already let me know, i have done this changing the wifi with exist but that was pushed by profile not by StageNow.

RS
Rafael Schäfer
2 years ago

I did this in another purpose.
So, we needed to get rid of a stored Wifi SSID which was entered during enrollment, so we provided a profile for this SSID (with wrong password which forces the device to disconnect from this Wifi) and later revoked it.

So, I'm pretty sure it will work to override the settings in your if the SSID is the same but never do something without testing and verifying it.

DM
D Malipatil
2 years ago

How we can delete the SSID which was configured by StageNow remotely ?

RS
Rafael Schäfer
2 years ago

As just written:

...we provided a profile for this SSID (with wrong password which forces the device to disconnect from this Wifi) and later revoked it.

Be aware that the device then still has any other data connection available! Otherwise you generate a big impact!

But we didn't use StageNow to provide it before. So you need to test.

ZC
Zafer Cigdem
2 years ago

Hello D Malipatil,

As said earlier if you revoke the profile, you may miss the WiFi configuration, I've done something by using JavaScript script earlier. You may review here as well: Namespace: wifi | Android Agent JavaScript (soti.net)

Either way, it's better to testing on single device first. I hope it helps. Thank you

Zafer

RS
Rafael Schäfer
2 years ago

Nice to show this up for javascript. I haven't looked into that yet so much but seem to provide better functionality if you want to remove a store wifi.

So, I would recommend to use this instead of my (old) solution where Javascript haven't had this functionality but still with same awareness.

ZC
Zafer Cigdem
2 years ago

Just a note here, to let my device automatically connect to a new WiFi that was set via JS API, I did use below JS script at the end as well:

var accessPoint = mobicontrol.wifi.listAccessPoints().find(ap => ap.ssid == "QAA");

mobicontrol.wifi.enable(accessPoint)

Otherwise, AFAIK if we don't use above 2-line code, the device(s) only get the information related to Wi-Fi but not attempt to connect.

P.S. This is available for Agent version 15.4.0+.

Zafer

M
MNMOD@SOTI
2 years ago

Hi Dmalitpatil,

Namaskaar!!

Thank you for posting on SOTI Pulse!

I see that couple of answers are provided. Did you get the answer to the information that you were looking for? If yes, please feel free to mark the post as Solution that helped you resolve the issue.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net l Discussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter 

Similar Discussions