Como instalar Infinitum de Telmex en Linux
Esta pagina es una guia rapida de como instalar Infinitum de Telmex en una maquina linux.
Porfavor no me manden mails con preguntas/soporte tecnico pues seran amigablemente ignoradas.
Si te sirve la informacion de esta pagina me da mucho gusto, si no es suficiente el mejor
consejo es que te puedo dar es que recuerdes que google es tu amigo. Correcciones o mejoras seran
agradecidas, enviame un mail a chema@ximian.com.
Puedes econtrar una version actualizada de este documento en :
http://www.gnome.org/~chema/infinitum/index.html
Instalar Infinitum con Linux es muy facil, por lo menos esa fue mi experiencia ya que las
versiones mas recientes de las distribuciones tienen soporte para pppoe integrado (pppoe
es el protocolo que utiliza Infinitum). Te recomiendo que Telmex te envie un modem de
tarjeta de red, aunque el de USB seguramente funciona nunca lo he intentado configurar.
Telmex tiene (por lo menos) dos modelos, el "Speed Touch Pro" y el "Speed Touch Home" ambos
funcionan, la diferencia principal es que con el Pro no es necesario tener una maquina configurada
como gateway, pues tiene servicio de DHCP y NAT (IP masq integrado). El Speed Touch Home va a
requerir que tengas dos tarjetas de red, una para comunicarse con el modem ADSL y otra para la red
interna, Telmex te proporciona una tarjeta de red cuando te instalan el servicio. Te recomiendo
tener una maquina como gateway para que puedas connectarte a tu red desde afuera.
La unica informacion que necesitas por parte de telmex es tu nombre de usuario (login) y tu
password. Ya que todas las cuentas de Infinitum tienen una cuenta de Prodigy normal, puedes probar
tu password con un dial-up normal de prodigy (tel: 5-328-9928)
Configuracion :
Esta es la configuracio que yo utilize :
* Modem : Speet Touch Home
* Distro : uuxii [ http://uuxii.cofradia.org ] Red Hat 7.2 Ximianizado.
* 2 tarjetas de red
- eth0 para comunicacion con el modem ADSL y
- eth1 para comunicacion con la red interna
* IP de la red interna 192.168.0.x
* rp-pppoe version 3.2-3 (de Red Hat)
Links :
Roaring Penguin Software - http://www.roaringpenguin.com/pppoe
UUXII - http://uuxii.cofradia.org
Instalacion :
1. Archivos necesarios.
No se por que razon, nuestros amigos de Red Hat quitaron de el paquete rp-pppoe estos
archivos.
a) adsl-setup
Puedes bajarlo de :
http://www.gnome.org/~chema/infinitum/archivos/adsl-setup
y dejalo en /usr/sbin/adsl-setup con el resto de los scripts de adsl.
Tienes que darle privilegios de ejecucion a adsl-setup con :
chmod 755 /usr/sbin/adsl-setup
b) pppoe.conf
adsl-setup va a requerir que tengas un archivo de configuracion default. Baja :
http://www.gnome.org/~chema/infinitum/archivos/pppoe.conf
y dejalo en /etc/ppp/pppoe.conf
2. Configuracion de las interfaces de red
Configura tus intefaces de red. "eth0" como 10.0.0.1 "eth1" como 192.168.0.1. Para
Red Hat puedes bajar
http://www.gnome.org/~chema/infinitum/archivos/ifcfg-eth0
y dejarlo en /etc/sysconfig/network-scripts/ifcfg-eth0
Y :
http://www.gnome.org/~chema/infinitum/archivos/ifcfg-eth1
y dejarlo en /etc/sysconfig/network-scripts/ifcfg-eth1
O bien utilizar las setup tools.
Verifica con ifconfig que las tarjetas de red se encuentren configuradas y activadas.
Deberias de ver algo como :
[root@bongo root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:DA:D7:31:D6
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:15
collisions:0
RX bytes:0 (0.0 b) TX bytes:11544 (11.2 Kb)
eth1 Link encap:Ethernet HWaddr 00:04:E2:06:A1:EE
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:1769 errors:0 dropped:0 overruns:0 frame:0
TX packets:2043 errors:0 dropped:1 overruns:0 carrier:0
collisions:3
RX bytes:296380 (289.4 Kb) TX bytes:238709 (233.1 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:187 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:15284 (14.9 Kb) TX bytes:15284 (14.9 Kb)
[root@bongo root]#
3. adsl-setup
El script de adsl-setup se encarga de modificar tus archivos de configuracion, ejecuta
el script y responde a las preguntas.
USER NAME
>>> Enter your PPPoE user name (default tu_nombre_de_usuario):
nombre de usuario.
INTERFACE
>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0):
Te pregunta al interfaz de red connectada al modem, en nuestro caso eth1.
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no):
Seguramente quieres reponder "no" a esta pregunta
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here:
Contesta "server" para que Telmex te proporcione los servidores DNS.
PASSWORD
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
Tu contras~a.
FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): >>> Please re-enter your PPPoE password:
Si quieres compartir la connecion a internet, contesta 2 de lo contrario contesta 1.
( DE AQUI EN ADELANTE FALTA DESARROLLAR)
4. Ejecuta "adsl-start"
[root@bongo scripts]# ./adsl-start
. Connected!
[root@bongo scripts]#
Si no funciona :
cables, contrase~a
5. Levanta adsl cuando inicies tu maquina, agregar a rc.local "/usr/sbin/adsl-start"
(Pon la tabla de ruteo a mano y da un "iptables-save".)
6. Pruebas
"ifconfig"
"route -n" :
[root@bongo scripts]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
148.223.219.137 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 148.223.219.137 0.0.0.0 UG 0 0 0 ppp0
[root@bongo scripts]#
PINGS
ping a prodigy
ping a una ip afuera 216.239.35.101
ping a un domain name afuera www.google.com
ping a tu maquina interna
ping de tu maquina interna al server
ping de tu maquina interna a ip afuera
ping de tu maquina interna a un nombre de dominio afuera
Pagina Principal