Hi,
I am trying to connect the Jetson TX2 to my host PC via crossover cable in order to use MATLAB GPU coder on the Jetson’s GPU. When I first connected the crossover cable, I was able to get internet access on the TX2 (the wifi is not working, but thats another issue) and the host was able to ping the tx2 and vice versa, no problem. Other people in the company I work for have already done something similar with the Jetson Nano (connecting it to matlab on a host PC), and so I followed a vague guide of theirs (the person who did it is no longer around). It instructed me to change the IP address, netmask and gateway on the ethernet network configurations. After doing this, neither device was able to ping the other, and I lost internet access on the TX2. I tried to get it back by reversing to the original settings but some of the configurations dont match up, even after returning all the inputs to what they were. To reach my end goal of being able to communicate between MATLAB and the TX2 I have been following this tutorial, and at this point get an error in matlab when entering “objw = jetson( … )” in the command line: “Error using matlabshared.internal.ssh2client Error connecting to SSH server at 192.168.1.2 Error in jetson” and am wondering if the reason for this is the same reason for why I am unable to ping the two devices from each other.
Here are the ethernet IP configurations I changed.
on the TX2: IP Address: 192.168.1.2 ; Netmask: 255.255.255.0 ; Gateway: 192.168.1.1
on the Host PC: IP Address: 192.168.1.90 ; Netmask: 255.255.255.0 ; Gateway: 192.168.1.1 ; Preferred DNS: 192.168.1.2
Also, I was instructed to change the bashrc file in the home directory, according to this MATLAB tutorial.
I have also attached the results of ifconfig and route for both the host and the TX2 below.
ifconfigHost.txt (1.5 KB)
routeHost.txt (339 Bytes)
ifconfigTX2.txt (2.2 KB)
routeTX2.txt (416 Bytes)
Please let me know if I have incorrectly set up the IP configurations, or if you need any other information.