Just been at a customer trying to fix a problem with a really old wavecom modem that seem to malfunction after detaching from the gsm layer. This worked fine:
… and this failed in a script:
But worked when executing the commands (bash functions that wrapped the various chat scripts) one by one …. strange. Not really. Timing problems, as usual!
OK, so we added a small sleep (1 second I think) after attaching to gprs. Et voila. it worked again.
…. modems modems modems. Can’t live with or without them 😉