한국어

네트워킹

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://muzso.hu/2011/09/19/how-to-disable-ipv6-in-debian-lenny-and-squeeze

How to disable IPv6 in Debian Lenny and Squeeze

There're many-many methods described all over the net, some work in Etch, some in Lenny, some in Squeeze. The official documentation tells you to use sysctl to set net.ipv6.conf.all.disable_ipv6 to 1 in case of Squeeze.

Actually this is the only method that works for me (at least in Squeeze). I used to get IPv6 related errors during apt-get update commands and using sysctl to let the kernel know not to use IPv6 stopped these from occurring.

The older method (that worked in Lenny) does not really work for me anymore (it prevented the ipv6 module from being loaded, but APT errors still kept coming), but I'll document it just for reference: create a new file at /etc/modprobe.d/local.conf and put the following in it:
install ipv6 /bin/true
alias net-pf-10 off
alias ipv6 off

There's another (third) method which might (or might not) work for you: set the kernel commandline parameter disable_ipv6 to 1. This is meant to do the same as the sysctl method and might work if your kernel recognizes this commandline parameter. If you're using the GRUB bootloader, you can specify the parameter in /etc/default/grub in the GRUB_CMDLINE_LINUX variable.

As already said: for me the sysctl method works just fine in Squeeze.

조회 수 :
45082
등록일 :
2011.12.29
19:54:39 (*.160.42.233)
엮인글 :
http://webs.co.kr/index.php?document_srl=659&act=trackback&key=607
게시글 주소 :
http://webs.co.kr/index.php?document_srl=659
List of Articles