How do I change default gateway on Speedgoat target ?

20 Ansichten (letzte 30 Tage)
Pietro Di Maro
Pietro Di Maro am 23 Jul. 2024
Beantwortet: Pietro Di Maro am 23 Jul. 2024
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

Antworten (1)

Pietro Di Maro
Pietro Di Maro am 23 Jul. 2024
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

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by