You are not logged in.

#1 2006-06-28 19:57:39

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Forcing X11 to stop loading the ipv6 module

I frankly don't see the need for X to use IPv6 on my machine, and therefore would prefer that it didn't load the ipv6 module, but I am clueless as to how to make it stop doing thing. I know IPv6 support is optional for XOrg, so surely there's some option for turning off IPv6 in /etc/profile or xorg.conf or something?

(Or perhaps a way of turning it off system-wide, since I really don't need it...)

Offline

#2 2006-06-28 20:06:32

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Forcing X11 to stop loading the ipv6 module

Gullible Jones wrote:

I frankly don't see the need for X to use IPv6 on my machine, and therefore would prefer that it didn't load the ipv6 module, but I am clueless as to how to make it stop doing thing. I know IPv6 support is optional for XOrg, so surely there's some option for turning off IPv6 in /etc/profile or xorg.conf or something?

(Or perhaps a way of turning it off system-wide, since I really don't need it...)

Can't you do the following:
nano /etc/modprobe.d/aliases

Change this line:
alias net-pf-10 ipv6

To this:
#alias net-pf-10 ipv6

Basically just comment it out.

I believe theres also something like:
startx --disable-ipv6

Oh another thing I remember:
echo "alias net-pf-10 off" >> /etc/modprobe.conf

Offline

#3 2006-06-28 20:24:31

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Forcing X11 to stop loading the ipv6 module

twiistedkaos wrote:
Gullible Jones wrote:

I frankly don't see the need for X to use IPv6 on my machine, and therefore would prefer that it didn't load the ipv6 module, but I am clueless as to how to make it stop doing thing. I know IPv6 support is optional for XOrg, so surely there's some option for turning off IPv6 in /etc/profile or xorg.conf or something?

(Or perhaps a way of turning it off system-wide, since I really don't need it...)

Can't you do the following:
nano /etc/modprobe.d/aliases

Change this line:
alias net-pf-10 ipv6

To this:
#alias net-pf-10 ipv6

Basically just comment it out.

Arch Linux has no modprobe.d directory.

I believe theres also something like:
startx --disable-ipv6

Oh another thing I remember:
echo "alias net-pf-10 off" >> /etc/modprobe.conf

Okay, I'll try those.

Offline

#4 2006-06-28 20:43:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Forcing X11 to stop loading the ipv6 module

Thanks, the modprobe.conf modification worked. 8)

Offline

#5 2006-06-28 21:13:23

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Forcing X11 to stop loading the ipv6 module

Gullible Jones wrote:

Thanks, the modprobe.conf modification worked. 8)

The first way I remember when using Fedora, didn't check if it was the same on Arch, so sorry about that tongue And glad to provide help smile

Offline

#6 2006-06-28 22:01:48

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Forcing X11 to stop loading the ipv6 module

You're welcome, and no need to apologize. 8)

(On second thought though, I was stupid not to google it though. :? )

Offline

#7 2006-06-28 22:05:41

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Forcing X11 to stop loading the ipv6 module

Gullible Jones wrote:

You're welcome, and no need to apologize. 8)

(On second thought though, I was stupid not to google it though. :? )

Hehe, rather than googling, I just tend to search around other linux forums tongue. but glad you got it worked out, I disabled ipv6 right after I installed Arch, Just couldn't remember what way I did it xD

Offline

#8 2006-06-29 01:07:55

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Forcing X11 to stop loading the ipv6 module

I know I've seen it discussed in some of your other threads, but is there any actual performance gain to disabling it, or is it merely to keep unnecessary modules from loading?

Offline

#9 2006-06-29 02:05:26

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Forcing X11 to stop loading the ipv6 module

In both archlinux and Ubuntu, disabling Ipv6 made websites noticably snappier. I don't have any numbers to prove that, and direct download isn't faster, but it seems like browsers find and connect to websites faster.

Offline

#10 2006-06-29 02:05:34

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Forcing X11 to stop loading the ipv6 module

None that I know, but as I said I don't have any use for IPv6, so I figured it would better to disable it.

Offline

#11 2006-06-29 02:24:43

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Forcing X11 to stop loading the ipv6 module

Basically, Alot of servers don't have great support for ipv6, but do have awesome support for ipv4, With ipv6 enabled you get more packets failed than actually being sent / recieved. With ipv6 disabled you'll have a more stable connection. It won't make you download any faster though, just a more stable ping.

Offline

#12 2006-06-29 06:49:40

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Forcing X11 to stop loading the ipv6 module

The advantage of disabling ipv6 is that your system shouldn't make ipv6 DNS requests anymore then. When your system is ipv6-aware, programs like firefox will ask for AAA records, which is one extra query per DNS request. Also, many old broken DNS servers get confused with these queries and give a timeout. Since not everyone is running the last version of bind9, a fully patched up version of djbdns or the latest version of PowerDNS, a lot of these servers are still used on the internet.

Offline

#13 2006-06-29 21:38:17

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Forcing X11 to stop loading the ipv6 module

Thanks for the info guys...I'll probably disable it too then.

Offline

Board footer

Powered by FluxBB