You are not logged in.

#1 2013-03-18 05:14:49

Mgrim
Member
Registered: 2011-11-07
Posts: 10

[Solved] Disable ipv6 on rEFInd

Trying out luakit and uzbl-tabbed. They are almost painfully  slow(20-30+sec to 100% page loads). Firefox and Chromium load pages almost instanlty, taking about 6sec to 100%.
I read on here that ipv6 may be causing it. I read that i need to do it through the kernel line. I'm not sure how to do it with my bootloader, rEFInd. I don't want to play trial and error with it so does anyone know exactly how to do this?

Last edited by Mgrim (2013-03-20 03:34:28)

Offline

#2 2013-03-18 13:27:01

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: [Solved] Disable ipv6 on rEFInd

Offline

#3 2013-03-20 01:54:43

Mgrim
Member
Registered: 2011-11-07
Posts: 10

Re: [Solved] Disable ipv6 on rEFInd

Thanks for pointing to me to the wiki. Gotta love when people do that. I've read that and that's how I even know to ask this question. The Wiki describes how to add "ipv6.disable_ipv6=1" to the kernel line with syslinux and grub. It doesn't explain how to do that with rEFInd unless I'm missing something.

On a simular note I don't have anything in my /etc/sysctl.d/ipv6.conf. The file doesn't exist.

Last edited by Mgrim (2013-03-20 01:57:10)

Offline

#4 2013-03-20 01:57:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Disable ipv6 on rEFInd

rEFInd is particularly well documented: have you looked at the relevant page?
http://www.rodsbooks.com/refind/configfile.html


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-03-20 01:59:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Disable ipv6 on rEFInd

Add it to the kernel line in rEFInd.  I am really not understanding what the question really is here, since you said you have read the wiki and have instructions on how to do it.  It is just syslinux configuration vs rEFInd configuration. 

Maybe take a look at the syslinux wiki page to see in what style that is configured, and it will give you an idea of how to do it in rEFInd?

Offline

#6 2013-03-20 03:22:00

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: [Solved] Disable ipv6 on rEFInd

How to do it in rEFInd depends on how you're booting your kernel. There are at three common possibilities:

  • EFI stub loader and auto-detection -- In this case, you must edit the refind_linux.conf file that lives in the same directory as your kernel file(s).

  • EFI stub loader and manual configuration -- If you're using manual boot stanzas in refind.conf, you must add the options to the "options" line in the relevant stanza.

  • Via another boot loader (GRUB, ELILO, etc.) -- If rEFInd is passing control to another boot loader, you must configure it to pass the option to the kernel, not rEFInd.

There are some less-common possibilities, too. For instance, you can build kernel options into your kernel binary at compile time. If you're relying on this, you'd have to adjust the options when you build your kernel.

Offline

#7 2013-03-20 03:38:23

Mgrim
Member
Registered: 2011-11-07
Posts: 10

Re: [Solved] Disable ipv6 on rEFInd

Thanks srs5694, WonderWoofy, WonderWoofy, and even s1ln7m4s7r. I solved this with a combination of all your replies.
Just had to add the line to refind_linux.conf.

Offline

#8 2013-03-20 05:23:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Disable ipv6 on rEFInd

What am I, invisible? tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB