PPP+PAP+Andinanet

Imagen de jotawolf

Forums: 

:casstet:
Ya configuré el modem y se conecta, el momento de autentificar el PAP contra andinanet no lo hace... ya sigo paso a paso el PAP HOWTO pero ni por esas alguien que haya logrado conectarse a andinanet...
Como lo hizo?
Gracias!!

PPP+PAP+Andinanet

Yo tambien uso andinanet, hago lo siguiente :

# cd /etc/ppp/
# touch chat

ese fichero trae lo siguiente ( o pones lo siguiente ) :

REPORT "CONNECT"
REPORT "CARRIER"
ABORT "NO CARRIER"
ABORT "BUSY"
ABORT "NO DIALTONE"
ABORT "WAITING"
"" "AT&FH0"
OK "ATM0DT2991111"
TIMEOUT 60
CONNECT ""

# touch anet

ese fichero trae lo siguiente ( o pones lo siguiente ) :

connect "/usr/sbin/chat -v -f /etc/ppp/chat"
/dev/modem
name 50268719
usepeerdns
debug

# cat options

defaultroute
noipdefault
crtscts
modem
115200
noipx
mtu 576
mru 1500
passive
asyncmap a0000
lock

# cat pap-secrets

# Username Server Password IP addresses
"50268716" * "misuperclave"

y luego marco, hago :

pppd file /etc/ppp/net

me sale esto al conectarme:
Sep 23 15:07:46 snake pppd[409]: Serial connection established.
Sep 23 15:07:46 snake pppd[409]: Using interface ppp0
Sep 23 15:07:46 snake pppd[409]: Connect: ppp0 <--> /dev/modem
Sep 23 15:07:51 snake pppd[409]: local IP address 64.86.67.xxx
Sep 23 15:07:51 snake pppd[409]: remote IP address 64.86.67.xxx

espero que te ayude :

usa la version de pppd 2.4.1
haz un pppd --version para ver la version :D

cat .signature > signature.c

gcc signature.c -lsignature -o signature

./signature

core dumped

PPP+PAP

Imagen de loutux

Saludos a todos:

Me podrian indicar si lo anterior es valido para cualquier proveedor de Internet aca en Ecuador? Necesito configurar mi conexion a Internet utilizando mi linea telefonica y no logro ... me sale el siguiente error:
[root@maq root]# wvdial 17.5k 29.8k 47.3k
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT2269771
--> Waiting for carrier.
ATDT2269771
CONNECT 115200
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!X} }8}"}&} }*} } }#}$@#}%}&,v}/[10]}'}"}(}"?}/~
--> PPP negotiation detected.
--> Starting pppd at Fri Aug 27 17:59:19 2004
--> pid of pppd: 25919
--> Disconnecting at Fri Aug 27 17:59:23 2004
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT2269771
--> Waiting for carrier.
ATDT2269771
CONNECT 115200
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!c} }8}"}&} }*} } }#}$@#}%}&,vS}#}'}"}(}".H~
--> PPP negotiation detected.
--> Starting pppd at Fri Aug 27 18:00:09 2004
--> pid of pppd: 25978
--> Disconnecting at Fri Aug 27 18:00:13 2004
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 10 seconds
--> Initializing modem.
--> Sending: ATZ
NO CARRIER
--> Sending: ATQ0
ATQ0
OK

Mil gracias a todos...

Lou