linux user group brescia

immagine del castello

Archivio della mailing list

(Fwd) help, pppd

Giorgio P.R. pgiorgio a numerica.it
Mar 12 Ott 1999 19:36:26 UTC
Ciao Fede.

Mi connetto a internet con la redhat 6.0 a numerica.

Ti mando i miei file di configurazione, tolta la password, mettili al
loro posto e non dovresti
avere alcun problema (a meno che come mi sembra sia il modem a dare
problemi).

Ciao.
Giorgio.

ISTRUZIONI:
metti i file:
ppp-on		(da modificare in fondo togliendo la mia login pgiorgio e
mettendo la tua=
ppp-on-dialer    va benissimo cosi')
pap-secrets (da modificare con la tua login e passowrd invece della mia)

in /etc/ppp


metti i file:
resolv.conf (importante!)
e 
host.conf
in
/etc/


i file in /etc devono avere permessi:
-rw-r--r--

i file in /etc/ppp devono avere questi permessi:
pap secret: deve essere leggibile solo da root!

-rw-------  1  root  daemon    96  May 22   15:18  pap-secrets

ls -la /etc/ppp

drwxr-xr-x   2 root     root         1024 Oct 12 21:34 .
drwxr-xr-x  30 root     root         3072 Oct 12 20:55 ..
-rw-------   1 root     daemon         78 Apr 10  1999 chap-secrets
-rw-------   1 root     root        62953 Oct 12 20:40 connect-errors
-rwxr-xr-x   1 root     root          265 Sep 16  1997 ip-down
-rwxr-xr-x   1 root     root          349 May  8  1998 ip-up
-rw-r--r--   1 root     daemon          0 May 22 15:16 options
-rw-------   1 root     daemon         96 May 22 15:18 pap-secrets
-r-sr-xr-x   1 root     root         1550 Sep 19 14:20 ppp-on
-rwsr-xr-x   1 root     root           85 Sep 24 23:04 ppp-on-dialer
-rwsr-xr-x   1 root     root           79 Sep 19 14:41 ppp-on-dialer~
-r-sr-xr-x   1 root     root         1549 Sep 19 14:19 ppp-on~

funzionera'!




FAMMI SAPERE SE NON TI FUZIONA PERCHE' IO DALLA 5.2 MI SONO LIMITATO A
COPIARE QUESTI FILE NELLA 6.0 E FUNZIONA SUBITO 
TUTTO.
Sono i settaggi per BrecsiaOnLine (ovvero numerica)

Buona connessione.
-------------- parte successiva --------------
#!/bin/sh
exec /usr/sbin/chat -vV -s '' atzx3 \
OK atx3m1l1dt17930302405008 CONNECT

-------------- parte successiva --------------
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command.  However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=0302405008  # The telephone number for the connection
ACCOUNT=pgiorgio      # The account name for logon
PASSWORD=             # The password for this account
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 them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd connect $DIALER_SCRIPT crtscts /dev/modem 115200 -mn -mru noipdefault defaultroute user pgiorgio login
-------------- parte successiva --------------
# Secrets for authentication using PAP
# client	server	secret			IP addresses
pgiorgio	*	latuapassword
-------------- parte successiva --------------
search numerica.it
nameserver 194.184.189.10
nameserver 193.205.245.5
-------------- parte successiva --------------
order hosts, bind
multi on


Maggiori informazioni sulla lista Lug