Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: installing Mininet on opensuse 12.3

  1. #1

    Default installing Mininet on opensuse 12.3

    Hello everyone,
    does any one know how should i install mininet on opensuse 12.3?
    Actually i have installed VirtualBox on opensuse but i can not run mininet on that.
    please tell me know something.
    Thank you!

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,867
    Blog Entries
    14

    Default Re: installing Mininet on opensuse 12.3

    Hi, welcome

    What is mininet? Looking at http//software.opensuse.org there's no package for openSUSE
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: installing Mininet on opensuse 12.3

    Quote Originally Posted by Knurpht View Post
    Hi, welcome

    What is mininet? Looking at http//software.opensuse.org there's no package for openSUSE
    Thank you,
    Mininet is a network emulator which creates a network of virtual hosts, switches, controllers, and links.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,867
    Blog Entries
    14

    Default Re: installing Mininet on opensuse 12.3

    Here's the generic instructions: Download/Get Started with Mininet - Mininet

    One of the things you could try is to use "alien" to convert the .deb packages to .rpm, another option is to start a project in the Open Build Service and create your own openSUSE packages.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: installing Mininet on opensuse 12.3

    On 10/01/2013 06:36 AM, Knurpht wrote:
    >
    > Here's the generic instructions: 'Download/Get Started with Mininet -
    > Mininet' (http://mininet.org/download/)
    >
    > One of the things you could try is to use "alien" to convert the .deb
    > packages to .rpm, another option is to start a project in the Open Build
    > Service and create your own openSUSE packages.


    Using the link above, I downloaded the Mininet 2.1-64 zip file and unzipped it.
    I then started VirtualBox and used File->Import Appliance to import the .ovf
    file. The machine then booted on my openSUSE 12.3-64 real machine, and gave me a
    login prompt.





  6. #6

    Default Re: installing Mininet on opensuse 12.3

    Quote Originally Posted by Knurpht View Post
    Here's the generic instructions: Download/Get Started with Mininet - Mininet

    One of the things you could try is to use "alien" to convert the .deb packages to .rpm, another option is to start a project in the Open Build Service and create your own openSUSE packages.
    actually i followed this URL instruction but after import mininet to virtualBox i received this error:
    A critical error has occurred while running the virtual machine and the machine execution has been stopped.
    For help, please see the Community section on http://www.virtualbox.org or your support contract. Please provide the contents of the log file VBox.log and the image file VBox.png, which you can find in the /home/hamzeh/VirtualBox VMs/Mininet-VM_1/Logs directory, as well as a description of what you were doing when this error happened. Note that you can also access the above files by selecting Show Log from the Machine menu of the main VirtualBox window.
    Press OK if you want to power off the machine or press Ignore if you want to leave it as is for debugging. Please note that debugging requires special knowledge and tools, so it is recommended to press OK now.


    By the way, i am new with opensuse, i do not know how to use alien to convert .deb packages to rpm,

  7. #7

    Default Re: installing Mininet on opensuse 12.3

    Quote Originally Posted by lwfinger View Post
    On 10/01/2013 06:36 AM, Knurpht wrote:
    >
    > Here's the generic instructions: 'Download/Get Started with Mininet -
    > Mininet' (Download/Get Started with Mininet - Mininet)
    >
    > One of the things you could try is to use "alien" to convert the .deb
    > packages to .rpm, another option is to start a project in the Open Build
    > Service and create your own openSUSE packages.


    Using the link above, I downloaded the Mininet 2.1-64 zip file and unzipped it.
    I then started VirtualBox and used File->Import Appliance to import the .ovf
    file. The machine then booted on my openSUSE 12.3-64 real machine, and gave me a
    login prompt.

    actually i followed that URL's instruction but after import mininet to virtualBox i received this error:
    A critical error has occurred while running the virtual machine and the machine execution has been stopped.
    For help, please see the Community section on http://www.virtualbox.org or your support contract. Please provide the contents of the log file VBox.log and the image file VBox.png, which you can find in the /home/hamzeh/VirtualBox VMs/Mininet-VM_1/Logs directory, as well as a description of what you were doing when this error happened. Note that you can also access the above files by selecting Show Log from the Machine menu of the main VirtualBox window.
    Press OK if you want to power off the machine or press Ignore if you want to leave it as is for debugging. Please note that debugging requires special knowledge and tools, so it is recommended to press OK now.

    so i couldn't solve this problem, and sometimes only show me a black screen!

  8. #8

    Default Re: installing Mininet on opensuse 12.3

    i tried it again , right now.
    this time i received this error:
    Failed to import appliance /home/hamzeh/mininet-2.1.0-130919-ubuntu-13.04-server-i386.ovf.
    Could not open the medium storage unit '/home/hamzeh/mininet-vm-i386.vmdk'.
    VD: error VERR_FILE_NOT_FOUND opening image file '/home/hamzeh/mininet-vm-i386.vmdk' (VERR_FILE_NOT_FOUND).

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,306
    Blog Entries
    2

    Default Re: installing Mininet on opensuse 12.3

    Re your specific error.
    1. Check to see the file actually exists at that path, otherwise modify. Note that if the mininet code uses relative paths, it will make a diff whether you're logged in as root or as a regular User and IMO would be a bug in mininet since it seems that some things require logging in a root instead as a User (you can experiment with sudo instead of actually logging in as root).
    2. If the file exists, then check that you have required permissions to run that file in the context of how you're accessing that file

    More:
    Reading the INSTALL file
    - Although it's possible to d/l and extract a tarball as lwfinger did, the instructions also describe downloading by using git which is likely far preferable so that you get the latest stable code.
    - Although I doubt you have progressed to the point where you can test your mininet, I notice that the mininet install may not automatically install the following dependencies which means you'll need to install these separately

    tun/tap utiliities
    openVswitch (says this may be a prerequisite on non-Debian systems but auto installed if running on Debian. I installed this from software.opensuse.org: Download openSUSE 12.3)
    Python (and IMO likely python dev packages)
    Ping (IIRC automatically included in a regular openSUSE install, but not in some deployments like LXC)
    Iperf

    The documentation also says you need to be running as root to configure your mininet networking.

    HTH,
    TSU
    -

  10. #10
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: installing Mininet on opensuse 12.3

    On 10/01/2013 10:46 AM, tsu2 wrote:
    >
    > Re your specific error.
    > 1. Check to see the file actually exists at that path, otherwise modify.
    > Note that if the mininet code uses relative paths, it will make a diff
    > whether you're logged in as root or as a regular User and IMO would be a
    > bug in mininet since it seems that some things require logging in a root
    > instead as a User (you can experiment with sudo instead of actually
    > logging in as root).
    > 2. If the file exists, then check that you have required permissions to
    > run that file in the context of how you're accessing that file
    >
    > More:
    > Reading the INSTALL file
    > - Although it's possible to d/l and extract a tarball as lwfinger did,
    > the instructions also describe downloading by using git which is likely
    > far preferable so that you get the latest stable code.
    > - Although I doubt you have progressed to the point where you can test
    > your mininet, I notice that the mininet install may not automatically
    > install the following dependencies which means you'll need to install
    > these separately


    I would think that building mininet would be a lot harder than implementing the
    pre-made VM image.
    >


    > tun/tap utiliities
    > openVswitch (says this may be a prerequisite on non-Debian systems but
    > auto installed if running on Debian. I installed this from
    > 'software.opensuse.org: Download openSUSE 12.3'
    > (http://software.opensuse.org))
    > Python (and IMO likely python dev packages)
    > Ping (IIRC automatically included in a regular openSUSE install, but not
    > in some deployments like LXC)
    > Iperf
    >
    > The documentation also says you need to be running as root to configure
    > your mininet networking.


    Yes, but that will be as root in the VM, not on the host.

    I did use the 64-bit version, not 32 bit.


Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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