How to install iproute2 on OEL6 OCI imageDifferences between OCI-C and OCI?oci java sdk via proxyTaking backup of the built from OCIunderstand the terraform for OCICan we derive service limits for Oracle OCI using CLI or APIAny possibility to check if user is granted a policy in OCI?OCI RestAPI to list VNIC Attachement to a compute instanceI'm trying to federate IDCS users and groups into Oracle Cloud Infrastructure (OCI) platform. Unable to import the users into OCIOCI (Oracle Cloud) Child CompartmentHow to upload a file to OCI Object storage

Quoting Yourself

My ID is expired, can I fly to the Bahamas with my passport?

Where can I go to avoid planes overhead?

Alias to source .bashrc after it's been edited?

Why do money exchangers give different rates to different bills?

Does this article imply that Turing-Computability is not the same as "effectively computable"?

How could a planet have most of its water in the atmosphere?

Besides the up and down quark, what other quarks are present in daily matter around us?

Am I getting DDOS from crawlers?

Why is B♯ higher than C♭ in 31-ET?

60s (or earlier) SF short story with FTL Travel using electron psychology aka addiclenendar technology

Would glacier 'trees' be plausible?

If prion is a protein. Why is it not disassembled by the digestive system?

Is there a legal ground for stripping the UK of its UN Veto if Scotland and/or N.Ireland split from the UK?

Junior developer struggles: how to communicate with management?

What happens if I start too many background jobs?

Unknowingly ran an infinite loop in terminal

I caught several of my students plagiarizing. Could it be my fault as a teacher?

Which industry am I working in? Software development or financial services?

Catholic vs Protestant Support for Nazism in Germany

Roll Dice to get a random number between 1 and 150

How to reply this mail from potential PhD professor?

How can I get a job without pushing my family's income into a higher tax bracket?

Point of the the Dothraki's attack in GoT S8E3?



How to install iproute2 on OEL6 OCI image


Differences between OCI-C and OCI?oci java sdk via proxyTaking backup of the built from OCIunderstand the terraform for OCICan we derive service limits for Oracle OCI using CLI or APIAny possibility to check if user is granted a policy in OCI?OCI RestAPI to list VNIC Attachement to a compute instanceI'm trying to federate IDCS users and groups into Oracle Cloud Infrastructure (OCI) platform. Unable to import the users into OCIOCI (Oracle Cloud) Child CompartmentHow to upload a file to OCI Object storage






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I need to use ip l2tp in OEL6 image from OCI. I am not able to get a newer version of iproute2 since the one i have doesn't have ip l2tp:



Usage: ip [ OPTIONS ] OBJECT help 
ip [ -force ] -batch filename
where OBJECT := addrlabel
OPTIONS := -s[tatistics]


i have the following version:



rpm -qi iproute
Name : iproute Relocations: (not relocatable)
Version : 2.6.32 Vendor: Oracle America
Release : 57.0.1.el6 Build Date: Tue 01 May 2018 07:11:37 PM GMT
Install Date: Fri 22 Feb 2019 12:50:48 AM GMT Build Host: x86-ol6-builder-04.us.oracle.com
Group : Applications/System Source RPM: iproute-2.6.32-57.0.1.el6.src.rpm
Size : 964229 License: GPLv2+ and Public Domain
Signature : RSA/8, Tue 01 May 2018 07:11:56 PM GMT, Key ID 72f97b74ec551f03
URL : http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Summary : Advanced IP routing and network device configuration tools
Description :
The iproute package contains networking utilities (ip and rtmon, for
example) which are designed to use the advanced networking
capabilities of the Linux 2.4.x and 2.6.x kernel.


i upgraded all the packages:



yum update
Loaded plugins: security, ulninfo
Setting up Update Process
No Packages marked for Update


I downloaded the newest version of iproute2:
wget https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.0.0.tar.gz



and i tried to compile it:



make

lib
CC libgenl.o
In file included from ../include/uapi/linux/kernel.h:5,
from ../include/uapi/linux/netlink.h:5,
from ../include/uapi/linux/genetlink.h:6,
from libgenl.c:10:
../include/uapi/linux/sysinfo.h:9: error: expected specifier-qualifier-list before ‘__kernel_long_t’
make[1]: *** [libgenl.o] Error 1
make: *** [all] Error 2


searching for the error i stumbled upon this:
https://patchwork.ozlabs.org/patch/843454/



Any ideas how to get iproute2?



thank you,
C.










share|improve this question



















  • 1





    Are there any chance to use Oracle Linux 7? That has l2tp included by default.

    – lsarecz
    Mar 25 at 11:35

















1















I need to use ip l2tp in OEL6 image from OCI. I am not able to get a newer version of iproute2 since the one i have doesn't have ip l2tp:



Usage: ip [ OPTIONS ] OBJECT help 
ip [ -force ] -batch filename
where OBJECT := addrlabel
OPTIONS := -s[tatistics]


i have the following version:



rpm -qi iproute
Name : iproute Relocations: (not relocatable)
Version : 2.6.32 Vendor: Oracle America
Release : 57.0.1.el6 Build Date: Tue 01 May 2018 07:11:37 PM GMT
Install Date: Fri 22 Feb 2019 12:50:48 AM GMT Build Host: x86-ol6-builder-04.us.oracle.com
Group : Applications/System Source RPM: iproute-2.6.32-57.0.1.el6.src.rpm
Size : 964229 License: GPLv2+ and Public Domain
Signature : RSA/8, Tue 01 May 2018 07:11:56 PM GMT, Key ID 72f97b74ec551f03
URL : http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Summary : Advanced IP routing and network device configuration tools
Description :
The iproute package contains networking utilities (ip and rtmon, for
example) which are designed to use the advanced networking
capabilities of the Linux 2.4.x and 2.6.x kernel.


i upgraded all the packages:



yum update
Loaded plugins: security, ulninfo
Setting up Update Process
No Packages marked for Update


I downloaded the newest version of iproute2:
wget https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.0.0.tar.gz



and i tried to compile it:



make

lib
CC libgenl.o
In file included from ../include/uapi/linux/kernel.h:5,
from ../include/uapi/linux/netlink.h:5,
from ../include/uapi/linux/genetlink.h:6,
from libgenl.c:10:
../include/uapi/linux/sysinfo.h:9: error: expected specifier-qualifier-list before ‘__kernel_long_t’
make[1]: *** [libgenl.o] Error 1
make: *** [all] Error 2


searching for the error i stumbled upon this:
https://patchwork.ozlabs.org/patch/843454/



Any ideas how to get iproute2?



thank you,
C.










share|improve this question



















  • 1





    Are there any chance to use Oracle Linux 7? That has l2tp included by default.

    – lsarecz
    Mar 25 at 11:35













1












1








1








I need to use ip l2tp in OEL6 image from OCI. I am not able to get a newer version of iproute2 since the one i have doesn't have ip l2tp:



Usage: ip [ OPTIONS ] OBJECT help 
ip [ -force ] -batch filename
where OBJECT := addrlabel
OPTIONS := -s[tatistics]


i have the following version:



rpm -qi iproute
Name : iproute Relocations: (not relocatable)
Version : 2.6.32 Vendor: Oracle America
Release : 57.0.1.el6 Build Date: Tue 01 May 2018 07:11:37 PM GMT
Install Date: Fri 22 Feb 2019 12:50:48 AM GMT Build Host: x86-ol6-builder-04.us.oracle.com
Group : Applications/System Source RPM: iproute-2.6.32-57.0.1.el6.src.rpm
Size : 964229 License: GPLv2+ and Public Domain
Signature : RSA/8, Tue 01 May 2018 07:11:56 PM GMT, Key ID 72f97b74ec551f03
URL : http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Summary : Advanced IP routing and network device configuration tools
Description :
The iproute package contains networking utilities (ip and rtmon, for
example) which are designed to use the advanced networking
capabilities of the Linux 2.4.x and 2.6.x kernel.


i upgraded all the packages:



yum update
Loaded plugins: security, ulninfo
Setting up Update Process
No Packages marked for Update


I downloaded the newest version of iproute2:
wget https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.0.0.tar.gz



and i tried to compile it:



make

lib
CC libgenl.o
In file included from ../include/uapi/linux/kernel.h:5,
from ../include/uapi/linux/netlink.h:5,
from ../include/uapi/linux/genetlink.h:6,
from libgenl.c:10:
../include/uapi/linux/sysinfo.h:9: error: expected specifier-qualifier-list before ‘__kernel_long_t’
make[1]: *** [libgenl.o] Error 1
make: *** [all] Error 2


searching for the error i stumbled upon this:
https://patchwork.ozlabs.org/patch/843454/



Any ideas how to get iproute2?



thank you,
C.










share|improve this question
















I need to use ip l2tp in OEL6 image from OCI. I am not able to get a newer version of iproute2 since the one i have doesn't have ip l2tp:



Usage: ip [ OPTIONS ] OBJECT help 
ip [ -force ] -batch filename
where OBJECT := addrlabel
OPTIONS := -s[tatistics]


i have the following version:



rpm -qi iproute
Name : iproute Relocations: (not relocatable)
Version : 2.6.32 Vendor: Oracle America
Release : 57.0.1.el6 Build Date: Tue 01 May 2018 07:11:37 PM GMT
Install Date: Fri 22 Feb 2019 12:50:48 AM GMT Build Host: x86-ol6-builder-04.us.oracle.com
Group : Applications/System Source RPM: iproute-2.6.32-57.0.1.el6.src.rpm
Size : 964229 License: GPLv2+ and Public Domain
Signature : RSA/8, Tue 01 May 2018 07:11:56 PM GMT, Key ID 72f97b74ec551f03
URL : http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Summary : Advanced IP routing and network device configuration tools
Description :
The iproute package contains networking utilities (ip and rtmon, for
example) which are designed to use the advanced networking
capabilities of the Linux 2.4.x and 2.6.x kernel.


i upgraded all the packages:



yum update
Loaded plugins: security, ulninfo
Setting up Update Process
No Packages marked for Update


I downloaded the newest version of iproute2:
wget https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.0.0.tar.gz



and i tried to compile it:



make

lib
CC libgenl.o
In file included from ../include/uapi/linux/kernel.h:5,
from ../include/uapi/linux/netlink.h:5,
from ../include/uapi/linux/genetlink.h:6,
from libgenl.c:10:
../include/uapi/linux/sysinfo.h:9: error: expected specifier-qualifier-list before ‘__kernel_long_t’
make[1]: *** [libgenl.o] Error 1
make: *** [all] Error 2


searching for the error i stumbled upon this:
https://patchwork.ozlabs.org/patch/843454/



Any ideas how to get iproute2?



thank you,
C.







oracle-cloud-infrastructure






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 21:10







catalinA

















asked Mar 22 at 20:49









catalinAcatalinA

163




163







  • 1





    Are there any chance to use Oracle Linux 7? That has l2tp included by default.

    – lsarecz
    Mar 25 at 11:35












  • 1





    Are there any chance to use Oracle Linux 7? That has l2tp included by default.

    – lsarecz
    Mar 25 at 11:35







1




1





Are there any chance to use Oracle Linux 7? That has l2tp included by default.

– lsarecz
Mar 25 at 11:35





Are there any chance to use Oracle Linux 7? That has l2tp included by default.

– lsarecz
Mar 25 at 11:35












1 Answer
1






active

oldest

votes


















2














Here's a fast way to get it upgraded.



  1. Look at the current version:

$ ip -V
ip utility, iproute2-ss091226


  1. Create a new file referencing the OL6 OpenStack 1.0 repo and add the repo (here are the contents that I used):

$ cat /etc/yum.repos.d/oracle-openstack-ol6.repo
[ol6_openstack10]
name=Oracle Linux $releasever OpenStack 1.0 ($basearch)
baseurl=http://yum$ociregion.oracle.com/repo/OracleLinux/OL6/openstack10/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1


  1. Run sudo yum update (you should see iproute it in the list of updated packages)

  2. Validate that the version was changed:

$ ip -V
ip utility, iproute2-ss130221


  1. Finally, you can check to see if l2tp is listed now (mine has it - copied below):

$ ip
Usage: ip [ OPTIONS ] OBJECT help
ip [ -force ] -batch filename
where OBJECT := l2tp
OPTIONS := -V[ersion]





share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307583%2fhow-to-install-iproute2-on-oel6-oci-image%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Here's a fast way to get it upgraded.



    1. Look at the current version:

    $ ip -V
    ip utility, iproute2-ss091226


    1. Create a new file referencing the OL6 OpenStack 1.0 repo and add the repo (here are the contents that I used):

    $ cat /etc/yum.repos.d/oracle-openstack-ol6.repo
    [ol6_openstack10]
    name=Oracle Linux $releasever OpenStack 1.0 ($basearch)
    baseurl=http://yum$ociregion.oracle.com/repo/OracleLinux/OL6/openstack10/$basearch/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
    gpgcheck=1
    enabled=1


    1. Run sudo yum update (you should see iproute it in the list of updated packages)

    2. Validate that the version was changed:

    $ ip -V
    ip utility, iproute2-ss130221


    1. Finally, you can check to see if l2tp is listed now (mine has it - copied below):

    $ ip
    Usage: ip [ OPTIONS ] OBJECT help
    ip [ -force ] -batch filename
    where OBJECT := l2tp
    OPTIONS := -V[ersion]





    share|improve this answer





























      2














      Here's a fast way to get it upgraded.



      1. Look at the current version:

      $ ip -V
      ip utility, iproute2-ss091226


      1. Create a new file referencing the OL6 OpenStack 1.0 repo and add the repo (here are the contents that I used):

      $ cat /etc/yum.repos.d/oracle-openstack-ol6.repo
      [ol6_openstack10]
      name=Oracle Linux $releasever OpenStack 1.0 ($basearch)
      baseurl=http://yum$ociregion.oracle.com/repo/OracleLinux/OL6/openstack10/$basearch/
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
      gpgcheck=1
      enabled=1


      1. Run sudo yum update (you should see iproute it in the list of updated packages)

      2. Validate that the version was changed:

      $ ip -V
      ip utility, iproute2-ss130221


      1. Finally, you can check to see if l2tp is listed now (mine has it - copied below):

      $ ip
      Usage: ip [ OPTIONS ] OBJECT help
      ip [ -force ] -batch filename
      where OBJECT := l2tp
      OPTIONS := -V[ersion]





      share|improve this answer



























        2












        2








        2







        Here's a fast way to get it upgraded.



        1. Look at the current version:

        $ ip -V
        ip utility, iproute2-ss091226


        1. Create a new file referencing the OL6 OpenStack 1.0 repo and add the repo (here are the contents that I used):

        $ cat /etc/yum.repos.d/oracle-openstack-ol6.repo
        [ol6_openstack10]
        name=Oracle Linux $releasever OpenStack 1.0 ($basearch)
        baseurl=http://yum$ociregion.oracle.com/repo/OracleLinux/OL6/openstack10/$basearch/
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
        gpgcheck=1
        enabled=1


        1. Run sudo yum update (you should see iproute it in the list of updated packages)

        2. Validate that the version was changed:

        $ ip -V
        ip utility, iproute2-ss130221


        1. Finally, you can check to see if l2tp is listed now (mine has it - copied below):

        $ ip
        Usage: ip [ OPTIONS ] OBJECT help
        ip [ -force ] -batch filename
        where OBJECT := l2tp
        OPTIONS := -V[ersion]





        share|improve this answer















        Here's a fast way to get it upgraded.



        1. Look at the current version:

        $ ip -V
        ip utility, iproute2-ss091226


        1. Create a new file referencing the OL6 OpenStack 1.0 repo and add the repo (here are the contents that I used):

        $ cat /etc/yum.repos.d/oracle-openstack-ol6.repo
        [ol6_openstack10]
        name=Oracle Linux $releasever OpenStack 1.0 ($basearch)
        baseurl=http://yum$ociregion.oracle.com/repo/OracleLinux/OL6/openstack10/$basearch/
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
        gpgcheck=1
        enabled=1


        1. Run sudo yum update (you should see iproute it in the list of updated packages)

        2. Validate that the version was changed:

        $ ip -V
        ip utility, iproute2-ss130221


        1. Finally, you can check to see if l2tp is listed now (mine has it - copied below):

        $ ip
        Usage: ip [ OPTIONS ] OBJECT help
        ip [ -force ] -batch filename
        where OBJECT := l2tp
        OPTIONS := -V[ersion]






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 26 at 13:46

























        answered Mar 25 at 21:59









        packet_brainpacket_brain

        312




        312





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307583%2fhow-to-install-iproute2-on-oel6-oci-image%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript