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=127.0.0.1 --topo linear,1
*** Creating network
*** Adding controller
Unable to contact the remote controller at 127.0.0.1:6633
*** Adding hosts:
h1 
*** Adding switches:
s1 
*** Adding links:
(h1, s1) 
*** Configuring hosts
h1 
*** Starting controller
*** Starting 1 switches
s1 
*** Starting CLI:
mininet> 
mininet> dump



mininet> 


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... :)....