How to connect Raspberry Pi 4 Model B though a internet on other computer?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, I want to access the Rasberry Pi 4 Model B through MATLAB. I am runing MATLAB far away from raspberry board. I am trying to connect raspberry through LAN (fixd IP). I have set IP address through router and wrote the same IP address in MATLAB Rasberian image file but can not include the port adress.
Please let me know how to do it.
MATLAB R2020a
1 件のコメント
Walter Roberson
2021 年 2 月 17 日
Your router would have to have been configured to map an external ip address to the static ip of the raspberry. It would either have to map the entire ip to go to the raspberry (with perhaps only some ports being allowed through), or else it would have to be configured so that if a very particular port was accessed from the outside that the one port was mapped through to the destination ip address.
If the router has been configured in that mode of only mapping to the destination when particular ports are accessed, then it is very likely that the router permits you to specify which port on the destination is to get the packet. There are some cheap routers that only permit entire ip addresses to be mapped, but any router that permits specific ports to be mapped should also permit you to specify the destination port ("Port Address Translation")
Oddly enough, consumer routers seldom permit entire ip addresses through without supporting port address translation, as consumer routers seldom expect to serve multiple public ip addresses. The devices that support DMZ but not PAT are typically 15-ish years old. They exist.
回答 (1 件)
Reeno Joseph
2021 年 2 月 18 日
Hi Prashant,
MATLAB Online now supports Raspberry Pi. This will allow you to access a remote Raspberry Pi with minimum steps.
-Reeno
1 件のコメント
Walter Roberson
2021 年 2 月 18 日
Does the MATLAB Online session still time out if you do not jiggle the mouse every 15 minutes?
参考
カテゴリ
Help Center および File Exchange で Installation Setup and Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!