[Pluto-help] script di connessione a internetA
mmurd
mmurd a tiscali.it
Dom 17 Mar 2002 11:37:04 CET
Salve a tutti.
Vorrei collegarmi a internet utilizzando uno script, ma la procedura di
autentificazione fallisce sempre; in /var/log/message compaiono i seguenti
messaggi:
Mar 17 11:01:56 kenny chat[691]: -- got it
Mar 17 11:01:56 kenny chat[691]: send (ATDT0517790000^M)
Mar 17 11:01:56 kenny pppd[689]: Serial connection established.
Mar 17 11:01:56 kenny pppd[689]: Using interface ppp0
Mar 17 11:01:56 kenny pppd[689]: Connect: ppp0 <--> /dev/modem
Mar 17 11:02:27 kenny pppd[689]: LCP: timeout sending Config-Requests
Mar 17 11:02:27 kenny pppd[689]: Connection terminated.
Mar 17 11:02:27 kenny pppd[689]: Receive serial link is not 8-bit clean:
Mar 17 11:02:27 kenny pppd[689]: Problem: all had bit 7 set to 0
Mar 17 11:02:28 kenny pppd[689]: Exit.
Questo è lo script /etc/ppp/ppp-on
#!/bin/sh
#
TELEPHONE=0517160000 # The telephone number for the connection
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
export TELEPHONE
#
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 115200 \
kdebug 0 $LOCAL_IP:$REMOTE_IP \
user "la mia user_ID" \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
Questo invece è lo script /etc/ppp/ppp-on-dialer
#!/bin/sh
#
#
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'' \rATL2 \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
Nei file /etc/ppp/chapsecret e /etc/ppp/papsecret e' presente la riga:
"la mia user_ID" * "la mia password" *
Il mio provider e' Tiscali e uso una RedHat 6.2.
Qualcuno puo' aiutarmi?
Scusate la lunghezza del messaggio, grazie, ciao!
More information about the pluto-help
mailing list