summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-06-12 13:47:27 +0300
committerSimon Ser <simon.ser@intel.com>2019-06-12 14:14:43 +0300
commitca09a5f14fb950817d31d153cea3be91ab2de4c5 (patch)
treee91070bb95f1c746ff69e23f6af7c886f0225396 /docs
parentc113a803d311915ac2c7fd6a2f71d344b1b6fedd (diff)
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 <simon.ser@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/chamelium.txt12
1 files changed, 11 insertions, 1 deletions
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".