ho cercato un pò in giro per vedere come stabilire la connessione e ho trovato questa guida:
http://3v1n0.tuxfamily.org/blog/informa ... pitolo%203
qui si parla della connessione con tim ma per 3 basta cambiare
Codice: Seleziona tutto
AT+cgdcont=,"ip","ibox.tim.it"Codice: Seleziona tutto
AT+cgdcont=,"ip","naviga.tim.it"comunque la connessione parte mi dice che si collega, mi da la schermatina con la durata e dopo qualche secondo, dal terminale dove ho lanciato gnome-ppp esce questo
Codice: Seleziona tutto
GNOME PPP: Connessione...
GNOME PPP: STDERR: --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
GNOME PPP: STDERR: --> WvDial: Internet dialer version 1.56
GNOME PPP: STDERR: --> Cannot get information for serial port.
GNOME PPP: STDERR: --> Initializing modem.
GNOME PPP: STDERR: --> Sending: ATZ
GNOME PPP: STDERR: ATZ
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: --> Modem initialized.
GNOME PPP: STDERR: --> Sending: ATM1L3DT*99***2#
GNOME PPP: STDERR: --> Waiting for carrier.
GNOME PPP: STDERR: ATM1L3DT*99***2#
GNOME PPP: STDERR: CONNECT
GNOME PPP: STDERR: ~[7f]}#@!}!}!} }8}#}$@#}(}"}'}"}"}&} } } } }%}&5D}67sB~
GNOME PPP: STDERR: --> Carrier detected. Waiting for prompt.
GNOME PPP: STDERR: ~[7f]}#@!}!}"} }8}#}$@#}(}"}'}"}"}&} } } } }%}&5D}679P~
GNOME PPP: STDERR: --> PPP negotiation detected.
GNOME PPP: STDERR: --> Starting pppd at Fri Jun 1 11:20:27 2007
GNOME PPP: STDERR: --> Pid of pppd: 7723
GNOME PPP: STDERR: --> Using interface ppp0
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> pppd: �[05][06][08]X[05][06][08]x[05][06][08]p"[06][08]P�[05][08]p�[05][08]��[05][08]
(gnome-ppp:7681): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
GNOME PPP: STDERR: --> Disconnecting at Fri Jun 1 11:20:29 2007
GNOME PPP: STDERR: --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
GNOME PPP: STDERR: --> man pppd explains pppd error codes in more detail.
GNOME PPP: STDERR: --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
andando a leggere /var/log/messages l'unica cosa riferita al modem è questa:
Codice: Seleziona tutto
jun 1 11:10:14 gnote pppd[7512]: Using interface ppp0
Jun 1 11:10:14 gnote pppd[7512]: Connect: ppp0 <--> /dev/ttyACM0
Jun 1 11:10:14 gnote pppd[7512]: CHAP authentication succeeded: Congratulations!
Jun 1 11:10:14 gnote pppd[7512]: CHAP authentication succeeded
Jun 1 11:10:16 gnote pppd[7512]: LCP terminated by peer
Jun 1 11:10:16 gnote pppd[7512]: Modem hangup
Jun 1 11:10:16 gnote pppd[7512]: Connection terminated.
Jun 1 11:10:17 gnote pppd[7512]: Exit.
Jun 1 11:20:27 gnote pppd[7723]: pppd 2.4.4 started by root, uid 0
Jun 1 11:20:27 gnote pppd[7723]: Using interface ppp0
Jun 1 11:20:27 gnote pppd[7723]: Connect: ppp0 <--> /dev/ttyACM0
Jun 1 11:20:27 gnote pppd[7723]: Remote message: Congratulations!
Jun 1 11:20:27 gnote pppd[7723]: PAP authentication succeeded
Jun 1 11:20:28 gnote pppd[7723]: LCP terminated by peer
Jun 1 11:20:29 gnote pppd[7723]: Modem hangup
Jun 1 11:20:29 gnote pppd[7723]: Connection terminated.
Jun 1 11:20:29 gnote pppd[7723]: Exit.
Grazie!

