elio marvin ha scritto: [...] > > OK-AT-OK AT+CGDCONT=1,"IP","ibox.tim.it" > > a me risulta che la stringa sopra dovrebbe essere: > AT+CGDCONT=1,"IP","ibox.tim.it","",0,0 E in effetti così si connette (grazie un monte!) però..... C'è un però perché il ppp non "aggancia" e dopo pochi attimi cade la connessione. Questi sono i log: Aug 5 18:15:44 server chat[4152]: AT+CGDCONT=1,"IP","ibox.tim.it","",0,0^M^M Aug 5 18:15:44 server chat[4152]: OK Aug 5 18:15:44 server chat[4152]: -- got it Aug 5 18:15:44 server chat[4152]: send (AT+CSQ^M) Aug 5 18:15:44 server chat[4152]: expect (OK) Aug 5 18:15:44 server chat[4152]: ^M Aug 5 18:15:44 server chat[4152]: AT+CSQ^M^M Aug 5 18:15:44 server chat[4152]: +CSQ: 0,99^M Aug 5 18:15:44 server chat[4152]: ^M Aug 5 18:15:44 server chat[4152]: OK Aug 5 18:15:44 server chat[4152]: -- got it Aug 5 18:15:44 server chat[4152]: send (ATDT*99#^M) Aug 5 18:15:44 server chat[4152]: expect (CONNECT) Aug 5 18:15:44 server chat[4152]: ^M Aug 5 18:15:44 server chat[4152]: ATDT*99#^M^M Aug 5 18:15:44 server chat[4152]: CONNECT Aug 5 18:15:44 server chat[4152]: -- got it Aug 5 18:15:44 server chat[4152]: send (\d) Aug 5 18:15:45 server pppd[4123]: Serial connection established. Aug 5 18:15:45 server pppd[4123]: using channel 2 Aug 5 18:15:45 server pppd[4123]: Using interface ppp0 Aug 5 18:15:45 server pppd[4123]: Connect: ppp0 <--> /dev/ttyHS3 Aug 5 18:15:46 server pppd[4123]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x783e804a> <pcomp> <accomp>] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0x1a33e79> <pcomp> <accomp>] Aug 5 18:15:46 server pppd[4123]: No auth is possible Aug 5 18:15:46 server pppd[4123]: sent [LCP ConfRej id=0x4 <auth chap MD5>] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x783e804a> <pcomp> <accomp>] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x1a33e79> <pcomp> <accomp>] Aug 5 18:15:46 server pppd[4123]: sent [LCP ConfAck id=0x5 <asyncmap 0x0> <magic 0x1a33e79> <pcomp> <accomp>] Aug 5 18:15:46 server pppd[4123]: sent [LCP EchoReq id=0x0 magic=0x783e804a] Aug 5 18:15:46 server pppd[4123]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] Aug 5 18:15:46 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP DiscReq id=0x6 magic=0x1a33e79] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP EchoRep id=0x0 magic=0x1a33e79 78 3e 80 4a] Aug 5 18:15:46 server pppd[4123]: rcvd [LCP ProtRej id=0x7 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Aug 5 18:15:46 server pppd[4123]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received Aug 5 18:15:49 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:15:52 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:15:55 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:15:58 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:01 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:04 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:04 server kernel: [ 3344.890109] XFS mounting filesystem dm-0 Aug 5 18:16:05 server kernel: [ 3345.316178] Ending clean XFS mount for filesystem: dm-0 Aug 5 18:16:07 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:10 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:13 server pppd[4123]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Aug 5 18:16:16 server pppd[4123]: sent [LCP EchoReq id=0x1 magic=0x783e804a] Aug 5 18:16:16 server pppd[4123]: IPCP: timeout sending Config-Requests Aug 5 18:16:16 server pppd[4123]: sent [LCP TermReq id=0x2 "No network protocols running"] Aug 5 18:16:19 server pppd[4123]: sent [LCP TermReq id=0x3 "No network protocols running"] Aug 5 18:16:22 server pppd[4123]: Connection terminated. Aug 5 18:16:23 server pppd[4123]: Modem hangup [...] Questo però parrebbe un problema di configurazione di ppp. -- Ciao leandro Io non voglio sapere tutto, io voglio capire tutto
Attachment:
pgpaXNLIfot2_.pgp
Description: PGP signature