Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Troubleshoot ethernet gateway
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Troubleshoot ethernet gateway

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 802 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chuckconnors
    wrote on last edited by
    #1

    I built an ethernet gateway a while back and it works great. I've been having sporadic issues with OpenHAB not being able to read from it or something similar. Is there an easy way to snoop on the traffic of the ethernet gateway? Will it respond to a ping? Can I view messages sent/received via netcat on Linux?

    1 Reply Last reply
    0
    • mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Yes it will respond to ping. Default address in the sketch is 192.168.178.66 but can be changed by setting IPAddress myIp.
      Yes you can capture the traffic by using wireshark, tcpdump or similar tool. Easiest way is to run the tool on the same machine as you run OpenHAB and filter on the gateway's ip address.
      Yes you can connect to the gateway using netcat, but I think it is only built to handle one connection at the same time so you might have to disconnect the connection from OpenHAB. TCP port 5003 is default but can be changed by setting IP_PORT in the sketch.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chuckconnors
        wrote on last edited by
        #3

        Found the problem. Bad connection to router. I am now able to interact with it. Ping did work as did netcat. Thanks again.

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        17

        Online

        11.7k

        Users

        11.2k

        Topics

        113.0k

        Posts


        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular