PPP to Comm Module

Document created by mathaker on Jul 17, 2014Last modified by mathaker on Sep 18, 2014
Version 2Show Document
  • View in full screen mode

Here are the general steps to enabling PPP communications between the host module (e.g. meter "register" board) and the Cisco comm module:


  • Make sure the comm module HW has been successfully debugged (ensure that the MCU diags have passed the basic test including the host UART test
  • Make sure ppp v6 daemon has been ported to your host module environment


  • Start the ppp daemon.  On linux systems it may be command line such as this:
    pppd nodetach debug nocdtrcts noip ipv6 ::2 <tty_dev> 115200
  • where <tty_dev> is the usb tty device of your board.  e.g. /dev/ttyUSB0
  • ping the comm module at the address FE80::1.  for example: ping6 FE80::1
  • After a successful ping, you are ready to test the CSMP communications between your CSMP client and the CSMP agent in the comm module.

MAC OS X (Lion and above)

Here are the steps to communicate to the host port of the comm module from a USB port of a Macintosh running Mac OS X Lion:

  • Connect a USB cable between the host port of the comm module and a USB port of the Mac.
  • Open a terminal window.  Applications -> Utilities -> Terminal
  • Find the "tty" device name of the connected comm module.

$ ls /dev/*usb*/dev/cu.usbserial-AM01921K  /dev/tty.usbserial-AM01921K

  • Start the pppd program on that device in su mode.  Super-user password will be required.

$ sudo pppd local nocdtrcts nodetach debug noip ipv6 ::2,::1 /dev/tty.usbserial-AM01921K 115200

  • Ping the comm module from another terminal window

$ ping6 fe80::1%ppp0PING6(56=40+8+8 bytes) fe80::2%ppp0 --> fe80::1%ppp016 bytes from fe80::1%ppp0, icmp_seq=0 hlim=64 time=27.411 ms16 bytes from fe80::1%ppp0, icmp_seq=1 hlim=64 time=27.234 ms16 bytes from fe80::1%ppp0, icmp_seq=2 hlim=64 time=26.995 ms16 bytes from fe80::1%ppp0, icmp_seq=3 hlim=64 time=27.369 ms