ECM Mode: Best way to shut down

For my use case I will need to bring internet up and bring it down periodically.

So what is recommended best practice on what commands I should use to do that?

/sbin/ifconfig wwan0 down obviously does the job, but bringing it back up then becomes problematic – it isn’t possible until I reboot.

AT#ECMD=0 does the job, but leaves the wwan0 apparently up and the routing table still is there.

1 Like

A further question: is there a way to put the device into airplane mode or even power it down other than using the GPIO pins?

1 Like