Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: ubuntu 9.04 disable ipv6?

  1. #1
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    ubuntu 9.04 disable ipv6?

    Hi guys,

    I just installed Ubuntu and the internet takes forever. I looked into it and everything I have found says to disable IPv6. Everything i have found won't work for 9.04 or in some cases no longer work after restart.

    Can someone help me figure out how to disable this so i can to the internet without having to sit around waiting forever?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: ubuntu 9.04 disable ipv6?

    Edit /etc/modprobe.d/aliases and find alias net-pf-10 ipv6.
    Change the line to: alias net-pf-10 off ipv6
    Save the file and reboot

    I found these instructions here: How to Disable IPV6 in Ubuntu|Ubuntu Geek

  4. #3
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    Re: ubuntu 9.04 disable ipv6?

    it says no such file or directory. I did get into the file using
    sudo gedit /etc/modprobe.d/aliases
    That brings up a blank file >.<

    I tried
    sudo vi /etc/modprobe.d/aliases
    but it just fills my terminal with a bunch of ~

    I've disabled IPv6 from firefox but it did not help

    I have done a lot of other stuff to but can't remember what all it was. On some of the forms I have seen they said it was a problem with 9.04. I posted here hoping they were wrong. Maybe I should use a diffrent version of linux. any sugestions?

  5. #4
    Join Date
    Jul 2009
    Location
    Santa Clarita, CA
    Posts
    2,111
    Blog Entries
    47
    Rep Power
    31

    Re: ubuntu 9.04 disable ipv6?

    Could you post the output of these two commands:
    Code:
    ls -l /etc/modprobe.d
    dpkg -L module-init-tools
    Wow I changed my sig!

  6. #5
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    Re: ubuntu 9.04 disable ipv6?

    jeremy@jeremy-desktop:~$ ls -l /etc/modprobe.d
    total 32
    -rw-r--r-- 1 root root 2387 2009-04-08 13:42 alsa-base.conf
    -rw-r--r-- 1 root root 325 2009-03-18 12:02 blacklist-ath_pci.conf
    -rw-r--r-- 1 root root 1467 2009-03-18 12:02 blacklist.conf
    -rw-r--r-- 1 root root 213 2009-03-18 12:02 blacklist-firewire.conf
    -rw-r--r-- 1 root root 662 2009-03-18 12:02 blacklist-framebuffer.conf
    -rw-r--r-- 1 root root 156 2009-04-08 13:42 blacklist-modem.conf
    lrwxrwxrwx 1 root root 41 2009-10-24 03:03 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
    -rw-r--r-- 1 root root 838 2009-03-18 12:02 blacklist-watchdog.conf
    -rw-r--r-- 1 root root 16 2009-03-05 13:57 libpisock9.conf

    ------ 2nd command -------

    jeremy@jeremy-desktop:~$ dpkg -L module-init-tools
    /.
    /lib
    /lib/modules
    /usr
    /usr/share
    /usr/share/doc
    /usr/share/doc/module-init-tools
    /usr/share/doc/module-init-tools/changelog.gz
    /usr/share/doc/module-init-tools/NEWS.gz
    /usr/share/doc/module-init-tools/AUTHORS
    /usr/share/doc/module-init-tools/FAQ
    /usr/share/doc/module-init-tools/copyright
    /usr/share/doc/module-init-tools/changelog.Debian.gz
    /usr/share/man
    /usr/share/man/man5
    /usr/share/man/man5/modules.dep.5.gz
    /usr/share/man/man5/depmod.conf.5.gz
    /usr/share/man/man5/modules.5.gz
    /usr/share/man/man5/modprobe.conf.5.gz
    /usr/share/man/man8
    /usr/share/man/man8/lsmod.8.gz
    /usr/share/man/man8/rmmod.8.gz
    /usr/share/man/man8/modprobe.8.gz
    /usr/share/man/man8/modinfo.8.gz
    /usr/share/man/man8/depmod.8.gz
    /usr/share/man/man8/insmod.8.gz
    /bin
    /bin/lsmod
    /sbin
    /sbin/insmod
    /sbin/rmmod
    /sbin/depmod
    /sbin/modprobe
    /sbin/modinfo
    /etc
    /etc/depmod.d
    /etc/depmod.d/ubuntu.conf
    /etc/modprobe.d
    /etc/modprobe.d/blacklist-ath_pci.conf
    /etc/modprobe.d/blacklist-firewire.conf
    /etc/modprobe.d/blacklist-framebuffer.conf
    /etc/modprobe.d/blacklist-watchdog.conf
    /etc/modprobe.d/blacklist.conf
    /etc/init.d
    /etc/init.d/module-init-tools
    /sbin/lsmod
    jeremy@jeremy-desktop:~$

  7. #6
    Hignar's Avatar
    Hignar is offline Programming Expert
    Join Date
    May 2009
    Posts
    419
    Blog Entries
    2
    Rep Power
    12

    Re: ubuntu 9.04 disable ipv6?

    Looks like as of 9.04 ipv6 support is built into the kernel so the method Jordan suggested no longer works. In fact it appears that the only way round it is to recompile the kernel with ipv6 support included as a module which can then be disabled.

    Read here for more info. There are details on how to recompile the kernel in post 9.
    If there's a new way, I'll be the first in line.

    But, it better work this time.

  8. #7
    Join Date
    Jul 2009
    Location
    Santa Clarita, CA
    Posts
    2,111
    Blog Entries
    47
    Rep Power
    31

    Re: ubuntu 9.04 disable ipv6?

    Okay, I've done my fair share of research on this, because I don't have my own Jaunty to experiment on. It seems that since the new Linux kernel, 2.6, they've built-in IPv6 capabilities at a source code level, rather than as a module that you could simply blacklist. That means that disabling IPv6 involves a bigger headache (like recompiling your kernel), changing boot options (assuming you have a kernel newer than 2.6.29.3), or doing something really sketchy.

    However, I have found nothing to indicate a solid causal relationship between using IPv6 and slower connections. Could you run this:
    Code:
    host www.google.com
    And see if there's a connection issue. If not, then there's nothing wrong with your IPv6. Let's try and work out a different solution to this problem. First let's find out what kind of internet connection you have, is it wireless or wired?
    Code:
    lspci -v
    Wow I changed my sig!

  9. #8
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    Re: ubuntu 9.04 disable ipv6?

    @hignar : I will do a recompile as a last resort as i don't know what I am doing

    @Zeke: I am using wireless conection. running the host comand returns a message saying connection timed out; no server could be reached

  10. #9
    Join Date
    Jul 2009
    Location
    Santa Clarita, CA
    Posts
    2,111
    Blog Entries
    47
    Rep Power
    31
    ...

    Okay, you're getting a connection time-out, though you are able to connect to the internet? This probably has something to do with your router, can you connect to it using your router's local IP address in your browser? What brand of wireless router is it? They usually have settings involved with IPv6.

    We'll crack this mystery.
    Last edited by xXHalfSliceXx; 10-28-2009 at 06:32 PM.
    Wow I changed my sig!

  11. #10
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    Re: ubuntu 9.04 disable ipv6?

    yes i can get to a web page after a few minutes.

    I ran ipconfig /all on my windows box to get my routers ip. I put it into the browser on my linux box and it says it can't establish conection

    It works from my windows box but it takes me to my IIS7 welcome screen.

    >.< I'm probably doing it wrong

    editk got it to the router but I don't have the uName and password I'm going to have to wait for my dad

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Intermediate [C] Windows and Linux guide to IPv4/IPv6 TCP clients
    By jakash3 in forum C Tutorials
    Replies: 0
    Last Post: 06-12-2011, 06:01 PM
  2. Question about Ubuntu Desktop and Ubuntu Server editions
    By liamzebedee in forum Linux Installation & Configuration
    Replies: 1
    Last Post: 04-29-2011, 10:47 PM
  3. Disable sudo -s
    By Wanch in forum Linux/Unix General
    Replies: 6
    Last Post: 02-01-2009, 10:06 AM
  4. Receiving an IPv6 Multicast Message
    By feno in forum C# Programming
    Replies: 0
    Last Post: 01-23-2009, 09:42 AM
  5. disable
    By YAR in forum C# Programming
    Replies: 3
    Last Post: 12-29-2008, 10:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts