Cristalab

Cómo desactivar IPv6 en Mandriva Linux

Por: Drakedalfa + 15.04.2007

Para desactivar ipv6 en Mandriva para evitar los DNS mal configurados de los ISPs (lo que hace que la navegación por la red sea muy lenta) hay que hacer lo siguiente:
  1. Agregar "alias net-pf-10 off" y "alias ipv6 off" a /etc/modprobe.conf así:

    Código :

    # Tarjeta de red

    alias eth0 8139too

    # Tarjetas de sonido

    #remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss;
    #/sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
    #install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0
    #&& { /sbin/modprobe snd-pcm-oss; /bin/true; }

    remove snd-cmipci /sbin/modprobe -r snd-pcm-oss;
    /sbin/modprobe --first-time -r --ignore-remove snd-cmipci
    install snd-cmipci /sbin/modprobe --first-time --ignore-install snd-cmipci
    && { /sbin/modprobe snd-pcm-oss; /bin/true; }

    options snd_bt87x enable=1

    #alias sound-slot-0 snd-intel8x0
    alias sound-slot-0 snd-cmipci
    alias sound-slot-1 snd_bt87x

    # USB

    install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true

    # Tarjeta TV

    options bttv radio=0 card=39 tuner=2 gbuffers=8

    # Kernel Multimedia

    options realtime any=1 mlock=0 gid=500

    # Disco SATA

    install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /bin/true

    # Desactivar ipv6
    alias net-pf-10 off
    alias ipv6 off

  2. Agregar "net.ipv4.tcp_default_win_scale=0" a /etc/sysctl.conf así:

    Código :

    # Kernel sysctl configuration file for Mandriva Linux
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.

    # Disables IP dynaddr
    net.ipv4.ip_dynaddr=0
    # Disable ECN
    net.ipv4.tcp_ecn=0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter=1

    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route=0

    # Controls the System Request debugging functionality of the kernel
    #kernel.sysrq=0

    # Controls whether core dumps will append the PID to the core filename.
    # Useful for debugging multi-threaded applications.
    kernel.core_uses_pid=1

    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies=1

    # If you set this variable to 1 then cd tray will close automatically when the
    # cd drive is being accessed.
    # Setting this to 1 is not advised when supermount is enabled
    # (as it has been known to cause problems)
    dev.cdrom.autoclose=1
    # removed to fix some digital extraction problems
    # dev.cdrom.check_media=1

    # to be able to eject via the device eject button (magicdev)
    dev.cdrom.lock=0
    net.ipv4.icmp_ignore_bogus_error_responses=1
    net.ipv4.conf.all.rp_filter=1
    net.ipv4.icmp_echo_ignore_broadcasts=1
    net.ipv4.icmp_echo_ignore_all=1
    net.ipv4.conf.all.log_martians=1
    kernel.sysrq=0
    #reparar error de wiki
    #net.ipv4.tcp_window_scaling=0
    #Desactivar ipv6
    net.ipv4.tcp_default_win_scale=0

  3. Agregar "option timeout:1" a /etc/resolv.conf así:

    Código :

    nameserver 192.94.163.152
    nameserver 195.130.89.210
    option timeout:1

  4. Agregar "NETWORKING_IPV6=no" a /etc/sysconfig/network así:

    Código :

    NETWORKING=yes
    HOSTNAME=Mandriva2007
    NETWORKING_IPV6=no


Opcional


Últimamente había tenido problemas de velocidad con los DNS y no me aclaraba qué era. Con esto la navegación ha mejorado notablemente.

Otra opción es desactivar el ipv6 en Firefox o navegadores con el motor Gecko:

En about:config buscar la cadena de texto que dice "network.dns.disableIPv6" y colocarle el valor "true".

Fuentes:
http://lwn.net
http://www.linuxquestions.org
http://www.linuxforums.org
http://blogdrake.net
http://qa.mandriva.com

¡Listo!

Si tienes problemas y no sabes donde preguntar en BlogDRAKE hay soporte para Mandriva Linux

Etiquetas mandriva linux

Comentarios | Enviar un comentario
compre una compu nueva y no me ayeito con este nuevo programa no me deja hacer nada no me deja instalar nada y me pide un codigo administrativo quiro sacarle el codigo no me ayudaria algien por favor el que tengo es mandriva linux 2008 es inportante para mi
Por: transiscani
¿lo que?
Por: Drakedalfa

Drakedalfa :

¿lo que?
No se "ayeita", es muy claro.

Riendo
Por: Freddie
Deja un comentario
IMPORTANTE

Recuerda ser respetuoso, no insultes a otras personas, ni uses palabrotas, hay una persona al otro lado de la pantalla.

Habla bien, NO ESCRIBAS EN MAYUSCULA TODO, no escribas como en un SMS, evita cosas como "ke", "x q" y demás abreviaciones.

Aquí funcionan las etiquetas de los foros, puedes usar [b] para negrita, [img] para las imágenes, [url] para los enlaces, etc.

Si tienes preguntas técnicas, envíalas mejor al foro.