Giter VIP home page Giter VIP logo

Comments (7)

thanhbnq avatar thanhbnq commented on September 28, 2024

Hello @phamcongspk ,

Sorry for being late here.
I checked with my local Ubuntu setup. IPv6 and UDP is working well.
I'd like to share my configuration.
For dlt.conf:

UDPConnectionSetup = 1
UDPMulticastIPAddress = ff02::1
UDPMulticastIPPort = 3491

And the dltviewer tool, in UDP tab, please choose multicast address as "ff02::/8", port as: 3491 then we can capture dlt message.

Best regards,
Thanh

from dlt-daemon.

phamcongspk avatar phamcongspk commented on September 28, 2024

Hi Thanh,

Thanks for your response
I have configured as your suggestion, but it still not working
Below is my setting on dltviewer tool in 2 ways:
image

image

Note: I run dltviewer on Window, not Ubuntu
Do I miss something?

Best regards,
Cong.

from dlt-daemon.

thanhbnq avatar thanhbnq commented on September 28, 2024

Hi @phamcongspk ,

Well, regarding dlt-viewer for Windows, I can suggest some extra steps you have to perform in this case.

  1. Check which UDP ports are allowed by firewall. On Windows command line, run:
    netsh firewall show state

  2. Check which multicast groups Windows can belong to. On Windows command line, run:
    netsh interface ip show joins

  3. (Maybe not necessary) on Ubuntu, Add multicast group of Viewer into ip table by command:
    sudo ip route add <result_of_#2> dev <inet_interface_of_dlt_daemon>

I hope it could help you.

Best regards,
Thanh

from dlt-daemon.

phamcongspk avatar phamcongspk commented on September 28, 2024

Hi Thanh,

Thanks for your help,

Below is the result when I try the step 1 and 2

image

image

Base o the result, multicast group haven't not add on Windows, have it?
What can I do to add the multicast group?

Thank you!
Cong.

from dlt-daemon.

thanhbnq avatar thanhbnq commented on September 28, 2024

@phamcongspk
In the picture 1, it looks like your system is only allowing TCP port 32111.
I think you should contact your admin IT to (maybe) open another UDP port.
I would say I am not an expert in Windows so you'd better consult your IT dept and refer to some following links:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/windows-fireware-rule-block-udp-communication

In picture 2, it is telling us that the interface 8 Ethernet 2 is already member of some multicast groups.
Hence, you have to guarantee your Ubuntu (host of dlt-daemon) will add one of groups.
Check my step 3

Well. If it is somehow difficult to deal with your Windows system, I would suggest to you dltviewer for Ubuntu then :)

Hope it could help you.
Thanh

from dlt-daemon.

phamcongspk avatar phamcongspk commented on September 28, 2024

Hi Thanh,

Thanks again for your help.
The reason I use dltViewer on Windows is that I use CANoe tool to view the DLT log but CANoe tool can run on Windows only.
Now I think I will back to use TCP with CANoe tool.
But CANoe tool do not support DLT protocol
As I know, DLT client like dltViewer or CANoe tool must send a request to dlt-daemon before received data from dlt-daemon. Is it right?
Can I create a request packet like that on CANoe tool over TCP/IP?
I hope you can understand what I say. Otherwise, I can explain it in Vietnamese for more easy understanding :)

from dlt-daemon.

michael-methner avatar michael-methner commented on September 28, 2024

I am closing this one. These question is not related to DLT and more like an general IT problem.

from dlt-daemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.