You are here

network trace

15 posts / 0 new
Last post
w8erd
network trace

I am having difficulty with Grandstream Wave on a Bullet.  GS support has asked me the question below. Please help me understand what I need to do to get the network trace they request.  Thanks!


"To understand what happens in the background that might be causing this issue, I will need network traces from Ubiquiti that capture the reported issue.

Start the capture and make a test call that replicates the described issue from both sides. When done, stop the trace, download it and attach it to the ticket."

Bob W8ERD

AE6XE
AE6XE's picture
'trace' or should they have
'trace' or should they have said 'sniff"?

The term trace, as in "trouceroute" or "tracert" is used to find the routing path through a network.   I suspect they are asking you to capture network packets or traffic so they can see what is going on.   It would add clarity if they used terms like "sniff" or "package capture (pcap)" instead.  

To capture the traffic between the mesh node (the router) and the grandstream device, you'll need to install the "tcpdump" package on the node.  Then from a command line, do the following:

tcpdump -i br-lan -w /tmp/grandstream.pcap -c 1000

This will capture 1000 packets then quit, so make sure the grandstream is doing its thing during this time.  You could leave the "-c 1000" option off and then ctrl-c to stop tcpdump.

Then all you need to do is "scp" the file /tmp/grandstream.pcap to your computer and email.    Open up this .pcap file with a program called "wireshark" to inspect all the packets.

Joe AE6XE
w8erd
command line
Sorry but I have not been able to figure this out.
How do I get to the command line?

Bob W8ERD
K6CCC
K6CCC's picture
Telnet or SSH into your node.
Telnet or SSH into your node.
 
w8erd
tcpdump
This program seems very complex to install.  Beyond my capabilities. Is there some other way?

Bob W8ERD
AE6XE
AE6XE's picture
Bob, next step is to install
Bob, next step is to install tcpdump on the node.  See the attached pic for this step.

Joe
Image Attachments: 
w8erd
tcpdump
Thanks Joe!   But when I click on Choose Fie, I get nothing.
I am using an XM Bullet, with V3.19.3 firmware.

Bob W8ERD
AE6XE
AE6XE's picture
The node needs to have access
The node needs to have access to the internet to install packages, then click the "refresh" button to populate the list (it reaches out the aredn download servers).   Then you can select this package to install.

joe AE6XE
w8erd
tcpdump
I attached the node, pc and internet together with a switch. I still get nothing. Sorry to be such a bother.

Bob W8ERD
AE6XE
AE6XE's picture
The switch needs to support
The switch needs to support 802.1q and configured for vlan configurations (unless it's an hap ac lite with a port per-configured).  Is your switch configured accordingl?    If not, this is in the docs and example netgear configuration pages on the website.   You may become a network guru by the time we're done :) .  

Alternatively, as noted by Orv, this tcpdump-mini-xxxxxxxx.ipk file can manually be downloaded from the aredn downloads site (digging around to find it).  Then scp it up to the node, telnet in and type the command to install it.  Although, as I recall, you will probably need to download a dependent libpcap or other .ipk package too and install first.

Generally, the root problem of these VOIP phones failing is due to the cross over of a NAT boundary, where a phone is on an internal 192.168.x.x network, talking to another phone on a 10.x.x.x network.   Traffic can't get through the NAT to the hidden LAN device.  Other times, it is due to the phone expecting to broadcast to find something, but these broadcast packets don't propagate through the mesh node by design.

Joe AE6XE
K6CCC
K6CCC's picture
Yes, to manually install
Yes, to manually install tcpdump, there are two installations that you must - in this order:
Install package libpcap1_1.9.1-1
Install package tcpdump-mini 4.9.3-1

I manually install these on a bunch of my nodes every time I do a firmware update.  The two files are not big - 91K and 131K so I can E-Mail them to you if you send me an address.


 
K6CCC
K6CCC's picture
Alternate if no internet
And if you can't get internet to the node, the two required files can be sent to you and manually installed (it's easy).
 
w8erd
Needed files
Please send me the files, with instructions on how to install them.  Thanks!

w8erdbob@gmail.com

Bob W8ERD
K6CCC
K6CCC's picture
Files sent with instructions.
Files sent with instructions.
 
w8erd
switch config
The switch is a Netgear GS105.  Prosafe says it is not a managed switch do I cannot configure it.
Is it blocking anything?

Bob W8ERD

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer