Dear Murphy!
"pktgen" directory was created after executing "modprobe pktgen" command. 
However its directory contains only the following two 
files:/proc/net/pktgen/pgctrl/proc/net/pktgen/kpktgend_X
And does not contain any other file like:/proc/net/pktgen/ethX
Moreover the output of command "# cat /proc/net/pktgen/kpktgend_0" is:Running: 
Stopped: Result: NA
Now I do not know what commands to execute in order to enable CONFIG_NET_PKTGEN 
to compile and build pktgen.o either in kernel or as module. I have searched 
alot on the internet but haven't got an answer. 
For information, I also executed the following commands:# cd 
/lib/modules/`uname -r`# find . -name "pktgen.*o" -print
And the output was:./kernel/net/core/pktgen.ko 
I need help!
Subject: Re: [pox-dev]  "gephi_topo.py" component and "pktgen" missing
From: murphy.mccau...@gmail.com
Date: Mon, 10 Feb 2014 13:29:06 -0800
CC: pox-dev@lists.noxrepo.org
To: u_r_wel...@hotmail.com

The gephi_topo component isn't meant to work with a browser.  It's meant to 
work with the Gephi graph visualization package (http://www.gephi.org).
So if you want to use it, the first thing you need to do is install Gephi.  I 
think it comes with the graph streaming plugin, if not you can install it 
through its plugin manager.  There's a screenshot on noxrepo.org that shows how 
to configure the plugin to work with POX.
-- Murphy
On Feb 10, 2014, at 1:02 AM, Rizwan Jamil <u_r_wel...@hotmail.com> wrote:Dear 
Murphy!
"pktgen" is loaded successfully. And I can see the misc.gephi_topo component 
from Carp now.
Now I have executed the following command as mentioned on the POX Wiki 
webpage:./pox.py openflow.discovery misc.gephi_topo host_tracker 
forwarding.l2_learning
But when I try to open "http://127.0.0.1:8282/"; in my browser, only {"dn": 
{"filter": "ALL"}} is displayed and that too after a long time. And the log 
displays the following error message:INFO:misc.gephi_topo:Client connect
ERROR:lib.ioworker:Socket <GephiWorker> error 104 during recv: Connection reset 
by peer
INFO:misc.gephi_topo:Client disconnect

I switched to Dart but no success.
I thought I did not have the Gephi plugin for Graph Streaming installed. So I 
have downloaded its zip file 
from:https://marketplace.gephi.org/plugin/graph-streaming/
But I don't know how to install this plugin, as I am a new Linux user. Can you 
please guide? And is this the solution?
Regards!
Subject: Re: [pox-dev] "gephi_topo.py" component and "pktgen" missing
From: murphy.mccau...@gmail.com
Date: Sun, 9 Feb 2014 23:10:07 -0800
CC: pox-dev@lists.noxrepo.org
To: u_r_wel...@hotmail.com

On Feb 9, 2014, at 10:55 PM, Rizwan Jamil <u_r_wel...@hotmail.com> wrote:This 
VM had POX betta pre-installed in it. But it does not have the directory named 
"proto" inside "/home/mininet/pox/pox" directory. But the components mentioned 
to be inside the "proto" directory on the POX Wiki 
webpagehttps://openflow.stanford.edu/display/ONL/POX+Wiki are present in the 
"misc" directory instead.

But the problem is that this "misc" directory does not contain the "gephi_topo" 
component. So can anyone share this component with me?

I'd recommend you not complicate your life and just upgrade your POX to carp or 
dart.  You can probably do this with just "git checkout carp" from the POX 
directory.  If your VM has internet connectivity, you should do a "git pull" 
first to make sure you're getting the latest.
Secondly, I want to use "pktgen" which is supposed to be present in the 
"/proc/net/pktgen/" directory. But there is no "pktgen" directory present in 
the "/proc/net/" directory. So from where and how can I install "pktgen" in my 
Miniet 2.1.0 VM?

This is part of the Linux kernel, often built as a module.  It's probably 
installed and just not loaded.  From a root prompt, do "modprobe pktgen" and 
see if /proc/net/pktgen appears.
-- Murphy
                                          

Reply via email to