LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hi,

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

Quote:
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 :

Quote:
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
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Squeeze
Posts: 585

Rep: Reputation: 118Reputation: 118
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:
Code:
grep ip6 /proc/modules
it should return nothing. As should:
Code:
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:
Code:
ip6_tunnel . . .
tunnel6 . . .
Hope this helps.

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


Reply

Tags
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


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

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