[Mini-NDN] mininet error

Sepehr Abdous sepehrabdous at yahoo.com
Thu Oct 13 08:41:53 PDT 2016


when I write sudo mn I get the following error:# mn
Traceback (most recent call last):
  File "/usr/local/bin/mn", line 4, in <module>
    __import__('pkg_resources').run_script('mininet===2.3.0d1', 'mn')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1496, in run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'mn'

and when I write sudo minindn, I get the following:
# minindn
Parse of /usr/local/etc/mini-ndn/default-topology.conf done.
*** Creating network
*** Adding controller
*** Adding hosts:
a b c d 
*** Adding switches:

*** Adding links:
Traceback (most recent call last):
  File "/usr/local/bin/minindn", line 4, in <module>
    __import__('pkg_resources').run_script('Mini-NDN==0.2.0', 'minindn')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1504, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/Mini_NDN-0.2.0-py2.7.egg/EGG-INFO/scripts/minindn", line 400, in <module>
    execute(options)
  File "/usr/local/lib/python2.7/dist-packages/Mini_NDN-0.2.0-py2.7.egg/EGG-INFO/scripts/minindn", line 282, in execute
    net = Mininet(topo,host=NdnHost,link=TCLink)
  File "/home/sepehr/mini-ndn/mininet/mininet/net.py", line 172, in __init__
    self.build()
  File "/home/sepehr/mini-ndn/mininet/mininet/net.py", line 500, in build
    self.buildFromTopo( self.topo )
  File "/home/sepehr/mini-ndn/mininet/mininet/net.py", line 487, in buildFromTopo
    self.addLink( **params )
  File "/home/sepehr/mini-ndn/mininet/mininet/net.py", line 398, in addLink
    link = cls( node1, node2, **options )
  File "/home/sepehr/mini-ndn/mininet/mininet/link.py", line 561, in __init__
    params2=params )
  File "/home/sepehr/mini-ndn/mininet/mininet/link.py", line 451, in __init__
    node1, node2, deleteIntfs=False )
  File "/home/sepehr/mini-ndn/mininet/mininet/link.py", line 495, in makeIntfPair
    deleteIntfs=deleteIntfs )
  File "/home/sepehr/mini-ndn/mininet/mininet/util.py", line 195, in makeIntfPair
    ( intf1, intf2, cmdOutput ) )
Exception: Error creating interface pair (a-eth0,b-eth0): RTNETLINK answers: Operation not supported

 Sepehr Abdous
Faculty: abdous at ce.sharif.edu
Gmail: sepehrabdous1375 at gmail.com
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran 

    On Thursday, October 13, 2016 6:58 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu> wrote:
 

 #yiv1050315554 #yiv1050315554 -- P {margin-top:0;margin-bottom:0;}#yiv1050315554 Can you post the complete output of the following:sudo mn?
Does "sudo minindn" also fail?
You are using Mininet from github source, right?(https://github.com/mininet/mininet)
AshleshFrom: Sepehr Abdous <sepehrabdous at yahoo.com>
Sent: Thursday, October 13, 2016 10:22:13 AM
To: Ashlesh Gawande (agawande); Junxiao Shi
Cc: mini-ndn at lists.cs.ucla.edu
Subject: Re: [Mini-NDN] mininet error mu ubuntu version is 16.04.1and kernel version 4.4.23
I used steps stated inhttp://mininet.org/download/#option-3-installation-from-packages option 2
I used the command:sudo ./util/install.sh -nvand no error occured ! Sepehr Abdous
Faculty: abdous at ce.sharif.edu
Gmail:sepehrabdous1375 at gmail.com
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran

On Thursday, October 13, 2016 6:18 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu> wrote:


#yiv1050315554 -- P {margin-top:0;margin-bottom:0;}#yiv1050315554 Junxiao is probably correct, can you give your operating system details?
Can you please detail the steps you followed to install Mininet?
Can you also go to the Mininet folder and try:sudo ./util/install.sh -nvand see if there are any errors?
AshleshFrom: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Junxiao Shi <shijunxiao at email.arizona.edu>
Sent: Wednesday, October 12, 2016 5:51:27 PM
To: Sepehr Abdous
Cc: mini-ndn at lists.cs.ucla.edu
Subject: Re: [Mini-NDN] mininet error Hi Sepehr
The kernel might be missing some modules. Use Vagrant ubuntu/trusty64 template, which is known to work properly.
Yours, Junxiao
On Wed, Oct 12, 2016 at 1:29 PM, Sepehr Abdous<sepehrabdous at yahoo.com> wrote:

Hello All,
I've tried to install mini-ndn by following steps in https://github.com/named-data/ mini-ndn/blob/master/INSTALL.m d
and in one aspect, it requires installing mini_net,
again I follow the exact steps stated but when I try to use 
sudo mn --test pingall
to see if it works well...
I encounter this error:
Exception: Error creating interface pair (h1-eth0,s1-eth1): RTNETLINK answers: Operation not supported
do you have any idea how can I handle it? Sepehr Abdous
Faculty:abdous at ce.sharif.edu
Gmail:sepehrabdous1375 at gmail.com
Cellphone:+989194030591
School of computer engineering
Sharif University of Technology
Tehran, Iran




   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161013/d29f3ad2/attachment.html>


More information about the Mini-NDN mailing list