How to read data from LAN cable?

98

Solution 1

Are both devices connected to a network? If you can find the IP address, try "COM Port Data Emulator." Allows you to put your computer in TCP/IP server mode and send data through ports on ethernet.

Solution 2

I would try a Cisco compatible console adapter: http://www.amazon.com/Diablo-Cable-Console-Adapter-CAB-9AS-FDTE/dp/B0062D058G This has an rj45 female port to connect to your lan cable and a female rs232 connector to connect your your serial port. You can then use a program such as hyper terminal to pull the data off.

Share:
98
munkee
Author by

munkee

Updated on September 18, 2022

Comments

  • munkee
    munkee over 1 year

    I have a vanity url set as:

    /Galaxy/3/3
    

    The route for this url is:

    /Galaxy/:x/:y
    

    I have a form on this page which I would like to submit as a get method. I understand that by utilising a get I will always end up with the following URL:

    /Galaxy?x=3&y=2
    

    What I would like to know is, what is the best way to handle a form submit where I want to continue with my vanity URL. As of right now, performing the GET method on form submit results in the vanity url to be lost.

    I am using EJS templates and Sails.js. Right now I can see 2 options myself:

    1. Hijack the form submit event with JQuery and simply perform a window.location redirect utilising the form inputs and pushing them into a vanity get url.

    2. Having an action in my controller which simply picks up the GET request and redirects it to my vanity url to preserve the set up.

    Are there any methods that perform this in a much neater way?

    • KMC
      KMC over 12 years
      It is a custom laser device that has a separate controller that contains a touch monitor. The LAN terminal from the device basically send some text and images to the PC through LAN cable.
    • KMC
      KMC over 12 years
      i search online and where's only wireless sinffer, no LAN sniffer. I do not know the IP of the device. How to I connect the device to the computer and start "sniffing" like we do for serial port?
    • slhck
      slhck over 12 years
      Install Wireshark and let it sniff in promiscuous mode.