El 21/10/11 13:10, Michael Gonzalez Medina escribió:
El 21/10/11 13:05, Damián Tomey Soto escribió:
pues claro que no voy a recibir ni brindar servicios ipv6.
cómo lo deshabilito,
en consola:
#sysctl -w net.ipv6.conf.all.disable_ipv6=1

o edita de forma manual el archivo: /etc/sysctl.conf

y agrega la linea:

net.ipv6.conf.all.disable_ipv6=1


no debe traerme problemas verdad?

lee aqui y toma las precauciones pertinentes:

How to turn off IPv6

In squeeze

    *

Disable ipv6 in kernel : echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf will disable ipv6 at next reboot.
          o fetchmail will stop sending dns AAAA queries.
          o

If you've built a custom kernel with IPv6 as a module be aware that due to a race condition with the init scripts you'll need to load the ipv6 module before the procps init script is run (see /usr/share/doc/procps/README.Debian and 507788) o You will probably need to comment-out any IPv6 address in /etc/hosts (especially the one for loopback) otherwise ssh will fail to forward ports (or you must always use -4 to ssh).
    * In exim4:
          o

            put disable_ipv6 = true into your exim configuration file
          o

            run update-exim4.conf
          o then restart exim4
    * In sshd:
          o

            put AddressFamily inet into /etc/ssh/sshd_config
          o restart sshd: /etc/init.d/ssh restart
    *

      Change /etc/avahi/avahi-daemon.conf to say use-ipv6=no

Swisscom DSL with the latest netopia router will not work with Lenny out of the box. For example ssh only works the -4 option despite

    *

taking all steps recommended in http://wiki.debianforum.de/IPv6Deaktivieren
    *

      in /etc/modprobe.d/blacklist.conf setting blacklist ipv6

Are there really dirty hacks as in http://osdir.com/ml/debian-user-german-debian/2009-07/msg00516.html needed?

ni una cosa ni lo otro, tengo el dns externo en un cacharro con muy pocos recursos y el ancho de banda.. puaffff solo 64 Kb/s contratados

precisamente...! esa seria una de las razones... ;-)
saludos,


se me olvidaba, por ultimo ejecuta en consola:
#netstat -tunlp

para asegurarte que no quede ningun servicio relativo a ipv6 escuchando, por ejemplo, no deberias ver nada parecido a esto:

tcp6 0 0 :::80 :::* LISTEN 1210/apache2 tcp6 0 0 ::1:631 :::* LISTEN 1456/cupsd tcp6 0 0 ::1:25 :::* LISTEN 1940/exim4 tcp6 0 0 :::9090 :::* LISTEN 1954/java tcp6 0 0 :::9091 :::* LISTEN 1954/java


saludos,

PD: Disculpa no haberte traducido la parte en Ingles, si tienes algun problema para entenderlo escribeme y con gusto lo hago,


--


Michael González Medina.
Administrador de Red, CNSV.
Linux User #530254.
Nota: En este mensaje se han omitido los acentos.


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a