I have settled up my internet connection as described at it's a clean machine blog . I've settled everything up. However, my ISP informs me by an SMS that I'm getting close to the monthly FUP, and I have no other way how to get this information. Is it possible to reciever SMS messages on my Huawei E220 dongle? I'm then able to set up a cron system that would send me the SMS messages on my e-mail.


you might be able to get your SMS messages by outputting some AT commands to your modem:

$ echo 'AT+CMGF=1' > /dev/ttyUSB1
$ echo 'AT+CMGL="ALL"' > /dev/ttyUSB1

and view the results in another window, where you catch the output using:

$ cat /dev/ttyUSB1


  • ok, I'll try. One more question: There're too tty's for this device, ttyUSB0 and ttyUSB1 -- why is that? I obviously use ttyUSB0 for ISP, does it mean I have to use the other one for SMS? Is there any difference between them? Thx! – yo' May 16 '13 at 9:57
  • Seems like the /dev/ttyUSB0 is the interface to connect to the mobile phone provider, and the /dev/ttyUSB1 is the interface in which you can issue AT commands to and read the response back from. – lenik May 16 '13 at 10:24

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.