Connection manager


#1

Hello you all,

I have a project that runs on an FX30 Gateway, basically I have some python scripts that connects do a server and send some data. Now I am facing a problem, that I must allow the Internet connection interface according to a user preference in a file.

The way I am doing now is to use a python script that calls ‘cm’ commands to configure cellular network and ‘ifup’ and ‘ifdown’ to disable and enable ethernet.

When I run it on terminal it works just fine, but when I put it on legato framework it times work and times not.

I would like some opinion, if it is the best way for me to do this or there is a better way.

Thanks in advance!

Gustavo


#2

Hi Gustavo,
Have you tried posting your question in the Legato forums?
BR,
Chris