Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2012, 02:19 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
IP6 tunnel & tunnel6 does not exist in /proc/modules


I try to run my PMIPv6 system in my ubuntu 10.04. My kernel version is My system is 32 bit. While i execute my PMIPv6 command there is error occur like this :

ip -6 addr del 2001:100::1/64 dev eth0
rmmod ip6_tunnel
ERROR: Module ip6_tunnel does not exist in /proc/modules
rmmod tunnel6
ERROR: Module tunnel6 does not exist in /proc/modules
echo "0" > /proc/sys/net/ipv6/conf/all/accept_ra
echo "0" > /proc/sys/net/ipv6/conf/eth0/accept_ra
sh: cannot create /proc/sys/net/ipv6/conf/eth0/accept_ra: Directory nonexistent
echo "0" > /proc/sys/net/ipv6/conf/eth1/accept_ra
sh: cannot create /proc/sys/net/ipv6/conf/eth1/accept_ra: Directory nonexistent
echo "1" > /proc/sys/net/ipv6/conf/all/forwarding
ip -6 addr add 2001:100::1/64 dev eth0
ip -6 addr add 2001:2::1/64 dev eth1
modprobe ip6_tunnel
modprobe tunnel6
pkill -9 pmip6d
The ERROR in summary shows :

ERROR: Module ip6_tunnel does not exist in /proc/modules
rmmod tunnel6
ERROR: Module tunnel6 does not exist in /proc/modules
Did anyone know how to enable this features? as in my kernel configuration the CONFIG_IPV6_TUNNEL=y . IS there anything way or hint for me to my problem?
Old 07-22-2012, 10:01 PM   #2
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
I did mention in your other post that I have never used tunnels and as such I have no idea about them.

Looking closely at your output and kernel configuration item CONFIG_IPV6_TUNNEL=y, the errors you are getting are certainly expected.

The /proc/modules file keeps a list of all loaded modules. If you do:
grep ip6 /proc/modules
it should return nothing. As should:
lsmod | grep ip6
That's because there is no ip6_tunnel module loaded.

The reason is because you have configured your kernel to have the ip6_tunnel statically linked in the kernel with the configuration item CONFIG_IPV6_TUNNEL=y. This means you have it built into the kernel so it loads whenever the kernel loads.

If you want to build it as a module, then you must set CONFIG_IPV6_TUNNEL=m and rebuild the kernel.

You can verify this by rebooting with your stock 2.6.32-21-generic kernel and then running any of the above two commands. It should return:
ip6_tunnel . . .
tunnel6 . . .
Hope this helps.

Last edited by towheedm; 07-22-2012 at 10:02 PM.


ipv6, tunnel

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ip6-ip6 tunnel receives traffic but not going out to the outbound interface xywang Linux - Networking 1 10-24-2011 06:01 PM
module uvcvideo does not exist in /proc/modules mswamy78 Linux - Newbie 4 08-31-2011 01:02 AM
ERROR: Module uvcvideo does not exist in /proc/modules mswamy78 Linux - Newbie 1 08-05-2011 09:51 AM
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 05:25 PM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration