Recently I had the same problems with a dell inspiron. Following the suggestion from their tech support, after exhausting all other possibilities, we had to reseat the actual mini pcmodem card (take it out and put it back in).
In short this made it work longer than 5 seconds, even for a day or two at a time then eventually I had them send a replacement and it’s worked ever since. Hope this helps.