Scripting on Android - Adding wifi on reboot

Scripting on Android - Adding wifi on reboot

We are looking to adding a couple of scripts to the pre or post boot so that the Wifi and the P1, P2, P3 buttons are remapped for the Zebra WT6000. We have WT6000 that lose their wifi settings and sometimes their setting for P1, P2, P3 buttons. MobiControl doesn't seem to push out programming of buttons and once the wifi isn't working MobilControl can't talk to the device.

I can program bar codes for StageNow but we lock down the system after it's fully booted for warehouse staff.

Wondering if anyone has done this and how?

5 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 18 June 2020

Possibly an out of contact policy could work for that purpose. With that said, I really am not supportive of all these scripting workarounds you're trying to put in place to potentially fix a bug that could be addressed with a firmware update. 

  • 0
  • 0
Matthew Reedy | posted this 18 June 2020

That website worked. Thanks. 

Do you know if I can create a script that if the wifi goes out or loses itself it will run the wifi script that i sync to it?

  • 0
  • 0
Matt Dermody | posted this 18 June 2020

MX XML

https://arsenb.wordpress.com/2018/02/16/applying-zebra-mx-advanced-device-settings-via-soti-emm/

 

LG Update

Update to the latest LG before building workarounds to account for bugs in the LG version. 

 

Wifi Config

Again, the LG update could help fix this so I would start with that. Otherwise, how are you applying the WiFi configuration settings in the first place? Timing could be a factor in some networks but if the time is off I would expect the device to not be allowed to authenticate on the network but that is not the problem that you're describing. You're describing the WiFi Config completely disappearing off the device which should not happen if the time is off a few minutes.

 

  • 0
  • 1
Matthew Reedy | posted this 18 June 2020

I am not aware on how to take xml file package and apply it with mxonfig script. If you can point me in the right direction or have some examples that would be great.

 

You are correct we aren't on the most upgraded version of MobiControl or LG version.

 

Looks like its removing the wifi profile. Just rebooting doesn't bring back the wifi and we have to manually put in the SSID and passphrase to make it work again. I will check out the country code. Would time being off a 2-3 minutes cause any of these issues?

  • 0
  • 0
Matt Dermody | posted this 18 June 2020

Before you go down the path of a non-standard workaround like that please first make sure that your device is on the latest BSP and LG versions. The problems that you're describing are indicative of earlier firmware bugs that have since been addressed. If you already are on the latest BSP and LG then I would investigate what is causing the wireless radio to disconnect. Is it being disabled or is it losing the wireless configuration? I have seen scenarios where the radio gets disabled automatically if the country code is incorrect, or if you buy a ROW SKU and try to run it in a US facility. 

 

Also, if you weren't already aware you can export StageNow configurations to an XML that can be packaged and applied via SOTI in conjunction with the mxconfig script. 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback