Notices


Reply
Thread Tools
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#71
Originally Posted by zimon View Post
Would be good next step before new features is added.

http://wiki.maemo.org/Extras-devel
I have made a deb file (yeah!) with PyPackager, but I have some trouble with the dependancy files (they won't automatically install). If the dependancy files are already on the device it will install fine. Some option I missed?

Code:
p.author = 'Digitalvoid'
p.maintainer = 'Digitalvoid'
p.email = xxxx@xxxxxxxx.nl'
p.depends = 'maemo-python-device-env, python-location, pexpect, openssh'
p.section = 'user/utilities'
p.arch = 'armel'                     
p.urgency = 'low'                              
p.distribution = 'fremantle'                 
p.repository = 'extras-devel'

Last edited by digitalvoid; 2010-08-30 at 13:26.
 
Posts: 56 | Thanked: 11 times | Joined on Jan 2010
#72
what happens if i change the code:
Code:
Comlist                                                          = ['location'
]
and all of the other comlist codes to a different word.

say for example, i'd want to change the smstrigger: 'location' to 'where are you'

as that wouldn't trigger the thiefs attention so much when you send a tekstmessage with "where are you"
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#73
New version is out (v0.2.2).

@ AlexV12:

In the new version you can customize this in the smscon_config file.
 
Posts: 56 | Thanked: 11 times | Joined on Jan 2010
#74
and where do i find/edit the smscon_config file after i've installed the .deb?
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#75
Originally Posted by AlexV12 View Post
and where do i find/edit the smscon_config file after i've installed the .deb?
In /usr/bin

See first post (has all the new information)

Last edited by digitalvoid; 2010-08-30 at 20:52.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#76
hmn...
when i install deb and try call nothing happen.
and in log write
Code:
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: user settings succesfully loaded from "smscon_config" file
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: reading valid IMSI code (260019603296619) from file
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: authorized IMSI code found
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: smscon autoloads at boot
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: no test arguments passed for daemon
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/smscon_daemon", line 207, in SMSreceive
    ExecuteCommand(Message, Number) # execute valid sms command
  File "/usr/bin/smscon_daemon", line 247, in ExecuteCommand
    if Com in ComList:
NameError: global name 'ComList' is not defined
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/smscon_daemon", line 207, in SMSreceive
    ExecuteCommand(Message, Number) # execute valid sms command
  File "/usr/bin/smscon_daemon", line 247, in ExecuteCommand
    if Com in ComList:
NameError: global name 'ComList' is not defined
To author.
When you giving a new version in deb, can you give a version in py also? I want python version more then deb.
__________________
Maemo Meego Maego!
 
Posts: 56 | Thanked: 11 times | Joined on Jan 2010
#77
Originally Posted by digitalvoid View Post
In /usr/bin

See first post (has all the new information)
i understand that, but how do i edit it, as normally you would edit the file before putting it in /usr/bin
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#78
Originally Posted by AlexV12 View Post
i understand that, but how do i edit it, as normally you would edit the file before putting it in /usr/bin
Hi,

install leafpad from the application manager
Open xterm
type:
root
leafpad /usr/bin/smscon_config

You are ready to edit & save.

Hope it helps.
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#79
@ knypek3:

version 0.2.2 will be replaced by 0.2.3.

There is a bug in 0.2.2; I have forgotten to change the name of a variable. Sorry.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#80
Originally Posted by digitalvoid View Post
@ knypek3:

version 0.2.2 will be replaced by 0.2.3.

There is a bug in 0.2.2; I have forgotten to change the name of a variable. Sorry.
OK, thanks. I send You a priv.
Can you write a func when sms with command example "ssh" arrived
n900 connect to gprs and send to xterm command
"ssh -p 22 user-name@IP -R 1201:localhost:22" ??

But this command should be mod, to can manualy type IP and password.

It work's great and give a full control anywhere your n900 is.
http://www.youtube.com/watch?v=3msLEENRUcM
__________________
Maemo Meego Maego!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:47.