LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disable ipv6 in ubuntu? (https://www.linuxquestions.org/questions/linux-newbie-8/disable-ipv6-in-ubuntu-326645/)

ksgill 05-24-2005 12:31 PM

Disable ipv6 in ubuntu?
 
Hi,

My internet is extremely slow and I think the problem lies with ipv6 protocol that it uses. My /etc/resolv files has the correct name server and domain information. I remember disabling ipv6 in suse by modifying the /etc/modprobe.conf file.. how do I do that in ubuntu ? Does someone have any other suggestions? My suse comp. uses the same internet connection and works fine while ubuntu is awfully slow.

Thanks in advance.

Alien#007 05-24-2005 01:56 PM

U can disable it with modconf(man modconf).

foo_bar_foo 05-24-2005 07:24 PM

i don't know what an ubuntu is but ..........
you might be able to undo ipv6 with
alias net-pf-10 off
in /etc/modprobe.conf

dcdbutler 05-24-2005 08:48 PM

Code:

alias ipv6 off
alias net-pf-10 off

that's what I have in modprobe.conf. Not sure if it works properly though. I also added this to /etc/resolv.conf

Code:

nameserver 4.2.2.2
makes web browsing really quick :D

Cheers!

ksgill 05-24-2005 11:52 PM

There is no modconf in ubuntu (it's a debian based distro)
Code:

root@ubuntu:/home/gill # modconf
bash: modconf: command not found
root@ubuntu:/home/gill # man modconf
No manual entry for modconf

I also pointed out in my first post that this distribution does not have /etc/modprobe.conf

Any other ideas folks.. it's really annoying :D

ksgill 05-25-2005 11:17 AM

Alright, finally figured it out. The file in ubuntu that needs to be modified is /etc/modprobe.d/aliases and you need to turn off aliases net-pf-10 off to disable ipv6. I dont even know why every distribution is turning on ipv6 by default. It is not a standard right now..will be sometime in the future. One of the most annoying things for someone who doesnt know about it :D

angkor 05-26-2005 04:01 AM

Does disabling ipv6 in your browser do the same?

In Firefox for example:

http://www.ubuntuguide.org/#loadwebsitefasterfirefox

scmason 03-25-2006 09:05 PM

Yes!

http://www.ubuntuguide.org/#loadwebsitefasterfirefox


This really worked well for me. I advise everyone to use it.


All times are GMT -5. The time now is 11:37 PM.