× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file problema ppp USB dongle UMTS

More
7 years 10 months ago #7050 by uolly78
ciao,
non riesco a far connettere swpi tramite chiavetta usb umts
qualcuno ha avuto problemi simili? segue il log del wvdial

sembra che il connect vada bene ma poi esce con un errore sul modulo PPP che sembra essere legato al kernel.
graaaaaaaaazie
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","mobile.vodafone.it",,
AT+CGDCONT=1,"IP","mobile.vodafone.it",,
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Jun  9 16:31:03 2016
--> Warning: Could not modify /etc/ppp/pap-secrets: Read-only file system
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Read-only file system
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 1704
--> pppd: °Qò¶P´
--> Disconnecting at Thu Jun  9 16:31:04 2016
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)

Please Log in to join the conversation.

More
7 years 10 months ago #7051 by seven
Replied by seven on topic problema ppp USB dongle UMTS
Ciao Walter,
niente paura, è dovuto al sistema in sola lettura. Dai il solito rw prima e poi riprova. Se tutto va bene non occorre fare altro, altrimenti dovrò portare quei files in una zona lettura-scrittura (se il problema si ripresenterà ad ogni riconnessione).
Casomai prova a rimettere il sistema in sola lettura a connessione avvenuta, quindi sconnettilo e riconnettilo per vedere se il problema si presenta di nuovo.
The following user(s) said Thank You: uolly78

Please Log in to join the conversation.

More
7 years 10 months ago #7052 by uolly78
al primo giro dopo aver dato rw non ha dato i warning di sola lettura ma l'errore del modulo ppp rimane
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","mobile.vodafone.it",,
AT+CGDCONT=1,"IP","mobile.vodafone.it",,
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Jun 10 21:03:14 2016
--> Pid of pppd: 1718
--> pppd: °1ñ¶P
--> /[01]è[05]/[01][01]
--> Disconnecting at Fri Jun 10 21:03:15 2016
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)

dopo un reboot ritorna l'errore sulla sola lettura e si conferma l'errore del ppp
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","mobile.vodafone.it",,
AT+CGDCONT=1,"IP","mobile.vodafone.it",,
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Jun 10 21:08:24 2016
--> Warning: Could not modify /etc/ppp/pap-secrets: Read-only file system
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Read-only file system
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 1693
--> pppd: °!ò¶P|[01]è…|[01][01]
--> Disconnecting at Fri Jun 10 21:08:24 2016
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)

quindi l'unica e far partire il sistema in rw ma comunque non basterebbe perché l'exit code a 4 lo da anche se è riuscito ad accedere al file system in rw

Please Log in to join the conversation.

More
7 years 10 months ago #7053 by seven
Replied by seven on topic problema ppp USB dongle UMTS
Ok, una magagna alla volta. :cheer:
Prova a mettere il sistema in rw e a modificare il file

/etc/modules-load.d/modules.conf


aggiungendo sotto la riga 'i2c-dev' la riga che segue:
ppp_generic


Salva il file, reboota, dopo il riavvio metti il sistema in rw e riprova a connetterti. Se non funziona allega (come hai ottimamente già fatto) i log.
The following user(s) said Thank You: uolly78

Please Log in to join the conversation.

More
7 years 10 months ago #7057 by uolly78
GRANDE!!

Ha funzionato, e va anche al reboot!

Ma è un bug sulla release oppure ho sbagliato qualcosa? :blush: :blush:
The following user(s) said Thank You: seven

Please Log in to join the conversation.

More
7 years 10 months ago #7058 by seven
Replied by seven on topic problema ppp USB dongle UMTS
No no, non hai sbagliato nulla, è che il modulo kernel ppp_generic non si caricava da solo.
Grazie a te uolly abbiamo sanato un altro bug, il prossimo upload conterrà anche questo aggiornamento. :cheer:

Please Log in to join the conversation.

More
7 years 6 months ago #7343 by Pietro
Replied by Pietro on topic problema ppp USB dongle UMTS
Ciao ragazzi, mi date una mano?
Ho un problema conm la versione 3, la chiavetta USB non va in internet .. con la versione 2 invece va regolarmente.
Ecco allegato il log.
Che ne pensate?
Grazie
Pietro


************************************************************************
* Sint Wind PI 01.23.82 *
* *
* 2012-2016 by Tonino Tarsi <This email address is being protected from spambots. You need JavaScript enabled to view it.> *
* *
* System will start in 10 seconds - Press Ctrl-C to cancel *
************************************************************************
10.....9.....8.....7.....6.....5.....4.....3.....2.....1.....
[09/10/2016-21:08:34][09/10/2016-21:08:34] loading plugins
Starting sensor reading - Sensor type is : PCE-FWS20
[09/10/2016-21:08:34] Starting plugin : <module 'wunderground' from './plugins/wunderground.pyc'>
[09/10/2016-21:08:34] Starting plugin : <module 'IPCamLogger' from './plugins/IPCamLogger.pyc'>
[09/10/2016-21:08:34] Config Server running on port 80
/dev/ttyUSB0
[09/10/2016-21:08:34] ERROR - Failed to set time system from ntp server
[09/10/2016-21:08:34] Detected : Dream Link WH1080 Weather Station / USB Missile Launcher
[09/10/2016-21:08:36] sms reset

[09/10/2016-21:08:36] Modem Model : E1800
[09/10/2016-21:08:36] Revision : 11.126.10.02.192
[09/10/2016-21:08:36] Modem Serial Number :
[09/10/2016-21:08:36] Pin Status : READY
[09/10/2016-21:08:36] Device Center : +393359609600 145
[09/10/2016-21:08:36] Signal quality : 18
[09/10/2016-21:08:36] Checking new sms messages...
[09/10/2016-21:08:36] Checking internet connetion ...
[09/10/2016-21:08:36] No Internet
[09/10/2016-21:08:36] Trying to connect to internet with 3G dongle ....
[09/10/2016-21:08:39] Waiting for a valid IP ...
[09/10/2016-21:08:39] No IP yet. Retrying ..59
[09/10/2016-21:08:41] No IP yet. Retrying ..58
[09/10/2016-21:08:43] No IP yet. Retrying ..57
[09/10/2016-21:08:44] Waiting for a valid IP ...
[09/10/2016-21:08:44] No IP yet. Retrying ..59
[09/10/2016-21:08:45] No IP yet. Retrying ..56
[09/10/2016-21:08:46] No IP yet. Retrying ..58
[09/10/2016-21:08:47] No IP yet. Retrying ..55
[09/10/2016-21:08:48] No IP yet. Retrying ..57
[09/10/2016-21:08:49] No IP yet. Retrying ..54
[09/10/2016-21:08:50] No IP yet. Retrying ..56
[09/10/2016-21:08:51] No IP yet. Retrying ..53
[09/10/2016-21:08:52] No IP yet. Retrying ..55
[09/10/2016-21:08:53] No IP yet. Retrying ..52
[09/10/2016-21:08:54] No IP yet. Retrying ..54
[09/10/2016-21:08:55] No IP yet. Retrying ..51
[09/10/2016-21:08:56] No IP yet. Retrying ..53
[09/10/2016-21:08:57] No IP yet. Retrying ..50
[09/10/2016-21:08:58] No IP yet. Retrying ..52
[09/10/2016-21:08:59] No IP yet. Retrying ..49
[09/10/2016-21:09:00] No IP yet. Retrying ..51
[09/10/2016-21:09:01] No IP yet. Retrying ..48
[09/10/2016-21:09:02] No IP yet. Retrying ..50
[09/10/2016-21:09:03] No IP yet. Retrying ..47
[09/10/2016-21:09:04] No IP yet. Retrying ..49
[09/10/2016-21:09:05] No IP yet. Retrying ..46
[09/10/2016-21:09:06] No IP yet. Retrying ..48
[09/10/2016-21:09:07] No IP yet. Retrying ..45
[09/10/2016-21:09:08] No IP yet. Retrying ..47
[09/10/2016-21:09:09] No IP yet. Retrying ..44
[09/10/2016-21:09:10] No IP yet. Retrying ..46
[09/10/2016-21:09:11] No IP yet. Retrying ..43
[09/10/2016-21:09:12] No IP yet. Retrying ..45
[09/10/2016-21:09:13] No IP yet. Retrying ..42
[09/10/2016-21:09:14] No IP yet. Retrying ..44
[09/10/2016-21:09:15] No IP yet. Retrying ..41
[09/10/2016-21:09:16] No IP yet. Retrying ..43
[09/10/2016-21:09:17] No IP yet. Retrying ..40
[09/10/2016-21:09:18] No IP yet. Retrying ..42
[09/10/2016-21:09:19] No IP yet. Retrying ..39
[09/10/2016-21:09:20] No IP yet. Retrying ..41
[09/10/2016-21:09:21] No IP yet. Retrying ..38
[09/10/2016-21:09:22] No IP yet. Retrying ..40
[09/10/2016-21:09:23] No IP yet. Retrying ..37
[09/10/2016-21:09:24] No IP yet. Retrying ..39
[09/10/2016-21:09:25] No IP yet. Retrying ..36
[09/10/2016-21:09:26] No IP yet. Retrying ..38
[09/10/2016-21:09:27] No IP yet. Retrying ..35
[09/10/2016-21:09:28] No IP yet. Retrying ..37
[09/10/2016-21:09:29] No IP yet. Retrying ..34
[09/10/2016-21:09:30] No IP yet. Retrying ..36
[09/10/2016-21:09:31] Calculating Meteo data and statistics
[09/10/2016-21:09:31] Logging data to Database
[09/10/2016-21:09:31] Dir: N - Spd: 3.6 - Gst: 7.2 - Tout: 11.9 - Tin: 24.9 - Hout: 85.0 - Hin: 54.0 - P: 1018 - Rtot: 2421.3 - RDay: 2400.3 - R1h: 0.0 - R24h: 2400.3 - CB: 555
[09/10/2016-21:09:31] No IP yet. Retrying ..33
[09/10/2016-21:09:32] No IP yet. Retrying ..35
[09/10/2016-21:09:33] No IP yet. Retrying ..32
[09/10/2016-21:09:34] No IP yet. Retrying ..34
[09/10/2016-21:09:35] No IP yet. Retrying ..31
[09/10/2016-21:09:36] No IP yet. Retrying ..33
[09/10/2016-21:09:37] No IP yet. Retrying ..30
[09/10/2016-21:09:38] No IP yet. Retrying ..32
[09/10/2016-21:09:39] No IP yet. Retrying ..29
[09/10/2016-21:09:40] No IP yet. Retrying ..31
[09/10/2016-21:09:41] No IP yet. Retrying ..28
[09/10/2016-21:09:42] No IP yet. Retrying ..30
[09/10/2016-21:09:43] No IP yet. Retrying ..27
[09/10/2016-21:09:44] No IP yet. Retrying ..29
[09/10/2016-21:09:45] No IP yet. Retrying ..26
[09/10/2016-21:09:46] No IP yet. Retrying ..28
[09/10/2016-21:09:47] No IP yet. Retrying ..25
[09/10/2016-21:09:48] No IP yet. Retrying ..27
[09/10/2016-21:09:49] No IP yet. Retrying ..24
[09/10/2016-21:09:50] No IP yet. Retrying ..26
[09/10/2016-21:09:51] No IP yet. Retrying ..23
[09/10/2016-21:09:52] No IP yet. Retrying ..25
[09/10/2016-21:09:53] No IP yet. Retrying ..22
[09/10/2016-21:09:54] No IP yet. Retrying ..24
[09/10/2016-21:09:55] No IP yet. Retrying ..21
[09/10/2016-21:09:56] No IP yet. Retrying ..23
[09/10/2016-21:09:57] No IP yet. Retrying ..20
[09/10/2016-21:09:58] No IP yet. Retrying ..22
[09/10/2016-21:09:59] No IP yet. Retrying ..19
[09/10/2016-21:10:00] No IP yet. Retrying ..21
[09/10/2016-21:10:00] Error connecting to server : www.weatherconditions.altervista.org/swpi/swpi_logger.php
[09/10/2016-21:10:00] Posizione IPcam N
[09/10/2016-21:10:00] Error Logging to Wunderground :
[09/10/2016-21:10:00] Error sending file to server : meteo.txt
[09/10/2016-21:10:00] Deleted file : /dev/shm/meteo.txt
[09/10/2016-21:10:01] No IP yet. Retrying ..18
[09/10/2016-21:10:02] No IP yet. Retrying ..20
[09/10/2016-21:10:03] No IP yet. Retrying ..17
[09/10/2016-21:10:04] No IP yet. Retrying ..19
[09/10/2016-21:10:05] No IP yet. Retrying ..16
[09/10/2016-21:10:06] No IP yet. Retrying ..18
[09/10/2016-21:10:07] No IP yet. Retrying ..15
[09/10/2016-21:10:08] No IP yet. Retrying ..17
[09/10/2016-21:10:09] No IP yet. Retrying ..14
[09/10/2016-21:10:10] No IP yet. Retrying ..16
[09/10/2016-21:10:11] No IP yet. Retrying ..13
[09/10/2016-21:10:12] No IP yet. Retrying ..15
[09/10/2016-21:10:13] No IP yet. Retrying ..12
[09/10/2016-21:10:14] No IP yet. Retrying ..14
[09/10/2016-21:10:15] No IP yet. Retrying ..11
[09/10/2016-21:10:16] No IP yet. Retrying ..13
[09/10/2016-21:10:18] No IP yet. Retrying ..10
[09/10/2016-21:10:18] No IP yet. Retrying ..12
[09/10/2016-21:10:20] No IP yet. Retrying ..9
[09/10/2016-21:10:20] No IP yet. Retrying ..11
[09/10/2016-21:10:22] No IP yet. Retrying ..8
[09/10/2016-21:10:22] No IP yet. Retrying ..10
[09/10/2016-21:10:24] No IP yet. Retrying ..7
[09/10/2016-21:10:24] No IP yet. Retrying ..9
[09/10/2016-21:10:26] No IP yet. Retrying ..6
[09/10/2016-21:10:26] No IP yet. Retrying ..8
[09/10/2016-21:10:28] No IP yet. Retrying ..5
[09/10/2016-21:10:28] No IP yet. Retrying ..7
[09/10/2016-21:10:30] No IP yet. Retrying ..4
[09/10/2016-21:10:30] No IP yet. Retrying ..6
[09/10/2016-21:10:30] Calculating Meteo data and statistics
[09/10/2016-21:10:30] Logging data to Database
[09/10/2016-21:10:30] Dir: NE - Spd: 8.64 - Gst: 9.72 - Tout: 12.0 - Tin: 24.9 - Hout: 84.0 - Hin: 54.0 - P: 1018 - Rtot: 2421.3 - RDay: 2400.3 - R1h: 0.0 - R24h: 2400.3 - CB: 577
[09/10/2016-21:10:32] No IP yet. Retrying ..3
[09/10/2016-21:10:32] No IP yet. Retrying ..5
[09/10/2016-21:10:34] No IP yet. Retrying ..2
[09/10/2016-21:10:34] No IP yet. Retrying ..4
[09/10/2016-21:10:36] No IP yet. Retrying ..1
[09/10/2016-21:10:36] No IP yet. Retrying ..3
[09/10/2016-21:10:38] sms reset
[09/10/2016-21:10:38] Checking internet connetion ...
[09/10/2016-21:10:38] No Internet
[09/10/2016-21:10:38] Running without internet connection
[09/10/2016-21:10:38] Starting General WatchDog
[09/10/2016-21:10:38] ERROR - Failed to set time system from ntp server
[09/10/2016-21:10:38] No IP yet. Retrying ..2
[09/10/2016-21:10:40] No IP yet. Retrying ..1
[09/10/2016-21:10:42] sms reset
[09/10/2016-21:10:42] Checking internet connetion ...
[09/10/2016-21:10:42] No Internet
[09/10/2016-21:10:42] Running without internet connection
[09/10/2016-21:10:42] ERROR - Failed to set time system from ntp server
[09/10/2016-21:10:42] Starting General WatchDog
[09/10/2016-21:10:45] Checking internet connetion ...
[09/10/2016-21:10:45] No Internet
[09/10/2016-21:10:45] Checking internet connetion ...
[09/10/2016-21:10:45] No Internet
[09/10/2016-21:10:45] Error. Non internet connection available
[09/10/2016-21:10:45] Disk space left = 4508 Mb
[09/10/2016-21:10:45] Sleeping 53 seconds
[09/10/2016-21:11:00] Error Logging to Wunderground :
[09/10/2016-21:11:00] Error sending file to server : meteo.txt
[09/10/2016-21:11:00] Deleted file : /dev/shm/meteo.txt
[09/10/2016-21:11:30] Calculating Meteo data and statistics
[09/10/2016-21:11:30] Logging data to Database
[09/10/2016-21:11:30] Dir: N - Spd: 5.04 - Gst: 8.64 - Tout: 12.0 - Tin: 25.0 - Hout: 84.0 - Hin: 54.0 - P: 1018 - Rtot: 2421.3 - RDay: 2400.3 - R1h: 0.0 - R24h: 2400.3 - CB: 577
[09/10/2016-21:11:45] Checking internet connetion ...
[09/10/2016-21:11:45] No Internet
[09/10/2016-21:11:45] Checking internet connetion ...
[09/10/2016-21:11:45] No Internet
[09/10/2016-21:11:45] Error. Non internet connection available
[09/10/2016-21:11:45] Disk space left = 4508 Mb
[09/10/2016-21:11:45] Sleeping 53 seconds
[09/10/2016-21:12:01] Error Logging to Wunderground :
[09/10/2016-21:12:01] Error sending file to server : meteo.txt
[09/10/2016-21:12:01] Deleted file : /dev/shm/meteo.txt
[09/10/2016-21:08:23] Starting SINT WIND PI ...

Please Log in to join the conversation.

More
7 years 6 months ago #7345 by Pietro
Replied by Pietro on topic problema ppp USB dongle UMTS
... altra cosa strana con la v3: il file swpi.cfg perde tutti i suoi settaggi ma l'acquisizione da IP CAM continua e le foto vengono inviate come da cadenza prestabilita anche se la stazione meteo non è più operativa.
Piero

Please Log in to join the conversation.

Time to create page: 0.870 seconds