Tuesday, September 17, 2013

AWS + CC-ONF-Driver + MUL +Mininet + tshark + issues.....

So, we have all our driver and MUL code compiled and ready to be tested on rather expensive instance of AWS - hey, we're trying to impress the judges, right?

And now I'm working with the team to test stuff and AWS seems to put restrictions on running controllers on loopback i/f's?

ubuntu@ip-172-31-44-94:~/test-harness/CodeChix-ONF-Submission/mul-cc-submission$ sudo mn --controller=remote,ip= --topo linear,1
*** Creating network
*** Adding controller
Unable to contact the remote controller at
*** Adding hosts:
*** Adding switches:
*** Adding links:
(h1, s1) 
*** Configuring hosts
*** Starting controller
*** Starting 1 switches
*** Starting CLI:
mininet> dump


For tshark:

tshark -i lo -a duration:5 /tmp/my.pcap
Capturing on lo
tshark: The capture session could not be initiated (You don't have permission to capture on that device).
Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
0 packets captured

More investigation and debugging ensues....

Have I mentioned how much fun this project is?  Yes, tiring and stressful, but really fun too... :)....