I just discovered Raspbian (August image) has no IPv6 enabled by default. Can someone explain why?
To solve this, I used "sudo nano /etc/modules", added "ipv6" at the end, and rebooted.
However, I would prefer to have IPv6 enabled by default.
Re: IPv6 on Raspbian
Whats the problem? You found out how to enable it. Fact is most people have no need for ip6, very few home routers support this. So I see no reason to enable anything by default that most people have no need for.
Dragon 32>BBC Model B>PC>PC>PC>PC>Raspberry PI (circle complete)
Re: IPv6 on Raspbian
paaland wrote:Whats the problem? You found out how to enable it. Fact is most people have no need for ip6, very few home routers support this. So I see no reason to enable anything by default that most people have no need for.
Ouch ... the old IPv6 argument of the past. I would rather not dive into that, but let's give a 2012 update:
1) all other OSes (Ubuntu, Debian, Fedora, OSX, Windows Vista/7) have IPv6 enabled in their plain, basic installation
2) My ISP provides native IPv6
3) My VPS-provider provides IPv6
4) Installing miredo will give you IPv6 connectivity
5) google.com, yahoo.com, facebook.com, etc are IPv6 enabled
PS: for people Googling, the error message of "sudo insmod ipv6" is:
"Error: could not load module ipv6: No such file or directory"
Re: IPv6 on Raspbian
iirc insmod (unlike modprobe) takes the full path of the kernel module, not just it's name.Sander wrote: PS: for people Googling, the error message of "sudo insmod ipv6" is:
"Error: could not load module ipv6: No such file or directory"
Re: IPv6 on Raspbian
Ouch. That looks like it:plugwash wrote:iirc insmod (unlike modprobe) takes the full path of the kernel module, not just it's name.Sander wrote: PS: for people Googling, the error message of "sudo insmod ipv6" is:
"Error: could not load module ipv6: No such file or directory"
Code: Select all
pi@raspbian-armhf-SJ ~/kul/miredo/miredo-debian $ sudo insmod ipv6
Error: could not load module ipv6: No such file or directory
pi@raspbian-armhf-SJ ~/kul/miredo/miredo-debian $ sudo modprobe ipv6
pi@raspbian-armhf-SJ ~/kul/miredo/miredo-debian $
BTW: my IPv6 remark still stands.
Re: IPv6 on Raspbian
Why not go the whole hog and enable IPv8.
Oh yes that would mean enabling the time shift wormhole.
I remember it's allready enabled on the SD Microdot that comes with the model "F"
Ok I'll make do with IPv4 as My ISP has not enabled IPv6.
Oh yes that would mean enabling the time shift wormhole.

I remember it's allready enabled on the SD Microdot that comes with the model "F"

Ok I'll make do with IPv4 as My ISP has not enabled IPv6.

Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
Re: IPv6 on Raspbian
I actually put my pi on an IPv6 only network the first time around and was quite surprised it didn't have the module loaded by default. I mean, why is IPv4 then enabled by default? 
I guess it's just a matter of threshold of usage before something should be enabled by default or not - and seeing all other OS do this now, I guess RPi maybe should as well. Even if enabling an additional module for loading is simple.

I guess it's just a matter of threshold of usage before something should be enabled by default or not - and seeing all other OS do this now, I guess RPi maybe should as well. Even if enabling an additional module for loading is simple.
Re: IPv6 on Raspbian
Those other OS's have a substantially larger memory footprint and are designed to run on hardware which is not so restricted in terms of RAM/CPU as the RPi. The level of usage of IPv6 is still quite low, and while on it's own it may not make a difference, there are plenty of other things that would be a "nice to have" and before long you've got no memory left.TarjeiB wrote:I actually put my pi on an IPv6 only network the first time around and was quite surprised it didn't have the module loaded by default. I mean, why is IPv4 then enabled by default?
I guess it's just a matter of threshold of usage before something should be enabled by default or not - and seeing all other OS do this now, I guess RPi maybe should as well. Even if enabling an additional module for loading is simple.
I use IPv6, but it does make sense that it's not loaded by default, just the same as btrfs is not loaded by default.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6060
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: IPv6 on Raspbian
Loading ipv6 consumes 300K of RAM. For the vast majority of users who's ISP does not support ipv6 that is just wasted memory.
If your ISP supports ipv6 then feel free to enable it.
If your ISP supports ipv6 then feel free to enable it.
-
- Posts: 4277
- Joined: Sun Jan 15, 2012 1:11 pm
Re: IPv6 on Raspbian
To Mr. Sander, let me just point out that you will never get very far in the FOSS world with arguments like "You should do X". What you will always gets back is "*You* can do X" (but leave me out of it).
I.e., in the FOSS mindset, the problem always ends when we get to "Here's how *you* can fix it (for yourself)".
I.e., in the FOSS mindset, the problem always ends when we get to "Here's how *you* can fix it (for yourself)".
And some folks need to stop being fanboys and see the forest behind the trees.
(One of the best lines I've seen on this board lately)
(One of the best lines I've seen on this board lately)
Re: IPv6 on Raspbian
There is nothing wrong with the FOSS mindset (assuming that its Free Open Source Software) and "Here's how *you* can fix it (for yourself)" provided the instructions are clear and understandable. 

Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
- mpthompson
- Posts: 620
- Joined: Fri Feb 03, 2012 7:18 pm
- Location: San Carlos, CA
Re: IPv6 on Raspbian
Ah, but the effort to make clear and understandable instructions does take time and effort on the part of someone. Here in the Raspbian forums I think we see an entire spectrum of help being offered by community members. This is only natural because the widely divergent backgrounds and experiences of the Raspberry Pi users. With most other FOSS projects, the communities seem to be more homogenous with members having more, or less, a common experience level and outlook towards the project. With the Raspberry Pi, constructive-chaos with 1000's of users going in different directions seeming to be the rule rather than the exception.Jim JKla wrote:There is nothing wrong with the FOSS mindset (assuming that its Free Open Source Software) and "Here's how *you* can fix it (for yourself)" provided the instructions are clear and understandable.
Anyway, I guess the good news is that if neede, ipv6 is relatively easy to enable and use. On the flip side, it's still useless to a large number of users who are at the mercy of what capabilities are offered by their Internet service provider.
Re: IPv6 on Raspbian
We are in the midst of the Bazzar Eric Raymond proposed in his talk "The Cathederal and the Bazzar" (its on you tube somewhere) the RaspberryPi bazzar happens to be big and diverse with lots of stalls with loads of free stuff. 

Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
Re: IPv6 on Raspbian
Not having IPv6 enabled by default will make installation of exim4, since exim4 by default listens to ::1, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610918
I installed exim4-daemon-heavy, but I assume the problem is present when installing exim4 too.
I think enabling IPv6 by default is a sound thing to do. Those who care about 300K RAM can disable it, if they don't need it.
I installed exim4-daemon-heavy, but I assume the problem is present when installing exim4 too.
I think enabling IPv6 by default is a sound thing to do. Those who care about 300K RAM can disable it, if they don't need it.
Re: IPv6 on Raspbian
There's an error in the FAQ: http://www.raspbian.org/RaspbianFAQ#How ... se_IPv6.3F
"How do I enable or use IPv6?
Easy. sudo modprobe ipv6 will enable it immediately. If you want it to automatically be enabled at boot, just add ipv6 on a line by itself at the end of /etc/modules.conf. "
As written above, it's /etc/modules, not /etc/modules.conf.
If anybody knows who is in charge of the FAQ, please feel free to contact him or her.
"How do I enable or use IPv6?
Easy. sudo modprobe ipv6 will enable it immediately. If you want it to automatically be enabled at boot, just add ipv6 on a line by itself at the end of /etc/modules.conf. "
As written above, it's /etc/modules, not /etc/modules.conf.
If anybody knows who is in charge of the FAQ, please feel free to contact him or her.
Model B 256 Web Server Raspbian/NGinx/Prosody : http://photo-grenoble.com/
Re: IPv6 on Raspbian
Fixedloz wrote: As written above, it's /etc/modules, not /etc/modules.conf.
Re: IPv6 on Raspbian
You still need to use "ping6" on linux.coldair wrote:
Re: IPv6 on Raspbian
TarjeiB wrote:You still need to use "ping6" on linux.coldair wrote:
thx very much!
Re: IPv6 on Raspbian
I'm also inclined to say that IPv6 should be installed by default. Part of bootstrapping the IPv6 ecosystem is having it available for developers to use. I recently received a bug report that the basic example in my persona library doesn't work https://bitbucket.org/jaraco/jaraco.per ... of-example. All because I used '::0' as the bind address. I want the example to work on IPv4 and IPv6, but without IPv6 being installed and present (regardless of whether that particular user actually has IPv6 connectivity), the example fails.
- Brian Cunnie
- Posts: 1
- Joined: Sun Sep 29, 2013 11:00 pm
Re: IPv6 on Raspbian
I think it should be enabled by default, too. The argument that 300kB (less than 0.1% of 512MB) required by the IPv6 kernel module creates excessive memory pressure seems somewhat spurious.
-
- Posts: 8
- Joined: Tue Jan 06, 2015 4:34 pm
Re: IPv6 on Raspbian
I agree with you and jaraco. IPv6 is important and is coming to all of us in due course, seems unwise to omit it. I don't 300kB is an issue either.Brian Cunnie wrote:I think it should be enabled by default, too. The argument that 300kB (less than 0.1% of 512MB) required by the IPv6 kernel module creates excessive memory pressure seems somewhat spurious.
Anyway, I've enabled it now - I had to because a web server I was wanting to use was built to listen on an IPv6 socket as lsof shows, i.e.:
sudo lsof -p $(pgrep currentcostd)
currentcostd 10491 root 8u IPv6 112799 0t0 TCP *:9442 (LISTEN)
My 2c