How do I change default gateway on Speedgoat target ?

3 ビュー (過去 30 日間)
Pietro Di Maro
Pietro Di Maro 2024 年 7 月 23 日
回答済み: Pietro Di Maro 2024 年 7 月 23 日
Hi all,
I want to change the default gateway on Speedgoat but I'm encountering some problems.
By following the guide: https://www.speedgoat.com/help/slrt/page/io_main/refentry_ethernet_configuration I understand that I have to change the ip address in the text box shown in "Show Advanced Settings" but changing 192.168.7.5 into 192.168.0.1 and storing by clicking the button "Store" gives me this error in the Matlab prompt
Do you know a solution for this problem ?
Thanks in advance

回答 (1 件)

Pietro Di Maro
Pietro Di Maro 2024 年 7 月 23 日
I just figured it out by myself.
Hope this could help someone, all you have to do is ssh into Speedgoat hardware, by ssh root@192.168.7.5 password: root
then the following commands:
netstat -rn (to see old default gateway, 192.168.7.5 from factory)
route delete default 192.168.7.5
route add default new_default_ip_addr
Make sure new default gateway ip address belongs to one of the ethernet interfaces subnets

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by