|
2010-08-31
, 11:07
|
Posts: 62 |
Thanked: 6 times |
Joined on Jun 2010
@ Poland
|
#82
|
failed to find"MyIP" (ping error) ssh connection failure to"MyIP"
E = re.compile('(\d+)% packet loss') R = E.findall(Output)[0] except: logging.info( '(%s) DAEMON: failed to find "%s" (ping error)' % (GetCurrentTime(), REMOTEHOST) ) return False else: if R == '0':
|
2010-08-31
, 12:52
|
Posts: 200 |
Thanked: 300 times |
Joined on Nov 2009
@ The Netherlands
|
#83
|
|
2010-08-31
, 13:09
|
Posts: 62 |
Thanked: 6 times |
Joined on Jun 2010
@ Poland
|
#84
|
@ knypek3:
Arrgh, another bug in StatusConnection(): version 0.2.4 will be available.
Daemon error :failed to connect new network network error)
|
2010-08-31
, 17:30
|
Posts: 200 |
Thanked: 300 times |
Joined on Nov 2009
@ The Netherlands
|
#85
|
The Following User Says Thank You to digitalvoid For This Useful Post: | ||
|
2010-09-01
, 17:52
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#87
|
Nokia-N900:/usr/bin# smscon -log (Wed Sep 1 19:38:58 2010) DAEMON: user settings succesfully loaded from "smscon_config" file (Wed Sep 1 19:38:58 2010) DAEMON: reading valid IMSI code (xxeditxx) from file (Wed Sep 1 19:38:58 2010) DAEMON: authorized IMSI code found (Wed Sep 1 19:38:58 2010) DAEMON: smscon autoloads at boot (Wed Sep 1 19:38:58 2010) TEST: email (Wed Sep 1 19:38:58 2010) DAEMON: current network (WLAN) disconnected (Wed Sep 1 19:39:07 2010) DAEMON ERROR: failed to connect new network (network error) (Wed Sep 1 19:39:07 2010) DAEMON ERROR: failed to send email message to "xxeditxx" Nokia-N900:/usr/bin#
|
2010-09-01
, 19:09
|
Posts: 62 |
Thanked: 6 times |
Joined on Jun 2010
@ Poland
|
#88
|
|
2010-09-01
, 20:07
|
Posts: 200 |
Thanked: 300 times |
Joined on Nov 2009
@ The Netherlands
|
#89
|
- question: if there is a valid connection already established WLAN or GPRS why you disconnect first and try to reconnect? It seems to me that smscon should try to connect only if there is no valid connection active.
- improvement: new version installation should check if config file already exists and create only in the case its not. (at least as soon as you have the config file structure frozen).
- improvement/safety: code file should not be created automatically if not existing but at first installation.
hope you like some of the above proposals.
|
2010-09-01
, 21:23
|
Posts: 62 |
Thanked: 6 times |
Joined on Jun 2010
@ Poland
|
#90
|
It uses a reverse-ssh connection over WLAN/GPRS. I tested it over GPRS and it works, it's not super fast but is absolute workable.
Reverse-ssh is needed because most telecom operator use internal NAT address and no private public ones (like Vodafone in The Netherlands).