How can I stop RUT240 EC25-J modem while several hours?

I want to stop RUT240 EC25-J modem while several hours in specific situation.

I tried ifdown mob1s1a1, but sometimes mob1s1a1 reconnected automatically.

How can I stop RUT240 EC25-J modem while several hours ?
I am using RutOS 7.6.5 SDK.

Hi,

To confirm if the modem is down and has been for a specific duration, it’s advisable to create a script. While I won’t provide a script, I’ll share the commands to temporarily disable and then enable the entire mobile interface. You’ll need to access the devices through CLI/SSH to execute these commands.

To disable the interface:

uci set network.mob1s1a1.disabled='1'
uci commit
/etc/init.d/network restart

After executing these commands, the network daemon will quickly restart.

To enable the interface:

uci set network.mob1s1a1.disabled='0'
uci commit
/etc/init.d/network restart

Again, after executing these commands, the network daemon will quickly restart again.

Best regards,

Marijus

This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.