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

ADSL en mi pc, 真mito o leyenda?? (o yo soy muy tonto?)





Hola aquí me tienen de nuevo molestando con mis
preguntas, esta vez escribi un mail de consulta mas
preciso, debido a que en los anteriores no lo he sido.
Resulta que tengo un servicio de conexión a la
internet mediante ADSL (la cual no logre hacerla
funcionar en el Debian), brindado por ADVANCE, que
pertenece a TELEFONICA DE ARGENTINA (esos que nos
mandan las boletas de color verde que tanto nos hacen
doler los bolsillos y mas de una vez la cabeza, pero
ese es otro tema, jeje) bueno es servicio es
denominado SPEEDY con una velocidad de 256kbps (por el
momento mas que suficiente para mi), me conecto
mediante un router ARESCOM que se conecta a una placa
de red REALTEK 8139 por medio de RJ-45 y bueno en
windoze la conexión funciona bajo PPPoE, en el Debian
tambien funciona bajos los mismos conceptos, según me
dieron a entender en mails anteriores.
Por lo cual instale el paquete que se encuentra en el
cd2 de la distro 2.2 r5, el mismo si mal no recuerdo
se llama  pppoe_1.0-1.deb, el cual lo copie al rigido
y lo inastale con el comando `dpkg ?i pppoe_1.0-1.deb´
en el directorio donde se encontraba situado, (vale la
pena aclararlo porque no todos lo que esten leyendo
este mail son usuarios expertos o avanzados, en mi
caso soy bastante pricipiante, y se nota bastante)
Bueno luego de hacer eso tube que cargar los modulos
de la placa de red que son rtl8139 que eso se
configura con `modconf´ en la parte de network o net
bien no recuerdo, paro tambien ahí active que cargue
el modulo ppp en el kernel, asi cuando bootea los
carga. 
Bueno espero que me puedan dar una mano asi puedo
salir al mundo con el Debian  y lo mas impotanrte
espero que las respuestas que le den a este mail les
sirva a todos los demas que se encuentran con el mismo
problema que yo. 

 -- -- -- -- -- -- 
readme.deibian  situado en /usr/share/doc/pppoe 
   -- -- -- --  


How to setup your DSL PPPoE connection

Do the following steps as root:

1. Edit the file pap-secrets file, adding a line to
the outbound
connections sections that has the following format:

username@sympatico.ca	  sympatico.ca	    password

Replace 'username' by the username your DSL provider
gave you and 'password'
by your password. This assumes that your provider is
Sympatico. If it is
not, you will also need to replace 'sympatico.ca' by
the address of your
provider.

2. Edit the file /etc/ppp/peers/dsl-provider, adding a
line that reads:

user username@sympatico.ca

where what follows 'user' is identical to the first
part of the line you
added to pap-secrets (here 'username@sympatico.ca').

3. Edit the file /etc/init.d/network, adding a line
that says:

ifconfig eth0 up

4. Edit the file /etc/init.d/ppp. Find the line in the
'start' section that
starts pppd and replace the word 'provider' by
'dsl-provider'. That line
should now look like:

start-stop-daemon --start --quiet --exec
/usr/sbin/pppd -- call dsl-provider

5. Create an empty file /etc/ppp/ppp_on_boot by
running the command "touch
/etc/ppp/ppp_on_boot".

Your DSL PPPoE connection is now set up. To start it,
execute
"/etc/init.d/ppp start". The connection will come up
automatically the next
time you boot.






Bueno entonces voy a /etc/ppp/, para editar
pap-secrets, y queda de esta manera:


------ ------- ---
-> pap-secrets
-----  --- ------ -
#
# /etc/ppp/pap-secrets
#
# This is a pap-secrets file to be used with the
AUTO_PPP function of
# mgetty. mgetty-0.99 is preconfigured to startup pppd
with the login option
# which will cause pppd to consult /etc/passwd (and
/etc/shadow in turn)
# after a user has passed this file. Don't be
disturbed therfore by the fact
# that this file defines logins with any password for
users. /etc/passwd
# (again, /etc/shadow, too) will catch passwd
mismatches.
#
# This file should block ALL users that should not be
able to do AUTO_PPP.
# AUTO_PPP bypasses the usual login program so its
necessary to list all
# system userids with regular passwords here.
#
# ATTENTION: The definitions here can allow users to
login without a
# password if you don't use the login option of pppd!
The mgetty Debian
# package already provides this option; make sure you
don't change that.

# INBOUND connections

# Every regular user can use PPP and has to use
passwords from /etc/passwd
*	alpha	""	*

# UserIDs that cannot use PPP at all. Check your
/etc/passwd and add any
# other accounts that should not be able to use pppd!
guest	alpha	"*"	-
master	alpha	"*"	-
root	alpha	"*"	-
support	alpha	"*"	-
stats	alpha	"*"	-

# OUTBOUND connections

# Here you should add your userid password to connect
to your providers via
# PAP. The * means that the password is to be used for
ANY host you connect
# to. Thus you do not have to worry about the foreign
machine name. Just
# replace password with your password.
# If you have different providers with different
passwords then you better
# remove the following line.

jorge@speedy 	*	46360772
 


------- ----

para contunuar pide que editemos
/etc/ppp/peers/dsl-provider, agregando una linea que
se asemeje a esta:

user username@sympatico.ca

claro, pero con el nombre de usuario que nos
correponde. En mi caso el archivo quedo de la
siguiente manera:


---------  -------- ----- 
-> /etc/ppp/peers/dsl-provider 
---- ---- ---- ---- --- 
pty "pppoe -I eth0 -T 80"
noipdefault
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
mtu 1492
mru 2400
noauth
persist
user jorge@speedy
--- ---- ---- ----- -- 


Para seguir configurnadolo, pide que editemos
/etc/init.d/network  agregandole una linea que comente
lo siguiente:


ifconfig eth0 up

Bueno al no existir este archivo en el directorio
indicado en el readme.debian, lo tube que crear (bueno
en realidad hay uno llamado netwoking, por lo cual me
pone en duda si ahí es donde debo comentar la linea),
pero como en el readme dice bien claro
?/etc/init.d/network? asi que que lo creo y le escrivo
dentro de el 
La linea  ?ifconfig eth0 up?.
Bueno la duda que  me surje es si ¿tengo que ejecutar
`chmod ?x network´?. 



Bueno para seguir configurandolo nos dice que editemos
/etc/init.d/ppp pidiendo que busquemos la linea
'start' y que reemplacemos donde dice 'provider' por
'dsl-provider'
Y que nuestro archivo va a lucir similar a esto:
start-stop-daemon --start --quiet --exec
/usr/sbin/pppd -- call dsl-provider

y aqui tienen como es mi archivo


--- --- --- --- -- -
->/etc/init.d/ppp 
--- - -- - - -- ---

#!/bin/sh
#
#   /etc/init.d/ppp: start or stop PPP link.
#
# If you want PPP started on boot time (most dialup
systems won't need it)
# rename the /etc/ppp/no_ppp_on_boot file to
/etc/ppp/ppp_on_boot, and
# follow the instructions in the comments in that
file.

PATH=/bin:/sbin:/usr/bin:/usr/sbin
test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot ||
exit 0
if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi

case "$1" in
  start)
      echo -n "Starting up PPP link: pppd"
      if [ "$RUNFILE" = "1" ]; then
        /etc/ppp/ppp_on_boot
      else
        pppd call dsl-provider
      fi
      echo "."
    ;;
  stop)
      echo -n "Shutting down PPP link: pppd"
      if [ "$RUNFILE" = "1" ]; then
        poff
      else
        poff dsl-provider
      fi
      echo "."
    ;;
  restart|force-reload)
      poff -r
    ;;
  *)
      echo "Usage: /etc/init.d/ppp
{start|stop|restart|force-reload}"
      exit 1
    ;;
esac

exit 0

---- --- --- --- --- --- - - - - -- --- - - - 
**me pregunto si ¿asi esta bien configurado? (en caso
de estar mal agradeceria que me indiquen donde.
--- --- -- -- - -- - -- - - -- - -- - - - - - - 


luego para continuar nos dice que creemos un archivo
vacio en /etc/ppp/ppp_on_boot, el cual lo creo y lo
dejo ahi vacio como lo indica.


Y si esta todo bien ejecutando "/etc/init.d/ppp
start". La conexión tendria que funcionar, y cuando al
rebootear se abrira la interfaz automáticamente, asi
se supone.
Bueno les comento que luego de hacer todo esto, al
ejecutar `ifconfig´ la unica interna que muestra
abierta es ?lo? mientras que si estubiese funcionando
como corresponde tendria que estar abirtas ?eth0?y
?ppp0?
Bueno al menos eso supongo, y hasta aquí han llegado
mis escasos conocimientos en el tema. Ahora estaria
muy agradecido si alguien que actualmente este
conectado mediante ADSL, y lógicamente tenga un
servicio similar al mio como he descripto en los
encabezados de este e-mail, estaria muy agradecido si
se toma la molestia de comparar sus archivos de
confguracion con los mios que he incluido en este
mail.

Bueno me voy despidiendo 
Abrazos para todos, y grcias por contestar mails
anteriores.




 
 
	


Conectate a Internet GRATIS con Yahoo! Conexión: 
http://conexion.yahoo.com.ar



Reply to: