raman325 / ostinato

Automatically exported from code.google.com/p/ostinato
GNU General Public License v3.0
0 stars 0 forks source link

I cannot see interfaces. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello there,
Running in lixux (LUBUNTU) the ostinato (sudo ostinato or gksudo ostinato) both 
drone and ostinato executables starts but I cannot see the port tree(only "Port 
Group 0:[127.0.0.1:7878](0)".
When I run first the server (drone) as su (sudo or gksudo drone) and after 
executable ostinato I get a message that a server instance already running but 
all the ports/interfaces is now avaliable and the application is running 
perfectly. 

Please see below the output in terminal:

qwe@qwe-qwe:~$ sudo ostinato
[sudo] password for qwe: 
ComboProtocol: protoNumber = 206, 0x8da5478 <--> 0x8da54b8
ComboProtocol: protoNumber = 206, 0x8da44a8 <--> 0x8da5500
ComboProtocol: protoNumber = 207, 0x8da4470 <--> 0x8da44e8
ComboProtocol: protoNumber = 208, 0x8da5db8 <--> 0x8da5e00
ComboProtocol: protoNumber = 303, 0x8da63e8 <--> 0x8da6470
ComboProtocol: protoNumber = 304, 0x8da6568 <--> 0x8da65f8
ComboProtocol: protoNumber = 305, 0x8da6750 <--> 0x8da67d8
ComboProtocol: protoNumber = 306, 0x8da6930 <--> 0x8da69c0
Retrieving the device list from the local machine

cap file = /tmp/qt_temp.J17559
0. eth0
cap file = /tmp/qt_temp.T17559
1. usb0
cap file = /tmp/qt_temp.M17559
In establish
In on_mpSocket_stateChanged
state changed 1
In on_mpSocket_stateChanged
state changed 2
2. wlan0
cap file = /tmp/qt_temp.X17559
3. usbmon1
 (USB bus number 1)

cap file = /tmp/qt_temp.h17559
4. usbmon2
 (USB bus number 2)

cap file = /tmp/qt_temp.L17559
5. usbmon3
 (USB bus number 3)

cap file = /tmp/qt_temp.S17559
6. usbmon4
 (USB bus number 4)

cap file = /tmp/qt_temp.n17559
7. usbmon5
 (USB bus number 5)

cap file = /tmp/qt_temp.o17559
8. usbmon6
 (USB bus number 6)

cap file = /tmp/qt_temp.k17559
9. usbmon7
 (USB bus number 7)

cap file = /tmp/qt_temp.i17559
10. usbmon8
 (USB bus number 8)

current is either invalid or not a port
current is now invalid
No selection
setting stacked widget to blank page
No selection
In on_mpSocket_stateChanged
state changed 0
In on_mpSocket_error
on_rpcChannel_error: error 0
cap file = /tmp/qt_temp.U17559
11. any
 (Pseudo-device that captures on all interfaces)

cap file = /tmp/qt_temp.Z17559
12. lo
ComboProtocol: protoNumber = 206, 0x8b8e5e0 <--> 0x8b8e620
ComboProtocol: protoNumber = 206, 0x8b8e710 <--> 0x8b8e750
ComboProtocol: protoNumber = 207, 0x8b8e6d8 <--> 0x8b8e798
ComboProtocol: protoNumber = 208, 0x8b8e9e0 <--> 0x8b8ea28
ComboProtocol: protoNumber = 303, 0x8b8ee98 <--> 0x8b8ef20
ComboProtocol: protoNumber = 304, 0x8b8f0c0 <--> 0x8b8f150
ComboProtocol: protoNumber = 305, 0x8b8f290 <--> 0x8b8f318
ComboProtocol: protoNumber = 306, 0x8b8f3d8 <--> 0x8b8f468
The server is running on 0.0.0.0: 7878
current is either invalid or not a port
currentChanged ffff
state = unconnected|closing
No selection

I have also reinstall the package without result.
Thanks in advance for your help.

Original issue reported on code.google.com by dtrich0@gmail.com on 29 Sep 2010 at 5:45

GoogleCodeExporter commented 9 years ago
Can you try this -

Make sure neither drone nor ostinato is running using ps. From two separate 
terminal windows, run "sudo drone" and "ostinato" - tell me whether you are 
able to see interfaces - yes or no. Also send me the separate logs of both 
terminal windows

Srivats

Original comment by pstav...@gmail.com on 29 Sep 2010 at 12:15

GoogleCodeExporter commented 9 years ago
@dtrich0:

some more questions -

1. In the case when you see no interfaces, just "Port Group 
0:[127.0.0.1:7878](0)", is the icon to the left ot it, red or green?

2. the log you have included in the problem description, is it for the run when 
you got a message that server instance is already running?

- Srivats

Original comment by pstav...@gmail.com on 29 Sep 2010 at 1:32

GoogleCodeExporter commented 9 years ago
Hello again and thanks for your quick response
The answer is YES
Attached you will find the logs
Have a nice day,
Dimos

Original comment by dtrich0@gmail.com on 29 Sep 2010 at 1:34

Attachments:

GoogleCodeExporter commented 9 years ago
1.RED
2.YES 
Attached you can find the log when starting ostinato and no drone instance is 
running:
qwe@qwe-qwe:~$ ps
  PID TTY          TIME CMD
 2055 pts/0    00:00:00 bash
 2071 pts/0    00:00:00 ps
qwe@qwe-qwe:~$ sudo ostinato
ComboProtocol: protoNumber = 206, 0xa0c50d8 <--> 0xa0c5118
ComboProtocol: protoNumber = 206, 0xa0c5d40 <--> 0xa0c5d80
ComboProtocol: protoNumber = 207, 0xa0c5d08 <--> 0xa0c5dc8
ComboProtocol: protoNumber = 208, 0xa0c4bd8 <--> 0xa0c4c20
ComboProtocol: protoNumber = 303, 0xa0c6438 <--> 0xa0c64c0
ComboProtocol: protoNumber = 304, 0xa0c6588 <--> 0xa0c6618
ComboProtocol: protoNumber = 305, 0xa0c6770 <--> 0xa0c67f8
ComboProtocol: protoNumber = 306, 0xa0c6950 <--> 0xa0c69e0
Retrieving the device list from the local machine

cap file = /tmp/qt_temp.TJ2077
0. eth0
In establish
In on_mpSocket_stateChanged
state changed 1
In on_mpSocket_stateChanged
state changed 2
current is either invalid or not a port
current is now invalid
No selection
setting stacked widget to blank page
No selection
In on_mpSocket_stateChanged
state changed 0
In on_mpSocket_error
on_rpcChannel_error: error 0
cap file = /tmp/qt_temp.XM2077
1. usb0
cap file = /tmp/qt_temp.Lh2077
2. wlan0
cap file = /tmp/qt_temp.nS2077
3. usbmon1
 (USB bus number 1)

cap file = /tmp/qt_temp.kn2077
4. usbmon2
 (USB bus number 2)

cap file = /tmp/qt_temp.Ti2077
5. usbmon3
 (USB bus number 3)

cap file = /tmp/qt_temp.wZ2077
6. usbmon4
 (USB bus number 4)

cap file = /tmp/qt_temp.TT2077
7. usbmon5
 (USB bus number 5)

cap file = /tmp/qt_temp.jd2077
8. usbmon6
 (USB bus number 6)

cap file = /tmp/qt_temp.BC2077
9. usbmon7
 (USB bus number 7)

cap file = /tmp/qt_temp.Hf2077
10. usbmon8
 (USB bus number 8)

cap file = /tmp/qt_temp.yJ2077
11. any
 (Pseudo-device that captures on all interfaces)

current is either invalid or not a port
currentChanged ffff
state = unconnected|closing
No selection
cap file = /tmp/qt_temp.FW2077
12. lo
ComboProtocol: protoNumber = 206, 0xb6d2cfd0 <--> 0xb6d2d010
ComboProtocol: protoNumber = 206, 0xb6d2d208 <--> 0xb6d2d248
ComboProtocol: protoNumber = 207, 0xb6d2d1d0 <--> 0xb6d2d290
ComboProtocol: protoNumber = 208, 0xb6d2d590 <--> 0xb6d2d5d8
ComboProtocol: protoNumber = 303, 0xb6d2daf0 <--> 0xb6d2db78
ComboProtocol: protoNumber = 304, 0xb6d2dce8 <--> 0xb6d2dd78
ComboProtocol: protoNumber = 305, 0xb6d2def0 <--> 0xb6d2df78
ComboProtocol: protoNumber = 306, 0xb6d2e0f0 <--> 0xb6d2e180
The server is running on 0.0.0.0: 7878

Original comment by dtrich0@gmail.com on 29 Sep 2010 at 1:54

GoogleCodeExporter commented 9 years ago
@dtrich0:

When you run "sudo ostinato" and see no interfaces and the port group icon is 
red - just right click the port group and select "Reconnect" - you should now 
see the icon as green and all the interfaces as well.

This happens because sometimes ostinato tries to connect to drone before drone 
has fully started and the connection fails - so just reconnecting would solve 
the problem.

Let me know if this works for you.

Srivats

Original comment by pstav...@gmail.com on 29 Sep 2010 at 2:07

GoogleCodeExporter commented 9 years ago
YOU ARE CORRECT!!!
Know is working perfectly.
thanks

Original comment by dtrich0@gmail.com on 29 Sep 2010 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by pstav...@gmail.com on 29 Sep 2010 at 3:35

GoogleCodeExporter commented 9 years ago
I want to make use of ostinato packet crafter to create packets and give 
packets as an input to the packet decoder .Can i get some help?

Original comment by vpi...@gmail.com on 10 Dec 2013 at 1:55