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:
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
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
Código :
nameserver 192.94.163.152 nameserver 195.130.89.210 option timeout:1
Código :
NETWORKING=yes HOSTNAME=Mandriva2007 NETWORKING_IPV6=no
Código :
sysctl -w net.ipv4.tcp_window_scaling=0
Código :
net.ipv4.tcp_window_scaling=0
Código :
net.ipv4.tcp_rmem=4096 87380 174760