Sep-17-2017, 03:05 AM
Hi everyone,
I am trying to activate and deactivate the "usb modem" by Python code, but it does not work, do you know any way to do it?
USB Modem:
[Image: vodafonethestickusb.jpg]
I tried with "cmd" command line but it did not work
:
import os
cmd = 'ifconfig wlan0 down'
os.system(cmd)
I appreciate very your comments
Regards
Karlo
I am trying to activate and deactivate the "usb modem" by Python code, but it does not work, do you know any way to do it?
USB Modem:
[Image: vodafonethestickusb.jpg]
I tried with "cmd" command line but it did not work

import os
cmd = 'ifconfig wlan0 down'
os.system(cmd)
I appreciate very your comments
Regards
Karlo