Every time my USB modem (/dev/dlinkModem) gets unplugged it defaults to "radio disabled mode" (AT+CFUN:4).

I can easily enough call AT+CFUN:1 through the minicom application console to enable radio again. However, I would of course like to make this an automated task as it sits on my server.

Any ideas?

  • 1
  • Perect! Thank you. cant accept a comment as an answer tho :) – wyldcard Dec 29 '18 at 2:30
  • make it work (it's usually called from pppd but doesn't have to) and write the answer yourself on how you made it work for your case. – A.B Dec 29 '18 at 2:33
  • 1
    I think expect(1) was designed for this. – wef Dec 30 '18 at 0:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.