[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lenny: connessione GPRS non risolve i nomi



Ciao Davide, e un saluto "rilasciato" si estende a tutta la lista... : ))

Il 23/04/07, Davide Corio < davide.corio@redomino.com> ha scritto:
Il giorno lun, 23/04/2007 alle 16.48 +0200, vg ha scritto:
> Buongiorno a tutta la lista,
>
> dopo l'aggiornamento a Lenny, la mia connessione con cellulare GPRS
> tramite pppd, non risolve più i nomi con gli script che con etch
> funzionavano... e che continuano a funzionare per la connessione...
> ma...
>
> se pingo un IP nudo e crudo ottengo regolare risposta, ma con il nome
> no...
>
> è cambiato qualcosa con la nuova versione di pppd ???

hai guardato che ti dia correttamente i dns?

sicuramente è cambiato qualcosa nel comportamento di pppd...
con Etch  dando il comando

pppd call ppp_vodafone

ottenevo un verboso output del collegamento, compresi anche i due DNS server di omnitel...

adesso a video ottengo solo:

CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered

poi in /var/log/messages mi trovo:

Apr 24 07:26:42 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Apr 24 07:26:42 localhost kernel: PPP generic driver version 2.4.2
Apr 24 07:26:42 localhost pppd[3479]: pppd 2.4.4 started by root, uid 0
Apr 24 07:26:45 localhost chat[3482]: abort on (BUSY)
Apr 24 07:26:45 localhost chat[3482]: abort on (NO CARRIER)
Apr 24 07:26:45 localhost chat[3482]: abort on (VOICE)
Apr 24 07:26:45 localhost chat[3482]: abort on (NO DIALTONE)
Apr 24 07:26:45 localhost chat[3482]: abort on (NO ANSWER)
Apr 24 07:26:45 localhost chat[3482]: abort on (DELAYED)
Apr 24 07:26:45 localhost chat[3482]: send (AT&F^M)
Apr 24 07:26:45 localhost chat[3482]: expect (OK)
Apr 24 07:26:45 localhost chat[3482]: ^M
Apr 24 07:26:45 localhost chat[3482]: OK
Apr 24 07:26:45 localhost chat[3482]:  -- got it
Apr 24 07:26:45 localhost chat[3482]: send (ATE1^M)
Apr 24 07:26:45 localhost chat[3482]: expect (OK)
Apr 24 07:26:45 localhost chat[3482]: ^M
Apr 24 07:26:46 localhost chat[3482]: ATE1^M^M
Apr 24 07:26:46 localhost chat[3482]: OK
Apr 24 07:26:46 localhost chat[3482]:  -- got it
Apr 24 07:26:46 localhost chat[3482]: send (AT+CGDCONT=1,"IP","web.omnitel.it","0.0.0.0",0,0^M)
Apr 24 07:26:46 localhost chat[3482]: expect (OK)
Apr 24 07:26:46 localhost chat[3482]: ^M
Apr 24 07:26:46 localhost chat[3482]: AT+CGDCONT=1,"IP","web.omnitel.it","0.0.0.0",0,0^M^M
Apr 24 07:26:46 localhost chat[3482]: OK
Apr 24 07:26:46 localhost chat[3482]:  -- got it
Apr 24 07:26:46 localhost chat[3482]: send (ATD*99***1#^M)
Apr 24 07:26:46 localhost chat[3482]: expect (CONNECT)
Apr 24 07:26:46 localhost chat[3482]: ^M
Apr 24 07:26:50 localhost chat[3482]: ATD*99***1#^M^M
Apr 24 07:26:50 localhost chat[3482]: CONNECT
Apr 24 07:26:50 localhost chat[3482]:  -- got it
Apr 24 07:26:50 localhost chat[3482]: send (c^M)
Apr 24 07:26:50 localhost pppd[3479]: Serial connection established.
Apr 24 07:26:50 localhost pppd[3479]: Using interface ppp0
Apr 24 07:26:50 localhost pppd[3479]: Connect: ppp0 <--> /dev/rfcomm0
Apr 24 07:26:53 localhost pppd[3479]: PAP authentication succeeded
Apr 24 07:26:53 localhost kernel: PPP BSD Compression module registered
Apr 24 07:26:53 localhost kernel: PPP Deflate Compression module registered
Apr 24 07:26:55 localhost pppd[3479]: local  IP address 83.224.241.17
Apr 24 07:26:55 localhost pppd[3479]: remote IP address 10.6.6.6

dove come si vede non sono presenti gli IP dei DNS omnitel...

altra cosa strana, la connessione non viene interrotta dal solito ctrl C, ma devo interromperla lato cellulare, e avendo messo l'opzione "persist" nello script di collegamento, dopo poco viene ripristinata finchè non stacco il bluetooth del cellulare...

in /etc/resolv.conf ho solo l'IP del DNS della rete locale...

boh...

Vieri

Reply to: