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 CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by