|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Sep 2004
Messaggi: 1009
|
Configurazione di pppconfig
CIAO
Ho provato a configurare una connessione analogica ad Internet con il provider email.it usando il programma pppconfig ma non riesco neanche a "telefonare". Tramite la GUI di pppconfig, ho creato i seguenti file: Codice:
PLUTO:/etc/chatscripts# cat provider # This is the chat script used to dial out to your default service provider. # Please customize the entries enclosed in parenthesis to match your setup. # Only the "provider" file will be handled by poff and pon (unless with # extra command line arguments). # # Remember to edit /etc/ppp/peers/provider accordingly. # # ATZW2 as a default init string # - On all hayes compatible modems, W2 will correctly report the connect # speed. # ABORT BUSY ABORT "NO CARRIER" ABORT VOICE ABORT "NO DIALTONE" "" ATZW2 OK ATDT<put phone number here> ogin <put login name here> word \q<put password here> Codice:
PLUTO:/etc/chatscripts# cat email.it # This chatfile was generated by pppconfig 2.3.11. # Please do not delete any of the comments. Pppconfig needs them. # # ispauth PAP # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED # modeminit '' ATZ # ispnumber OK-AT-OK "ATDP7022852801" # ispconnect CONNECT \d\c # prelogin # ispname # isppassword # postlogin # end of pppconfig stuff Codice:
PLUTO:/etc/ppp/peers# cat provider # example configuration for a dialup connection authenticated with PAP or CHAP # # This is the default configuration used by pon(1) and poff(1). # See the manual page pppd(8) for information on all the options. # MUST CHANGE: replace myusername@realm with the PPP login name given to # your by your provider. # There should be a matching entry with the password in /etc/ppp/pap-secrets # and/or /etc/ppp/chap-secrets. user "myusername@realm" # MUST CHANGE: replace ******** with the phone number of your provider. # The /etc/chatscripts/pap chat script may be modified to change the # modem initialization string. connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********" # Serial device to which the modem is connected. /dev/modem # Speed of the serial line. 115200 # Assumes that your IP address is allocated dynamically by the ISP. noipdefault # Try to get the name server addresses from the ISP. usepeerdns # Use this connection as the default route. defaultroute # Makes pppd "dial again" when the connection is lost. persist # Do not ask the remote to authenticate. noauth Codice:
PLUTO:/etc/ppp/peers# cat email.it # This optionfile was generated by pppconfig 2.3.11. # # hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/email.it" debug /dev/modem 115200 defaultroute noipdefault user "[email protected]" remotename email.it ipparam email.it Codice:
PLUTO:/etc/ppp/peers# plog Jul 3 17:44:38 localhost chat[7279]: -- got it Jul 3 17:44:38 localhost chat[7279]: send (ATDP7022852801^M) Jul 3 17:44:39 localhost chat[7279]: expect (CONNECT) Jul 3 17:44:39 localhost chat[7279]: ^M Jul 3 17:44:39 localhost chat[7279]: ATDP7022852801^M^M Jul 3 17:44:43 localhost chat[7279]: NO DIALTONE Jul 3 17:44:43 localhost chat[7279]: -- failed Jul 3 17:44:43 localhost chat[7279]: Failed (NO DIALTONE) Jul 3 17:44:43 localhost pppd[7278]: Connect script failed Jul 3 17:44:44 localhost pppd[7278]: Exit. GRAZIE CIAO |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 02:57.



















