10 Febbraio, 2012, 06:04:18 *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?

Accesso con nome utente, password e durata della sessione
Notizia: È stato rilasciato Ubuntu 11.10 Oneiric Ocelot! Per tutte le informazioni su come ottenerlo CLICCA QUI
 
   Indice   FAQ Aiuto Regolamento Ricerca Accedi Registrati  
3rd Party Projects

Questa sezione ha lo scopo di raccogliere le iniziative/progetti della nostra comunità legati ad Ubuntu.
I progetti ospitati nascono da iniziative degli utenti o gruppi di utenti.
In futuro i progetti potrebbero rimanere iniziative "personali" o essere integrate nella distribuzione, sponsorizzate da Ubuntu o dalla Canonical a discrezione dei responsabili.
All'interno di essa, sarà possibile inserire delle discussioni che hanno la funzione di pubblicizzare avvenimenti, iniziative e progetti software su Ubuntu e GNU/Linux in generale
Sarà inoltre possibile, per un utente proporre lo sviluppo di nuovi software, in questo caso la discussione di richiesta avrà la funzione di generare un requisito funzionale del prodotto da sviluppare
  • Sez. I - Iniziative
    • Fanno parte di "iniziative", ad esempio, le seguenti categorie: corsi, progetti editoriali, libri.
    • La segnalazione di una iniziativa avviene creando una discussione con l'annuncio.
    • Una volta effettuata la segnalazione, la discussione viene chiusa dal Gruppo Staff o moderatore della sezione.
    • Se l'iniziativa esposta, comporta un costo di adesione o fruizione, questo deve essere esplicitamente riportato all'interno della discussione.
    • È obbligatorio, segnalare all'interno della discussione i riferimenti per poter contattare/partecipare all'iniziativa.
  • Sez. II - Progetti
    • La segnalazione di un progetto software, come per le iniziative, avviene e si sviluppa all'interno di una singola discussione.
    • Sarà consentito l'inserimento di software solo se rilasciati sotto licenza GPL (in tutte le sue versioni) o equivalente, tale da garantire all'utente l'utilizzo del prodotto senza restrizioni e allo sviluppatore la proprietà intellettuale del codice prodotto.
    • Nell'oggetto della discussione, dovrà essere riportata la categoria ed una semplice descrizione del tool.
    • Se il progetto ha già un sito che lo ospita, sarà a discrezione del Gruppo Staff o del moderatore della sezione chiuderla come segnalazione o lasciarla aperta.
    • Se il progetto non ha un sito che lo ospita, si potranno aprire due discussioni, una per proporre modifiche/implementazioni (dove nel titolo occorre specificare [sviluppo]) ed una per segnalare problemi (e nel titolo dovrà comparire [supporto])
    • Non è consentita l'apertura di nuove discussioni in riferimento a versioni superiori o modificate di un prodotto già riportato in precedenza.
    • Se il software, oggetto del progetto, ha una dimensione non superiore ai 200Kb, per prodotti che non hanno un sito che li ospita, sarà possibile allegarlo alla discussione.
  • Sez. III - Proposte
    • Una proposta deve essere eseguita e si svilupperà all'interno di una singola discussione.
    • Le proposte dovranno essere inserite direttamente nella sezione "3rd Party Projects".
    • Dovranno essere specificate le funzionalità che devono essere sviluppate.
    • Non dovranno essere riportate diciture tipo "...deve fare come questo software...", ma indicare nel miglior modo possibile i requisiti.
    • Una volta segnalato, la discussione resterà aperta per consentire uno scambio di idee su come sviluppare il codice o finché uno sviluppatore non fornirà una soluzione (da pubblicizzare poi, come visto prima, nella sezione Progetti) che ne soddisfi il requisito.
Per consentire una più semplice consultazione della sezione, nel titolo dovrà essere specificata la categoria di appartenenza, ad esempio:
  • [Iniziativa]
  • [Progetto]
  • [Proposta]
Per quanto non esposto sopra, si fa comunque riferimento al Regolamento del forum ed al Codice di Condotta della Community.
Pagine: 1 [2] 3 4   Vai giù
  Stampa  
Autore Discussione: [Internet] Controllo soglie connessione UMTS (naviga 3, Tre dati, etc etc)  (Letto 12988 volte)
0 Utenti e 1 Utente non registrato stanno visualizzando questa discussione.
The Elle
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 820

Media messaggi


Dritti alla meta e conquista la preda!!!!


Mostra profilo
« Risposta #20 inserita: 15 Marzo, 2009, 14:32:44 »

Allora ecco i tre casi d'errore:

1. Ho consumato 4,5 MB. Se inserisco traffico max 2 MB crasha e da quest'errore:

Codice:
cou@cou-laptop:~$ sudo python /usr/lib/pyWvDialPlus/pyWvDialPlus.py

Connections tables created for ppp0

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

Error on update record

/usr/lib/pyWvDialPlus/wvdialGUI/guigtk/main.py:409: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed

  self.details_textbuf.insert_with_tags(self.details_textiter, message, self.details_tags[message_type])

record for the current connection updated: 26

[(26, 6832, u'2009-03-15 14:14:33', u'2009-03-15 14:15:06', 0, 0)]

SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')

Sent Bytes: 0. Received Bytes: 0. Total traffic in current session: 0

Total traffic consumed in the selected period: 4806239 bytes!

Segmentation fault

2. Un caso anomalo, nn aggiorna più il traffoico speso (però nn crasha):

Codice:
cou@cou-laptop:~$ sudo python /usr/lib/pyWvDialPlus/pyWvDialPlus.py
Connections tables created for ppp0
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
Error on update record
/usr/lib/pyWvDialPlus/wvdialGUI/guigtk/main.py:409: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  self.details_textbuf.insert_with_tags(self.details_textiter, message, self.details_tags[message_type])
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:32', 0, 43)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 43. Received Bytes: 0. Total traffic in current session: 43
Total traffic consumed in the selected period: 4806944 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:33', 28, 71)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 71. Received Bytes: 28. Total traffic in current session: 99
Total traffic consumed in the selected period: 4807000 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:33', 56, 99)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 99. Received Bytes: 56. Total traffic in current session: 155
Total traffic consumed in the selected period: 4807056 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:34', 124, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 124. Total traffic in current session: 309
Total traffic consumed in the selected period: 4807210 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:35', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:36', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:37', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:38', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:39', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:40', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:41', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:42', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:43', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:44', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:46', 146, 185)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 185. Received Bytes: 146. Total traffic in current session: 331
Total traffic consumed in the selected period: 4807232 bytes!
record for the current connection updated: 29
[(29, 9027, u'2009-03-15 14:18:58', u'2009-03-15 14:19:48', 146, 247)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 247. Received Bytes: 146. Total traffic in current session: 393
Total traffic consumed in the selected period: 4807294 bytes!
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/pyWvDialPlus/wvdialGUI/wvdial/scheduler.py", line 24, in run
    time.sleep( self._runtime - start )
IOError: [Errno 22] Argomento non valido

Registrato

Non cercare di piegare il cucchiaio, è impossibile... Convinciti dell'unica possibile verità: che il cucchiaio non esiste...

Tutto ciò che ha un'inizio, ha anche una fine...
The Elle
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 820

Media messaggi


Dritti alla meta e conquista la preda!!!!


Mostra profilo
« Risposta #21 inserita: 15 Marzo, 2009, 14:33:10 »

3. E questo è quando arriva al traffico max:

Codice:
0354
Total traffic consumed in the selected period: 5217648 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:07', 294019, 116335)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 116335. Received Bytes: 294019. Total traffic in current session: 410354
Total traffic consumed in the selected period: 5217648 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:08', 294019, 116335)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 116335. Received Bytes: 294019. Total traffic in current session: 410354
Total traffic consumed in the selected period: 5217648 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:09', 294568, 118579)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 118579. Received Bytes: 294568. Total traffic in current session: 413147
Total traffic consumed in the selected period: 5220441 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:10', 294672, 118579)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 118579. Received Bytes: 294672. Total traffic in current session: 413251
Total traffic consumed in the selected period: 5220545 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:11', 294840, 119893)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 119893. Received Bytes: 294840. Total traffic in current session: 414733
Total traffic consumed in the selected period: 5222027 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:12', 295263, 119997)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 119997. Received Bytes: 295263. Total traffic in current session: 415260
Total traffic consumed in the selected period: 5222554 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:13', 295263, 119997)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 119997. Received Bytes: 295263. Total traffic in current session: 415260
Total traffic consumed in the selected period: 5222554 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:14', 295263, 119997)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 119997. Received Bytes: 295263. Total traffic in current session: 415260
Total traffic consumed in the selected period: 5222554 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:15', 295263, 120059)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120059. Received Bytes: 295263. Total traffic in current session: 415322
Total traffic consumed in the selected period: 5222616 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:16', 295453, 120432)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120432. Received Bytes: 295453. Total traffic in current session: 415885
Total traffic consumed in the selected period: 5223179 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:17', 299653, 120588)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120588. Received Bytes: 299653. Total traffic in current session: 420241
Total traffic consumed in the selected period: 5227535 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:18', 302618, 120744)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120744. Received Bytes: 302618. Total traffic in current session: 423362
Total traffic consumed in the selected period: 5230656 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:19', 302618, 120744)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120744. Received Bytes: 302618. Total traffic in current session: 423362
Total traffic consumed in the selected period: 5230656 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:20', 302618, 120744)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120744. Received Bytes: 302618. Total traffic in current session: 423362
Total traffic consumed in the selected period: 5230656 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:21', 302618, 120744)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120744. Received Bytes: 302618. Total traffic in current session: 423362
Total traffic consumed in the selected period: 5230656 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:22', 302670, 120796)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120796. Received Bytes: 302670. Total traffic in current session: 423466
Total traffic consumed in the selected period: 5230760 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:23', 302670, 120796)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120796. Received Bytes: 302670. Total traffic in current session: 423466
Total traffic consumed in the selected period: 5230760 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:24', 302670, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302670. Total traffic in current session: 423570
Total traffic consumed in the selected period: 5230864 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:25', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:26', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:27', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:28', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:29', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:30', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:31', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:32', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:33', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:34', 302774, 120900)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 120900. Received Bytes: 302774. Total traffic in current session: 423674
Total traffic consumed in the selected period: 5230968 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:35', 302774, 121013)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121013. Received Bytes: 302774. Total traffic in current session: 423787
Total traffic consumed in the selected period: 5231081 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:36', 302774, 121013)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121013. Received Bytes: 302774. Total traffic in current session: 423787
Total traffic consumed in the selected period: 5231081 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:37', 303038, 121189)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121189. Received Bytes: 303038. Total traffic in current session: 424227
Total traffic consumed in the selected period: 5231521 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:38', 303134, 121720)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121720. Received Bytes: 303134. Total traffic in current session: 424854
Total traffic consumed in the selected period: 5232148 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:39', 303186, 121772)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121772. Received Bytes: 303186. Total traffic in current session: 424958
Total traffic consumed in the selected period: 5232252 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:40', 306266, 121989)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 121989. Received Bytes: 306266. Total traffic in current session: 428255
Total traffic consumed in the selected period: 5235549 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:41', 313319, 122401)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 122401. Received Bytes: 313319. Total traffic in current session: 435720
Total traffic consumed in the selected period: 5243014 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:42', 319979, 123815)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 123815. Received Bytes: 319979. Total traffic in current session: 443794
Total traffic consumed in the selected period: 5251088 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:43', 335379, 124387)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 124387. Received Bytes: 335379. Total traffic in current session: 459766
Total traffic consumed in the selected period: 5267060 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:44', 351186, 125115)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 125115. Received Bytes: 351186. Total traffic in current session: 476301
Total traffic consumed in the selected period: 5283595 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:45', 356857, 127331)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 127331. Received Bytes: 356857. Total traffic in current session: 484188
Total traffic consumed in the selected period: 5291482 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:46', 376787, 138597)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 138597. Received Bytes: 376787. Total traffic in current session: 515384
Total traffic consumed in the selected period: 5322678 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:47', 410041, 141659)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 141659. Received Bytes: 410041. Total traffic in current session: 551700
Total traffic consumed in the selected period: 5358994 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:48', 430602, 144423)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 144423. Received Bytes: 430602. Total traffic in current session: 575025
Total traffic consumed in the selected period: 5382319 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:49', 449340, 147301)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 147301. Received Bytes: 449340. Total traffic in current session: 596641
Total traffic consumed in the selected period: 5403935 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:50', 450437, 148702)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 148702. Received Bytes: 450437. Total traffic in current session: 599139
Total traffic consumed in the selected period: 5406433 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:51', 451181, 149568)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 149568. Received Bytes: 451181. Total traffic in current session: 600749
Total traffic consumed in the selected period: 5408043 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:52', 451233, 151275)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 151275. Received Bytes: 451233. Total traffic in current session: 602508
Total traffic consumed in the selected period: 5409802 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:53', 451775, 151379)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 151379. Received Bytes: 451775. Total traffic in current session: 603154
Total traffic consumed in the selected period: 5410448 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:54', 452035, 151795)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 151795. Received Bytes: 452035. Total traffic in current session: 603830
Total traffic consumed in the selected period: 5411124 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:55', 452035, 151795)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 151795. Received Bytes: 452035. Total traffic in current session: 603830
Total traffic consumed in the selected period: 5411124 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:56', 452035, 154135)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 154135. Received Bytes: 452035. Total traffic in current session: 606170
Total traffic consumed in the selected period: 5413464 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:57', 465176, 154915)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 154915. Received Bytes: 465176. Total traffic in current session: 620091
Total traffic consumed in the selected period: 5427385 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:58', 466829, 155019)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 155019. Received Bytes: 466829. Total traffic in current session: 621848
Total traffic consumed in the selected period: 5429142 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:29:59', 467266, 155139)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 155139. Received Bytes: 467266. Total traffic in current session: 622405
Total traffic consumed in the selected period: 5429699 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:00', 467306, 155798)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 155798. Received Bytes: 467306. Total traffic in current session: 623104
Total traffic consumed in the selected period: 5430398 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:01', 495001, 161754)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 161754. Received Bytes: 495001. Total traffic in current session: 656755
Total traffic consumed in the selected period: 5464049 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:02', 543376, 169090)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 169090. Received Bytes: 543376. Total traffic in current session: 712466
Total traffic consumed in the selected period: 5519760 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:03', 582257, 172233)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 172233. Received Bytes: 582257. Total traffic in current session: 754490
Total traffic consumed in the selected period: 5561784 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:04', 626540, 173361)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 173361. Received Bytes: 626540. Total traffic in current session: 799901
Total traffic consumed in the selected period: 5607195 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:05', 648068, 175199)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 175199. Received Bytes: 648068. Total traffic in current session: 823267
Total traffic consumed in the selected period: 5630561 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:06', 679096, 179082)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 179082. Received Bytes: 679096. Total traffic in current session: 858178
Total traffic consumed in the selected period: 5665472 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:07', 730244, 180234)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 180234. Received Bytes: 730244. Total traffic in current session: 910478
Total traffic consumed in the selected period: 5717772 bytes!
record for the current connection updated: 30
[(30, 13162, u'2009-03-15 14:27:31', u'2009-03-15 14:30:08', 775160, 181968)]
SELECT SUM(rbytes) + SUM(sbytes) as 'Total' FROM connections WHERE StartTime BETWEEN datetime('now','localtime','start of day') AND  datetime('now','localtime','start of day', '+24 hours')
Sent Bytes: 181968. Received Bytes: 775160. Total traffic in current session: 957128
Total traffic consumed in the selected period: 5764422 bytes!
Segmentation fault

Ma cmq anche se crasha il programma, la connessione resta ancora attiva!
Registrato

Non cercare di piegare il cucchiaio, è impossibile... Convinciti dell'unica possibile verità: che il cucchiaio non esiste...

Tutto ciò che ha un'inizio, ha anche una fine...
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #22 inserita: 21 Marzo, 2009, 02:37:18 »

Ciao, scusatemi se mi faccio vivo solo ora, ma sono sommerso di impegni in questo periodo.

Forse ho trovato il bug cosi noioso...
Probabilmente hai una vecchia versione del DBus (una libreria molto utile in linux).
Su ubuntu 8.10 infatti ho notato che c'è la versione 1.2.4, mentre su una distribuzione sabayon dove mi dava l'errore c'era una 1.2.3
(riusciresti a controllare sul tuo sistema cosa c'è? ad esempio potresti fare una ricerca con synaptic)
Praticamente una chiamata ad un metodo (tra l'altro ridondante) mandava in crash il programma.

Per quanto riguarda il rimanere in esecuzione di wvdial è normale: se il programma crasha io perdo il controllo sul processo che rimane orfano (ma funzionante). Dovrei legarlo all'applicazione che lo lancia cosi se crasha viene terminato anche wvdial... mi riprometto di lavorarci su.

Il caso "anomalo" come dici tu, probabilmente ti è venuto fuori facendo delle prove. Il messaggio di errore che da infatti dice che non riesce ad aggiornare il record della connessione corrente. Forse la connessione era terminata o si era impallato il programma.
« Ultima modifica: 01 Aprile, 2009, 22:55:14 da Tole76 » Registrato
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #23 inserita: 21 Marzo, 2009, 02:59:54 »

Ciao ragazzi, avrei bisogno di alcune conferme per rendere il programma più robusto.

Io ho sottoscritto un abbonamento tre.dati quindi non soffro del cosiddetto "bug della mezzanotte", avrei però bisogno di sapere come si comporta la Tre con gli altri piani in offerta.
Mi spiego meglio:
se io inizio una connessione facciamo alle 23.45 ed inizio a scaricare. I miei 50 MB giornalieri si ridurranno man mano. Cosa succede alla mezzanotte? Ho di nuovo 50 MB oppure devo disconnettere e riconnettere per azzerare il traffico?

Okkio perchè pyWvDialPlus alla mezzanotte azzera il traffico (con il mio abbo funziona cosi: verificato sul sito della Tre). Se mi fate sapere aggiorno di conseguenza (pensavo ad un messaggio che invita ad interrompere la connessione se si è prossimi alla soglia e si supera la mezzanotte).
Registrato
The Elle
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 820

Media messaggi


Dritti alla meta e conquista la preda!!!!


Mostra profilo
« Risposta #24 inserita: 21 Marzo, 2009, 11:07:11 »

il dbus mi da versione 1.1.20... sembra vecchia, come si aggiorna?
Registrato

Non cercare di piegare il cucchiaio, è impossibile... Convinciti dell'unica possibile verità: che il cucchiaio non esiste...

Tutto ciò che ha un'inizio, ha anche una fine...
Superdm
Novello Novizio

Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 81

Media messaggi


Mostra profilo
« Risposta #25 inserita: 24 Marzo, 2009, 10:07:47 »

Ciao ... era un pò che non mi facevo sentire! Cheesy

Vorrei chiedere una cosa:

Sto usando credo l'ultima versione 0.5.4, e ho notato che quando mi sconnetto e riconnetto il contatore delle soglie che si può vedere cliccando sul tasto "info" si azzera tutte le volte. E' normale che faccia cosi oppure c'è qualche cosa che non mi funziona ? Io pensavo che questo contatore (a cui ho fatto caso solo ieri sera) tenesse il conto del traffico giornaliero (poichè nella scheda "config"->"traffic limit"->"Ceck period" ho impostato "day").
Ho anche notato che pero le soglie vengono conteggiate nel modo giusto, infati ieri sera si è sconnesso come da programma al raggiungimento dei 49M, pero sembra che la visualizzazione riguardi solo i dati dell'ultima sessione.

Ciao Daniele
Registrato
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #26 inserita: 24 Marzo, 2009, 14:23:38 »

Ciao!
Bene, sono contento che il programma funzioni a dovere (almeno nel tuo caso  Grin)
Per quanto riguarda la sezione "info" quella l'ho ereditata pari pari da pyWvDial e ti confermo che legge i dati SOLO della connessione corrente quindi è normale che se riavvii si azzera tutto (si azzera tutto anche a livello di sistema operativo ed infatti quei dati vengono letti direttamente dal processo di sistema che avvia la connessione)

Per rispondere a cou invece, per aggiornare  qualsiasi componente di ubuntu puoi farlo direttamente da synaptic.
Certo che se non hai mai aggiornato nulla e con 50 mb al giorno la vedo molto molto dura (DBus saranno 4-5MB al massimo ma sicuramente il sistema ti proporrà tutti gli altri aggiornamenti per il resto del sistema operativo, che volendo non installi... ovvio)
Non riesci a scroccare una connessione decente da qualche parte ed aggiornare per benino tutto l'aggiornabile? Questo ovviamente è un consiglio a prescindere dall'utilizzo di pyWvDialPlus ( a proposito non ho capito se con l'ultima modifica ti funziona finalmente)

So che non è politicamente corretto ma spesso in giro per le città si trovano delle connessioni wireless accessibili (di solito in prossimità di alberghi) oppure ci sono locali che offrono connettività wireless (anche se limitata nel tempo)

http://www.free-hotspot.com/italian/it_index.htm
Registrato
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #27 inserita: 01 Aprile, 2009, 22:52:29 »

Eccomi di nuovo con una nuova versione che introduce alcune piccole migliorie ma soprattutto un'importante modifica:

A quanto pare, con l'opzione Naviga 3 se ci si collega vicino alla mezzanotte e si rimane connessi oltre, la soglia non si azzera fino a che non chiudiamo la connessione corrente e ne riapriamo una nuova.
Ho quindi inserito un'ulteriore opzione per gestire questo comportamento. In Config->Traffic Limit trovate una check chiamata Midnight Bug. Se impostate su "on" il conteggio del traffico non si azzera alla mezzanotte ma solo alla nuova connessione (cosi come fa effettivamente la tre con i suoi conteggi).

Ho aggiunto inoltre una pagina di statistiche (ancora piuttosto rudimentale) a cui si può accedere facendo click destro sull'icona nella systray. Da qui si visualizzano tutte le connessioni lanciate, si possono esportare in un file di testo e si può anche "svuotare" il database delle connessioni.
Nella sezione info inoltre ho aggiunto la visualizzazione delle velocità istantanee di download ed upload.


Nell'archivio inoltre ora potete trovare anche uno script che esegue la configurazione del file sudoers in automatico e copia lo scrip kill_wvdial nella cartella corretta.
Per usarlo è sufficente digitare da terminale, dopo essersi posizionati nella cartella:

sudo ./setup_sudoers nomeutente

sostituire ovviamente nomeutente con il proprio
« Ultima modifica: 02 Aprile, 2009, 20:56:36 da Tole76 » Registrato
Superdm
Novello Novizio

Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 81

Media messaggi


Mostra profilo
« Risposta #28 inserita: 02 Aprile, 2009, 08:37:20 »

Ottimo.... Cheesy

La scarico e la provo questa sera! Cheesy  ( grazie!!)

Ciao Daniele!
Registrato
Sekhemty
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Messaggi: 315

Media messaggi



Mostra profilo
« Risposta #29 inserita: 10 Aprile, 2009, 01:01:50 »

Questo script può essere utilizzato anche per monitorare il tempo in rete con altri operatori? o ha settaggi specifici per chiavette della tre?
Registrato

Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #30 inserita: 10 Aprile, 2009, 21:02:32 »

Funziona con qualsiasi gestore. Dipende infatti dalla configurazione di wvdial, quindi se con wvdial funziona, allora è ok anche per il programmino.
Lo script però è pensato per controllare i MB di traffico scambiato e non il tempo, quindi per le tariffe a tempo non è molto utile.
Se ho modo nella prossima settimana, magari faccio il controllo anche del tempo di connessione. Non dovrebbe essere una cosa lunga da fare.
Registrato
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #31 inserita: 01 Maggio, 2009, 10:45:09 »

provo a installarlo seguendo le istruzioni che ci sono nel file INSTALL ma mi da permesso negato,provando e riprovando. non c'è qualche pacchetto debian? Tongue
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #32 inserita: 02 Maggio, 2009, 16:09:45 »

ragazzi non riesco proprio a farlo andare,neppure eseguendo il file Sad
qualcuno mi da una mano?
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #33 inserita: 03 Maggio, 2009, 17:35:09 »

provo a avviare il file pyWvDialPlus.py ma non succede niente. provo ad installare come nelle istruzioni (python setup.py install) ma mi da permesso negato... c'è un modo di usarlo?  Angry
mi serve    Cry
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #34 inserita: 04 Maggio, 2009, 05:54:18 »

Ciao, scusa se rispondo solo ora.

Non devi installare nulla. Il setup che trovi nell'archivio viene creato di default dal tool che ho usato per la programmazione, ma non è stato implemetato.
Devi semplicemente estrarre l'archivio ad esempio nella tua home e poi lanciare lo script principale che è pyWvDialPlus.py

Per lanciare qualsiasi script realizzato in Python ti posizioni dove c'è lo script e poi esegui da terminale (per comodità puoi sempre creare un launchers da posizionare sul tuo desktop):
Codice:
python pyWvDialPlus.py

Inoltre per funzionare correttamente questo script ha bisogno di un piccolo trucchetto per lanciare wvdial con sudo ma senza richiesta di password.
Nell'archivio troverai una cartella "script", posizionati all'interno di questa cartella (una volta estratta) e digita il seguente comando dove al posto di nomeutente dovrai ovviamente sostituire il nome con cui accedi al sistema.

Codice:
sudo ./setup_sudoers [i]nomeutente[/i]

Questo script come descritto nella prima pagina, provvede a modificare il file sudoers aggiungendo il tuo nome utente tra quelli che non hanno bisogno di inserire la password per eseguire wvdial, e copia un piccolo script bash nella cartella /usr/bin che permette di chiudere la connessione in automatico allo scadere del conteggio.

Registrato
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #35 inserita: 04 Maggio, 2009, 09:51:33 »

Ciao, scusa se rispondo solo ora.

Non devi installare nulla. Il setup che trovi nell'archivio viene creato di default dal tool che ho usato per la programmazione, ma non è stato implemetato.
Devi semplicemente estrarre l'archivio ad esempio nella tua home e poi lanciare lo script principale che è pyWvDialPlus.py

Per lanciare qualsiasi script realizzato in Python ti posizioni dove c'è lo script e poi esegui da terminale (per comodità puoi sempre creare un launchers da posizionare sul tuo desktop):
Codice:
python pyWvDialPlus.py

Inoltre per funzionare correttamente questo script ha bisogno di un piccolo trucchetto per lanciare wvdial con sudo ma senza richiesta di password.
Nell'archivio troverai una cartella "script", posizionati all'interno di questa cartella (una volta estratta) e digita il seguente comando dove al posto di nomeutente dovrai ovviamente sostituire il nome con cui accedi al sistema.

Codice:
sudo ./setup_sudoers [i]nomeutente[/i]

Questo script come descritto nella prima pagina, provvede a modificare il file sudoers aggiungendo il tuo nome utente tra quelli che non hanno bisogno di inserire la password per eseguire wvdial, e copia un piccolo script bash nella cartella /usr/bin che permette di chiudere la connessione in automatico allo scadere del conteggio.


purtroppo mi viene restituito questo Sad quale sarà il problema?

nome@nome-laptop:~/programmi/pyWvDialPlus$ python pyWvDialPlus.py
Traceback (most recent call last):
  File "pyWvDialPlus.py", line 10, in <module>
    import wvdialGUI.guigtk.main
  File "/home/nome/programmi/pyWvDialPlus/wvdialGUI/guigtk/main.py", line 11, in <module>
    import wvdialGUI.wvdial.process as wprocess
  File "/home/nome/programmi/pyWvDialPlus/wvdialGUI/wvdial/process.py", line 28, in <module>
    from pysqlite2 import dbapi2 as sqlite
ImportError: No module named pysqlite2
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #36 inserita: 04 Maggio, 2009, 16:29:43 »

da terminale digita:

Codice:
sudo apt-get install python-gtk2 python-pysqlite2 python-serial

P.S.
Nel primo e secondo post c'è scritto quali librerie sono necessarie per l'esecuzione dello script. Leggilo con più attenzione.
Registrato
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #37 inserita: 04 Maggio, 2009, 18:08:02 »

accidenti,ero sicurissimo di avercele già perchè siccome ho dei programmi che li usano... vabbè,sarà che ho messo il nuovo ubuntu. grazie della pazienza!
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Shishimaru
Coraggioso Chiacchierone
*
Non Connesso Non Connesso

Sesso: Maschio
Messaggi: 557

Media messaggi


I am the walrus


Mostra profilo WWW
« Risposta #38 inserita: 05 Maggio, 2009, 10:06:57 »

ancora io XD
no,scusate... è che mi interessa troppo! già ieri la 3 mi ha ciucciato per sbaglio dei soldi X(
comunque...  come andrebbe configurato il programma? c'è altro da mettere oltre alla soglia da raggiungere e la percentuale per il warning? la configurazione deve essere nuova o posso usare quella che c'è di default? in parole povere non mi connette il modem.
Registrato

ASUS F5m RAM: 2GB CPU: Mobile AMD Sempron(tm) Processor 3200+ @1.60GHz Video: Nvidia GeForce Go 6100 & Ubuntu 11.04 Natty Narwhal AMD64
Linux user #500495 | Ubuntu user #29852 http://www.misteroonline.com
http://www.lastfm.it/user/reonmaru www.facebook.com/salvatore.cresce  http://www.twitter.com/shishimaru1000
Tole76
Novello Novizio

Non Connesso Non Connesso

Messaggi: 30

Media messaggi


Mostra profilo
« Risposta #39 inserita: 05 Maggio, 2009, 13:33:38 »

bene quindi lo script è partito? almeno quello ;-)

Mi pare di capire che non ti è molto chiaro come funziona il tutto, tranquillo chiedi pure.
Anche io ho regalato un sacco di soldi alla 3 e quindi ti capisco perfettamente... Roll Eyes

Lo script fa essenzialmente queste cose:
- avvia il programma wvdial in un processo separato. wvdial è un famoso programma per linux che si occupa di gestire le connessioni ppp
- ogni tot secondi controlla quanti dati sono stati scambiati andando a leggerli da alcuni file di sistema. Questi dati vengono memorizzati in un piccolo database locale cosi da poter fare agevolmente i conteggi delle soglie.
- se il totale del traffico supera una prima soglia viene segnalato un warning
- se il totale del traffico supera la soglia massima viene proposta la disconnessione. Se attiva l'opzione e non c'è risposta il sistema viene disconnesso in modo automatico (da qui la necessità di eseguire il comando che ti dicevo sudo ./setup_sudoers nomeutente. Anzi per verificare che sia tutto configurato correttamente apri un terminale e digita:
Codice:
sudo kill_wvdial

Se ti viene richiesta la password o il sistema ti dice che non c'è il programma kill_wvdial significa che non hai eseguitop correttamente il passaggio precedente.

La configurazione viene presa dal file /etc/wvdial.conf presente nel sistema, quindi se non ti si collega significa che non ci sono le stringhe di inizializzazione giuste.
Per il resto, i parametri principale che servono al funzionamento dello script e basta (nel senso che wvdial li ignora anche se vengono scritti nel suo file di configurazione) sono i seguenti:

Abilitare l'esecuzione di wvdial come root (altrimenti in ubuntu non si connette):
Da questa immagine puoi vedere anche le mie stringhe di inizializzazione del modem, se non ti si collega prova ad usare queste. Ricorda però che l'apn per naviga3 è naviga3.tre.it e NON datacard.tre.it come nel mio caso.



Impostare le soglie e le opzioni giuste. Il traffico è in megabyte, il tempo in secondi. Queste opzioni sono valide per il mio abbo che prevede 1 Giga al giorno (tre.dati plus). Per la classica Naviga3 il traffico deve essere 50MB o 100MB non ricordo.



L'immagine è vecchia ci dovrebbero essere altre opzioni come la gestione del comportamento alla mezzanotte. Leggi qualche post più indietro.
Se non ti salva o ti da errore digita sa terminale:
Codice:
sudo chmod 776 /etc/wvdial.conf

spero di essere stato esaustivo, se non va ancora fammi sapere.

Registrato
Pagine: 1 [2] 3 4   Vai su
  Stampa  
 
Vai a: