From ca09a5f14fb950817d31d153cea3be91ab2de4c5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 12 Jun 2019 13:47:27 +0300 Subject: docs/chamelium: add quick-start commands and network setup This saves people from searching how to use the serial console again, and how to configure network. Additionally, the /etc/network/interfaces file uses an old Debian-like format so `address 192.168.1.42/24` won't work, one needs to explicitly write down the network mask. Signed-off-by: Simon Ser Reviewed-by: Martin Peres --- docs/chamelium.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/chamelium.txt b/docs/chamelium.txt index 13edb794..aaa0646e 100644 --- a/docs/chamelium.txt +++ b/docs/chamelium.txt @@ -42,7 +42,17 @@ section. At this point, IGT has to be configured to connect to the Chamelium. It may be necessary to give the Chamelium a static IP address, depending on the network setup. This can be configured (via the serial console) by editing -the Debian-styled /etc/network/interfaces configuration file. +the Debian-styled /etc/network/interfaces configuration file. Example setup: + + sudo screen /dev/ttyUSB0 115200 + sudo vi /etc/network/interfaces + +and then configure eth0 like so: + + iface eth0 inet static + address 192.168.1.2 + netmask 255.255.255.0 + gateway 192.168.1.1 This document supposes that target PC's network IP has "192.168.1.1/24" and the Chamelium's network IP has "192.168.1.2/24". -- cgit v1.2.3