View Single Post
Posts: 26 | Thanked: 11 times | Joined on Nov 2009
#9
@alex
You must copy sms.py and sms_gps.py to the /usr/sbin folder. There is no chmod folder. chmod is a unix command that lets you change file permissions. In this case, we need these files to execute, so type in:
Code:
cd /usr/sbin
chmod 755 sms.py
chmod 755 sms_gps.py
Finally, the file 'banana' is the script that runs at bootup. It must be copied to /etc/event.d

Make sure you edit the parameters at the top of this file.

VALID_IMSI=XXXXXXXXXXX # this is your own IMSI
SEND_TEXT_INTERVAL=120.0 # how often (sec) to send SMS
HOME_PHONE=XXXXXXXXXX # designated phone number to send SMS and phone calls
TIME_WAIT_TO_CALL=60 # time to wait (sec) after invalid SIM card detected before making phone call
ALERT_CODE="XXXXXXXXX" # SMS code used to activate alert mode

To fill out the VALID_IMSI field, you can find your own IMSI by entering this into the terminal:
Code:
dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM Phone.Sim.get_imsi