Site Tools


tips_and_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tips_and_tricks [2012/02/13 22:10] – Add a link to powertop-for-arm paulftips_and_tricks [2013/02/01 21:31] – [Wireless connectivity without NetworkManager] add APN specification paulf
Line 105: Line 105:
                         "" ABORT ERROR ""                               \                         "" ABORT ERROR ""                               \
                         AT*ENAPDBG=1 OK                                 \                         AT*ENAPDBG=1 OK                                 \
 +                        'AT+CGDCONT=1,"IP","internet.beeline.ru"' OK    \
                         "AT*ENAP=1,1" "*ENAPDBG: 1,1"-"AT*ENAP=1,1"-"*ENAPDBG: 1,1" < /dev/ttyACM1 > /dev/ttyACM1 || \                         "AT*ENAP=1,1" "*ENAPDBG: 1,1"-"AT*ENAP=1,1"-"*ENAPDBG: 1,1" < /dev/ttyACM1 > /dev/ttyACM1 || \
                                  ! chat -v "" AT*E2RESET < /dev/ttyACM1 > /dev/ttyACM1                                  ! chat -v "" AT*E2RESET < /dev/ttyACM1 > /dev/ttyACM1
Line 110: Line 111:
 </code> </code>
  
-This assumes your card has PIN disabled, if it's not, you should be able to add ''AT+CPIN="abcde"'' command where appropriate. If you hot-swap the SIM card you might need to issue the ''AT*E2RESET'' command manually. The modem supports messaging via SMS and USSD requests, e.g. this works with Beeline to see the amount of money left:+This assumes your card has PIN disabled, if it's not, you should be able to add ''AT+CPIN="abcde"'' command where appropriate. If you hot-swap the SIM card you might need to issue the ''AT*E2RESET'' command manually (or do ''ifup wwan0'' twice). The modem supports messaging via SMS and USSD requests, e.g. this works with Beeline to see the amount of money left:
 <code> <code>
 #!/bin/sh #!/bin/sh
 /usr/sbin/chat -vs "" "AT+CUSD=1,\"*102#\",15" "OK" < /dev/ttyACM1 > /dev/ttyACM1  /usr/sbin/chat -vs "" "AT+CUSD=1,\"*102#\",15" "OK" < /dev/ttyACM1 > /dev/ttyACM1 
 </code> </code>
tips_and_tricks.txt · Last modified: 2013/02/15 17:13 by turbooster