Sharing Plug-in Debugging Hints: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
ellicao
==Ethereal==
[[Why does the network freeze with Library Server, TiVo Server or UPnP Server running?]]


==Wireshark==
Often, a network sniff with Ethereal will be helpful in tracking down problems. The sniffer software is free,
Often, a network sniff with Wireshark will be helpful in tracking down problems. The sniffer software is free,
and is available at http://www.wireshark.org
and is available at [http://www.wireshark.org www.wireshark.org]. This used to be Ethereal, and sniffs made with
Ethereal will still work.

The usual approach ('''VERY IMPORTANT''' - It '''really''' helps to get '''ONLY''' the interaction between the MC PC and renderer into the trace. You do this by adding a filter line with just those IP addresses in it. If you don't do this, the trace is many times more difficult to follow.) :


The usual approach:
# Shutdown the remote device/computer
# Shutdown the remote device/computer
# Shutdown Media Center
# Shutdown Media Center
# For version 1.6.x wireshark: Start wireshark. Then do capture->options, make sure the correct interface is selected and in the filter line put in the host IP's of the MC computer and the device you want to check like this: '''host 1.2.3.4 and host 4.5.6.8''' then click on '''start'''. The filter line in 1.8.x is in a different place. Do capture->options, put a click the check box of the desired interface (almost always the ethernet device), then double click on the desired interface. Next, in the filter line put in the host IP's of the MC computer and the device you want to check like this: '''host 1.2.3.4 and host 4.5.6.8''' then click on '''ok''' finally when back to the main capture option screen, click on '''start'''.
# Turn off any sources of unneeded network traffic (e-mail clients, for example)
# Start wireshark
# Start Media Center
# Start Media Center
# Start the remote device/computer
# Start the remote device/computer

Latest revision as of 14:48, 16 May 2013

ellicao Why does the network freeze with Library Server, TiVo Server or UPnP Server running?

Wireshark

Often, a network sniff with Wireshark will be helpful in tracking down problems. The sniffer software is free, and is available at www.wireshark.org. This used to be Ethereal, and sniffs made with Ethereal will still work.

The usual approach (VERY IMPORTANT - It really helps to get ONLY the interaction between the MC PC and renderer into the trace. You do this by adding a filter line with just those IP addresses in it. If you don't do this, the trace is many times more difficult to follow.) :

  1. Shutdown the remote device/computer
  2. Shutdown Media Center
  3. For version 1.6.x wireshark: Start wireshark. Then do capture->options, make sure the correct interface is selected and in the filter line put in the host IP's of the MC computer and the device you want to check like this: host 1.2.3.4 and host 4.5.6.8 then click on start. The filter line in 1.8.x is in a different place. Do capture->options, put a click the check box of the desired interface (almost always the ethernet device), then double click on the desired interface. Next, in the filter line put in the host IP's of the MC computer and the device you want to check like this: host 1.2.3.4 and host 4.5.6.8 then click on ok finally when back to the main capture option screen, click on start.
  4. Start Media Center
  5. Start the remote device/computer
  6. Reproduce the problem
  7. Stop wireshark sniffing
  8. Save the file, and make it available to J. River