Find the answer to your Linux question:
Results 1 to 5 of 5
Hello all, I am working on Mobile IPv6, afaik newer kernels do not support it. I found a patch online for kernel 2.6.16.20 I was wondering how can I adapt ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    4

    Question How to adapt a kernel patch to a newer Kernel ?


    Hello all,

    I am working on Mobile IPv6, afaik newer kernels do not support it.

    I found a patch online for kernel 2.6.16.20 I was wondering how can I adapt it to the current version.

    Thanks,
    S

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    1. Be or become very good with C
    2. Be or become a kernel hacker
    3. Understand the patch
    4. Modify it for the kernel you want to use

    Fwiw, as I am not familiar with Mobile IPv6:
    But from looking around, it seems that kernels >= 2.6.26 should have a working implementation.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jun 2012
    Posts
    4
    Thanks for the quick reply, I am afraid the first three points might take some time.

    I will look for a way around and update you.

    Thanks,
    S

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2012
    Posts
    4
    Hello,

    I am not sure if this is kernel related at this point, but I will post my question.

    I try to install the mip6d software, when i ./configure I get

    Code:
    configure: *** checking for Mobile IPv6 support in kernel headers
    checking whether IFA_F_HOMEADDRESS is declared... yes
    checking whether RTPROT_MIP is declared... no
    configure: error: kernel headers do not support MIPv6.
    
    *** If working Linux kernel headers are not in the default include path,
    *** please use CPPFLAGS variable to specify where they can be found
    *** (e.g. CPPFLAGS="-isystem /usr/src/linux/include")

    But when I look at my kernel capabilities, it looks like it supports it...maybe ...what is m ?


    Code:
    # uname -ra
    Linux Asteroid 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    
    # cat "/boot/config-`uname -r`" | grep -i IPv6
    CONFIG_IPV6=y
    CONFIG_IPV6_PRIVACY=y
    CONFIG_IPV6_ROUTER_PREF=y
    CONFIG_IPV6_ROUTE_INFO=y
    # CONFIG_IPV6_OPTIMISTIC_DAD is not set
    CONFIG_IPV6_MIP6=m  
    CONFIG_IPV6_SIT=m
    CONFIG_IPV6_SIT_6RD=y
    CONFIG_IPV6_NDISC_NODETYPE=y
    CONFIG_IPV6_TUNNEL=m
    CONFIG_IPV6_MULTIPLE_TABLES=y
    CONFIG_IPV6_SUBTREES=y
    CONFIG_IPV6_MROUTE=y
    CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
    CONFIG_IPV6_PIMSM_V2=y
    CONFIG_IP_VS_IPV6=y
    # IPv6: Netfilter Configuration
    CONFIG_NF_DEFRAG_IPV6=m
    CONFIG_NF_CONNTRACK_IPV6=m
    CONFIG_IP6_NF_MATCH_IPV6HEADER=m

  6. #5
    Just Joined!
    Join Date
    Jun 2012
    Posts
    4
    Ok, After following a guide to reconfigure the kernel>

    How to Customize Your Ubuntu Kernel - How-To Geek

    Turns out m is for module.

    and

    Code:
    modprobe mip6
    loads it !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •