How do I change default gateway on Speedgoat target ?

8 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by