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?
ubuntu 9.04 disable ipv6?
Started by zeroradius, Oct 24 2009 05:57 AM
15 replies to this topic
#1
Posted 24 October 2009 - 05:57 AM
|
|
|
#2
Guest_Jordan_*
Posted 24 October 2009 - 06:06 AM
Guest_Jordan_*
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
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
#3
Posted 24 October 2009 - 06:30 AM
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?
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?
#4
Posted 24 October 2009 - 07:18 AM
Could you post the output of these two commands:
ls -l /etc/modprobe.d dpkg -L module-init-tools
Wow I changed my sig!
#5
Posted 24 October 2009 - 07:26 AM
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:~$
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:~$
#6
Posted 24 October 2009 - 08:19 AM
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. :rolleyes:
Read here for more info. There are details on how to recompile the kernel in post 9.
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.
But, it better work this time.
#7
Posted 24 October 2009 - 08:33 AM
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:
However, I have found nothing to indicate a solid causal relationship between using IPv6 and slower connections. Could you run this:
host www.google.comAnd 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?
lspci -v
Wow I changed my sig!
#8
Posted 24 October 2009 - 08:41 AM
@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
@Zeke: I am using wireless conection. running the host comand returns a message saying connection timed out; no server could be reached
#9
Posted 24 October 2009 - 08:50 AM
...
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.
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.
Edited by xXHalfSliceXx, 28 October 2009 - 05:32 PM.
Wow I changed my sig!
#10
Posted 24 October 2009 - 09:11 AM
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
edit:ok got it to the router but I don't have the uName and password I'm going to have to wait for my dad
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
edit:ok got it to the router but I don't have the uName and password I'm going to have to wait for my dad
#11
Posted 24 October 2009 - 09:27 AM
If it's still on the default username and password they are often printed onto the bottom of the router. If not google will help you find the defaults.
If there's a new way, I'll be the first in line.
But, it better work this time.
But, it better work this time.
#12
Posted 24 October 2009 - 09:38 AM
thanks hignar did not relise there were default values.
@Zeke: Ok I'm in from my windows box
@Zeke: Ok I'm in from my windows box


Sign In
Create Account


Back to top









