ch02s04.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Device Configurations</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch02.html" title="Chapter 2.  Hardware"><link rel="prev" href="ch02s03.html" title="Device Communications"><link rel="next" href="ch02s05.html" title="Powerline Workstations"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
  2. Device Configurations
  3. </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><th width="60%" align="center">Chapter 2. 
  4. Hardware
  5. </th><td width="20%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr></table><hr></div><div class="section" title="Device Configurations"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="device-configurations"></a>
  6. Device Configurations
  7. </h2></div></div></div><p>
  8. There are several test configurations that can be used to experiment with Atheros powerline communication devices. Configurations vary based on the powerline communications devices you have available to work with. All configurations described here require at least one computer with an Ethernet card and the Open Powerline Toolkit installed. Most configurations require two Atheros powerline devices.
  9. </p><p>
  10. Open Powerline Toolkit programs let the user specify which Ethernet interface card to use when sending and receiving Ethernet frames. This means that a computer with two interface cards installed can emulate two computers provided there are not internal routing conflicts. To avoid routing conflicts, Atheros recommends that you start with two computers until your are ready for more sophisticated experimentation.
  11. </p><p>
  12. Open Powerline Toolkit programs default to <code class="constant">eth0</code> . This allows the computer to be connected to the normal network on <code class="constant">eth0</code> and connected to the powerline network on <code class="constant">eth1</code>. To over-ride the default powerline interfaces, set environment variable <code class="constant">PLC</code> to the desired interface name. All configurations assume that the Ethernet card is installed, the Ethernet driver for that card is loaded and the correct interface is enabled.
  13. </p><p>
  14. Atheros powerline communication devices radiate across powerline or coax at radio frequencies. If two devices are connected, in any way, without intermmediate filters or isolation, they will attempt to commicate. Additionally, they will attempt to circumvent certain types of powerline noise or competing frequencies which can cause reduce data rates. Atheros recomends that devices under test (<acronym class="acronym">DUT</acronym>) take their power from a shared but isolated power source like an isolation power strip or an uninterruptable power supply.
  15. </p><p>
  16. ( ... explain about powerline isolation ... ) The power strip should have no filtering, surge protectors or electronic cirtuits inside.
  17. </p><pre class="programlisting">
  18. ---&gt; [ATTENUATOR] ---&gt; [POWER_STRIP] ---&gt; [POWERLINE_DEVICE] ---&gt;
  19. </pre><p>
  20. Typical configurations are:
  21. </p><div class="section" title="Local Host to Local Device"><div class="titlepage"><div><div><h3 class="title"><a name="configuration-1"></a>
  22. Local Host to Local Device
  23. </h3></div></div></div><p>
  24. This is the simplest configuration. It establishes an Ethernet connection between the host and one powerline device. It can be used to test or program a single powerline device.
  25. </p><p>
  26. It requires
  27. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
  28. One host computer with an Ethernet interface card
  29. </p></li><li class="listitem"><p>
  30. One CAT-5 Ethernet cable with an RJ-45 connector at either end.
  31. </p></li><li class="listitem"><p>
  32. One Atheros powerline device with RJ-45 connector.
  33. </p></li><li class="listitem"><p>
  34. An isolated power source
  35. </p></li></ul></div><pre class="programlisting">
  36. [LOCAL_HOST] ---/ ethernet /-----&gt; [POWERLINE_DEVICE] ---/ powerline /-----&gt;
  37. </pre><p>
  38. Connect the local host to the powerline device with an ordinary CAT-5 Ethernet cable. Apply power to the powerline device. The local host <span class="emphasis"><em>cannot ping the powerline device</em></span> because it functions at the data link layer. The local host can interrogate and control the powerline device using
  39. <a class="ulink" href="int6k.7.html" target="_top">
  40. int6k
  41. </a>
  42. or
  43. <a class="ulink" href="int6k2.7.html" target="_top">
  44. int6k2
  45. </a>
  46. programs.
  47. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
  48. Type "int6k -r" and note the hardware and firmware revision.
  49. </p></li><li class="listitem"><p>
  50. Type "int6k -I" and note the device MAC, DAK and NMK.
  51. </p></li><li class="listitem"><p>
  52. Type "int6k -m" and confirm that the device detects no other devices indicating proper powerline isolation.
  53. </p></li></ul></div></div><div class="section" title="Local Host to Remote Device"><div class="titlepage"><div><div><h3 class="title"><a name="configuration-2"></a>
  54. Local Host to Remote Device
  55. </h3></div></div></div><p>
  56. This configuration is the simplest <span class="emphasis"><em>powerline</em></span> network configuration. It expands the previous configuration by creating a simple powerline network having two powerline devices. One device, the "local device", is connected to the host via Ethernet. A second device, the "remote device", is connected to the first via powerline.
  57. </p><p>
  58. It requires
  59. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
  60. One host computer with an Ethernet interface card
  61. </p></li><li class="listitem"><p>
  62. One CAT-5 Ethernet cable with an RJ-45 connector at either end.
  63. </p></li><li class="listitem"><p>
  64. Two Atheros powerline devices, one with RJ-45 connector.
  65. </p></li><li class="listitem"><p>
  66. An isolated power source.
  67. </p></li></ul></div><pre class="programlisting">
  68. [LOCAL_HOST] ---/ ethernet /-----&gt; [POWERLINE_DEVICE] ---/ powerline /-----&gt;
  69. [POWERLINE_DEVICE] ---/ powerline /-----&gt;
  70. </pre><p>
  71. Configure the previous network then plug a second powerline device into the same power source as the first powerline device. The local host still cannot ping any Ethernet network devices because there are no remote Ethernet devices to ping but it can interrogate and control both powerline devices.
  72. </p></div><div class="section" title="Local Host to Remote Host"><div class="titlepage"><div><div><h3 class="title"><a name="configuration-3"></a>
  73. Local Host to Remote Host
  74. </h3></div></div></div><p>
  75. This configuration is the simplest <span class="emphasis"><em>Ethernet</em></span> network configuration. It expands the previous network by connecting the second powerline device to an existing Ethernet network through an Ethernet switch.
  76. </p><p>
  77. It requires
  78. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
  79. Two host computers, each with an Ethernet interface card
  80. </p></li><li class="listitem"><p>
  81. Two CAT-5 Ethernet cables with RJ-45 connectors at either end.
  82. </p></li><li class="listitem"><p>
  83. Two Atheros powerline devices, each with RJ-45 connector.
  84. </p></li><li class="listitem"><p>
  85. An isolated power source.
  86. </p></li></ul></div><pre class="programlisting">
  87. [LOCAL_HOST] ---/ ethernet /-----&gt; [POWERLINE_DEVICE] ---/ powerline /-----&gt;
  88. [REMOTE_HOST] ---/ ethernet /-----&gt; [POWERLINE_DEVICE] ---/ powerline /-----&gt;
  89. </pre><p>
  90. Configure the previous network then plug the second powerline device into an Ethernet switch connected to an exiting Ethernet network. The local host can now ping other Ethernet network devices on the.
  91. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
  92. Device Communications
  93.  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
  94. Powerline Workstations
  95. </td></tr></table></div></body></html>