Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Codesys in VMWare - Raspberry pi connection

mhabib
2021-10-22
2021-11-04
  • mhabib - 2021-10-22

    Hi all,

    My codesys development tool is hosted in my VMWare virtual machine, I can ping my raspberry pi from VM but I can't detect it with the development tool to install the runtime system. has anybody met this problem before ?

    Regards
    Mustapha

     
  • eschwellinger

    eschwellinger - 2021-10-22

    ssh enabled on pi side?

     
  • mhabib - 2021-10-22

    yes because I am accessing Raspi with Putty software. I have the feeling that this has something to do with the VM network adapter mode, I've selected NAT (used to share the host's IP address) because this is the only way to keep my VM being connected to the WIFI in my case.

     
  • eschwellinger

    eschwellinger - 2021-10-22

    if you could login by putty from your vm the runtime deploy tool must work too. Could we get the message view results in CODESYS after trying to deploy the runtime

     

    Last edit: eschwellinger 2021-10-22
  • mhabib - 2021-11-03

    Hi again,

    Sorry for my late answer.. I have been trying troublshooting the problem, but unfortenutely no solution till now. As it is shown in the attached picture, I can ping my raspi from my VM but when I scan possible connected devices from my Codesys development software I detect nowthing!

    Regards,
    Mustapha

     

    Last edit: mhabib 2021-11-03
  • eschwellinger

    eschwellinger - 2021-11-03

    could you execute putty on the vm - and give us a 'top'

     
  • mhabib - 2021-11-04

    Hi again,

    As you can see here in "Capture.PNG", I can ping the raspi and even access it with Putty, but when I scan possible devices with Codesys I see nothing!.. But if I run "install" button without selecting the target, the installation process goes normally withoout error messages. But I still can't start the runtime because it is not detectable as shown in "Capture2.PNG".
    By the way, outside VMWare, everything is perfect. I believe the issue is related to the virtual network adapters associated with VM: here I have Ethernet and Ethernet0. the first one I changed its IP address to the same network as raspi to be able to ping it.

    Regards
    Mustapha

     

Log in to post a comment.