edru.1.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. edru.1
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='coqos_rel.1.html' title=' coqos_rel.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='edsu.1.html' title=' edsu.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. edru(1) Qualcomm Atheros Open Powerline Toolkit edru(1)
  22. NAME
  23. edru - Qualcomm Atheros Ethernet II Data Read Utility
  24. SYNOPSIS
  25. edru [options] [&gt;stdout]
  26. DESCRIPTION
  27. Listen for incoming Ethernet II frames and write frame data, less header information, to stdout as a binary data stream.
  28. Since frame data can contain anything, users should direct output to a file or pipe it through some type of filter to
  29. prevent corruption of the terminal session. If all incoming data is known to be ASCII then directing stdout to the con‐
  30. sole should not cause any problems.
  31. This program can be used to test remote Atheros UART-enabled powerline devices. Remote device package serial data from
  32. their local host as Ethernet II frames and forwared them over the powerline to a specific destination. The destination
  33. must be the Ethernet address of the receiving host. This program reads such frames, discards the frame headers and
  34. writes the frame dat on stdout. Data should appear exactly as sent by the remote hos.
  35. OPTIONS
  36. -e ethertype
  37. The protocol (or ethertype) of interest expressed as a 16-bit hexadecimal integer. Prefix &quot;0x&quot; is optional. This
  38. filters out frames having any other ethertype. The default is ETH_P_802_2 as defined in if_ether.h.
  39. -i interface
  40. The host interface used to read frames. The default is &quot;eth1&quot; because most people use &quot;eth0&quot; as their principle
  41. network connection; however, if the string &quot;PLC&quot; is defined in the environment then it will over-ride the program
  42. default. Any interface specified on the command line will over-ride the default.
  43. -q Quiet mode. This option has no effect at this time.
  44. -t milliseconds
  45. Read timeout in milliseconds. Values range from 0 through UINT_MAX. This is the maximum time allowed for a
  46. response. The default is 50 milliseconds.
  47. -v Verbose mode. This option has no effect at this time.
  48. ARGUMENTS
  49. None.
  50. EXAMPLES
  51. The following example monitors host interface eth1 for incoming 802.2 Ethernet frames and writes frame data to stdout.
  52. In this case, stdout is the console. Frame data is written, as it arrives, and forms a single output stream. Directing
  53. output to the console may corrupt your terminal session, forcing you to close the console window and open another one.
  54. # edru -ieth1
  55. The next example does the same thing but directs output to file test.log. The output file may be inspected using a
  56. binary hex editor. The programs continues to read and write until interrupted using ctrl-c or ctrl-z.
  57. # edru -ieth1 &gt; test.log
  58. The next example does the same thing but pipes output into program hexdmp which displays data in hexadecimal format.
  59. This prevents terminal session corruptions caused by binary data. Programhexdmp may not be provided with the toolkit.
  60. # edru -ieth1 | hexdmp
  61. SEE ALSO
  62. amp(1), efsu(1), hpav(1)
  63. CREDITS
  64. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  65. open-plc-utils-0.0.3 Mar 2014 edru(1)
  66. </pre>
  67. <div class='footerlink'>
  68. [<a href='coqos_rel.1.html' title=' coqos_rel.1 '>PREV</a>]
  69. [<a href='toolkit.html' title=' Index '>HOME</a>]
  70. [<a href='edsu.1.html' title=' edsu.1 '>NEXT</a>]
  71. </div>
  72. </body>
  73. </html>