Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 09, 2010 8:05 am 
Offline
Newbie

Joined: Thu Oct 16, 2008 5:02 pm
Posts: 4
I want to add the ip_gre module because I'm trying set up a PPTP VPN server which requires ip_gre. Looking at the box LiNode seem to use non standard kernels, rather than the default ones for Fedora (which already come compiled with ip_gre).

I've download the kernel source, or I think I have:

Quote:
[root@li131-147 2.6.32.12-linode25]# uname -a
Linux li131-147 2.6.32.12-linode25 #1 SMP Wed Apr 28 19:25:11 UTC 2010 i686 i686 i386 GNU/Linux
[root@li131-147 2.6.32.12-linode25]#


Which presumably means I need this:

http://www.linode.com/src/2.6.32.12-linode25.tar.bz2

I'm wondering how I compile (which I presume is a simple make), install (make install) but then switch over boot up to start that kernel ?

Also how do I build to ensure that the ip_gre module is available ?

Finally why do LiNode use non standard kernels ? This stuff is all available in the default FC12 rpms which would be much simpler to get this stuff up and running.


Top
   
 Post subject:
PostPosted: Sun May 09, 2010 11:00 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Code:
cflx% uname -a
Linux cflx 2.6.18.8-linode22 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686 GNU/Linux
cflx% zgrep -i gre /proc/config.gz
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y

You don't need to install ip_gre module; ip_gre is compiled statically into the kernel and available all the time. That's the common case applying to most of the stuff that's usually modules in standard distro kernels. If you have a crappy script that greps through module list, tries to modprobe blindly, or something like that, comment out the check, and it'll work.

...well, assuming that GRE is still compiled-in in 2.6.32 that you're using. Run my zgrep line at your Linode to verify.

As for why Linode doesn't use distro kernels... it's pretty simple - they won't work as good in a Xen environment, and would be a burden to maintain. Now, if you really, really want to use a distro or custom-build kernel, there's a way of doing it via pv-grub - check Linode Library for details.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group