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

PPP colpisce ancora....



La mia disavventura con PPP continua.
Come mi e' stato consigliato allego i responsi dei vari log e gli script che
uso per connettermi sotto linux

Intanto la situazione e' migliorata: il modem si connette e arrivo fino al
riconoscimento dell'utente su accesso PAP ma....

/var/log/messages
Oct 30 17:25:40 localhost pppd[793]: pppd 2.3.10 started by root, uid 0
Oct 30 17:25:41 localhost chat[795]: timeout set to 60 seconds
Oct 30 17:25:41 localhost chat[795]: abort on (ERROR)
Oct 30 17:25:41 localhost chat[795]: abort on (BUSY)
Oct 30 17:25:41 localhost chat[795]: abort on (NO CARRIER)
Oct 30 17:25:41 localhost chat[795]: abort on (NO DIALTONE)
Oct 30 17:25:41 localhost chat[795]: send (AT&FH0X3^M)
Oct 30 17:25:41 localhost chat[795]: expect (OK)
Oct 30 17:25:42 localhost chat[795]: AT&FH0X3^M^M
Oct 30 17:25:42 localhost chat[795]: OK
Oct 30 17:25:42 localhost chat[795]:  -- got it
Oct 30 17:25:42 localhost chat[795]: send (ATDTxxxxxxxxxxxxxxxx^M)
Oct 30 17:25:42 localhost chat[795]: timeout set to 75 seconds
Oct 30 17:25:42 localhost chat[795]: expect (CONNECT)
Oct 30 17:25:42 localhost chat[795]: ^M
Oct 30 17:26:08 localhost chat[795]: ATDTxxxxxxxxxxxxxxx^M^M
Oct 30 17:26:08 localhost chat[795]: CONNECT
Oct 30 17:26:08 localhost chat[795]:  -- got it
Oct 30 17:26:08 localhost pppd[793]: Serial connection established.
Oct 30 17:26:08 localhost pppd[793]: Using interface ppp0
Oct 30 17:26:08 localhost pppd[793]: Connect: ppp0 <--> /dev/modem
Oct 30 17:26:39 localhost pppd[793]: LCP: timeout sending Config-Requests
Oct 30 17:26:39 localhost pppd[793]: Connection terminated.
Oct 30 17:26:40 localhost pppd[793]: Exit.


Il modem e' connesso correttamente (collegamento a ttySx e non a cuax)
file /etc/ppp/options
    /dev/modem
    115200
    debug
    crtscts
    defaultroute
    mtu 552
    mru 552

e questo e' lo script che uso:
#!/bin/bash
/usr/sbin/pppd connect "/usr/sbin/chat -v -f /etc/ppp/ppplibero" user
MioUser -d -detach

e il file /etc/ppp/ppplibero
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
'' 'AT&FH0X3'
OK 'ATDTxxxxxxxxxxxxxx'
TIMEOUT 75
CONNECT

Ho provato anche con il file option cosi' configurato
    /dev/modem
    115200
    debug
    lock
    modem
    crtscts
    defaultroute
    asyncmap 0
    remotename libero.it
    mtu 552
    mru 552

ma non e' cambiato niente

Ho provato a configurare la connessone tramite Linuxconf ed ho visto che nel
file pap-secret metteva 'ppp0' al posto dell'asterisco tra lo username e la
password.

Spero di aver messo tutto (non ho creato o modificato nient'altro)
Grazie per l'aiuto.
Daniele
  
  

--
TiscaliFreeNet, libero accesso ad Internet.
http://www.tiscalinet.it


Reply to: