...
2) Open a serial console, 115200 baud
Code Block |
---|
host:~$ dmesg | grep tty # should see the name serial port at the end host:~$ screen /dev/ttyUSB0 115200 |
...
4) Enable the usb-networking interface over the OTG port
Code Block |
---|
gumstix:~$ sudo modprobe g_ether
|
At this point a new network interface should appear on your computer. Share your internet connection with this new interface, then on the vehicle:
Code Block |
---|
gumstix:~$ dhclient usb0 gumstix:~$ ifconfig usb0 |
If the gumstix successfully acquired an IP address then you should be able to ssh in from the host computer.
Code Block |
---|
host:~$ ssh josh@10.42.0.83
|
You can also check that the vehicle has internet access by pinging some public IP. Alternatively if internet is not required, the interfaces can both be configured to static addresses on the same subnet.