Simulink support package test connection error

조회 수: 9 (최근 30일)
Hunter
Hunter 2025년 5월 29일
편집: Hitesh 2025년 6월 13일
I am running through the Simulink Raspberry Pi hardware support package setup process. On the verify connection step on the enter credentials page, I get the message, "Verifying internet connection failed." On my computer, I am able to ssh in to the Raspberry Pi and ping google.com with multiple packets. I am also able to access internet on the Raspberry Pi through the web browser. I appreciate any suggestions or explanations that can be provided.

답변 (1개)

Hitesh
Hitesh 2025년 6월 13일
편집: Hitesh 2025년 6월 13일
Hi Hunter,
There are a some workaround that will resolve the "Verifying Internet access failed" error:
 If the above workaround didn't worked out, please try the following troubleshooting steps: 
  • Ping the Raspi from MATLAB:
raspiObj = raspi.internal.hwsetup.Raspbian(address,username,password);   % address (ipaddress of pi), username, password - within single quotes
resultTimeout =  system(raspiObj, 'sudo ping -W 1 -c 1 8.8.8.8')
  • Ping the Raspi without timeout: The outputs of 'resultTimeout' and 'resultNoTO', as well as the elapsed time returned by tic-toc will help us debug more.
tic;
resultNoTO = system(raspiObj, 'sudo ping -c 1 8.8.8.8');
toc;
resultNoTO
  • If the above commands produce errors, then connect to Raspberry Pi through an SSH session and execute the following command:
sudo cat /etc/sudoers
  • Share the output with us, this would give us more information about sudo privileges for a given username. Also, execute the following commands directly on the Raspi:
sudo ping -W 1 -c 1 8.8.8.8sudo ping -c 1 8.8.8.8ifconfigroute -neFtraceroute 8.8.8.8
These resources might be helpful in resolving "Verifying internet connection failed." error.
Kindly let me know if the issue persist.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by