Conexión a redes con tecnología ADSL usando Linux Conseguir el paquete rp-pppoe-3.5-i386-1.tgz eh instalar #installpkg rp-pppoe-3.5-i386-1.tgz Consultar que la interface eth0 este en blanco (O la comunicante directa al modem) En consola teclear lo siguiente #pico /etc/rc.d/rc.inet1.conf --Debe estar de esta manera # Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" Cuando se tenga instalado el paquete rp-pppoe se proseguira a configurar el programa con el comando adsl-setup de la siguiente manera #adsl-setup y seguir los pasos aqui descritos >>> Enter your PPPoE user name (default xxx ): --Poner nombre de usuario para tu conexion infinitum >>> 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): --Definir cual tarjeta ethernet sera la comunicante con el modem por ejemplo "eth0" 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): --Solo escribir no o dar enter 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: **En este paso hay tres posibilidades --Dar direcciones DNS ejemplo www.xxx.com --Asignar directamente desde el servidor escribir "server" --No modificar nada solo enter (USUARIOS PRODIGY USAR LA OPCION 2) PASSWORD >>> Please enter your PPPoE password: --Escribir password asignado por tu ISP (Internet Service Provider) 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): --Seleccionar la opcion que defina la seguridad que necesites yo seleccione "0" que es interpretado "sin firewall" >>> Accept these settings and adjust configuration files (y/n)? --Solo escribir "y" Una vez configurado el servicio ADSL, se pueden utilizar los comandos: --adsl-start para iniciar la comunicación. --adsl-stop para terminar la comunicación. Y ahora solo iniciar el servicio con adsl-start #adsl-start Mostrando lo siguiente . Connected! Y consultar que todo este bien con el comando los siguientes comandos ifconfig adsl-status ping P-t-P Teclear como root lo siguiente #ifconfig >>>Debe mostrar algo similar con tus ip's locales eth0 Link encap:Ethernet HWaddr 00:C0:A8:FD:B1:A4 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:420 errors:0 dropped:0 overruns:0 frame:0 TX packets:469 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:69723 (68.0 Kb) TX bytes:50687 (49.4 Kb) Interrupt:11 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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:100 (100.0 b) TX bytes:100 (100.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:201.144.137.248 P-t-P:148.223.237.49 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:358 errors:0 dropped:0 overruns:0 frame:0 TX packets:407 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:58054 (56.6 Kb) TX bytes:39728 (38.7 Kb) Teclear como root lo siguiente #adsl-status >>>Debe mostrar algo similar con tus ip's publicas adsl-status: Link is up and running on interface ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:201.144.137.248 P-t-P:148.223.237.49 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:672 errors:0 dropped:0 overruns:0 frame:0 TX packets:791 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:89384 (87.2 Kb) TX bytes:85632 (83.6 Kb) Teclear como root lo siguiente #ping -c3 _P-t-P_ **ping -c3 148.223.237.49** >>>Debe mostrar algo similar con las ip de tu (ISP) PING 148.223.237.49 (148.223.237.49) 56(84) bytes of data. 64 bytes from 148.223.237.49: icmp_seq=1 ttl=255 time=21.7 ms 64 bytes from 148.223.237.49: icmp_seq=2 ttl=255 time=20.5 ms 64 bytes from 148.223.237.49: icmp_seq=3 ttl=255 time=21.1 ms --Si se requiere cada que inicie la maquina tendremos que agregar lo siguiente a /etc/rc.d/rc.local con algun comentario para saber de que servicio se trata #pico /etc/rc.d/rc.local Quedando asi #!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local setup commands in here: #Este ruta es para iniciar mi conexion a prodigy /usr/sbin/adsl-start --Solo resta abrir mozilla o firefox y comenzar a navegar