public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] docs/chamelium: add quick-start commands and network setup
@ 2019-06-12 10:50 Simon Ser
  2019-06-12 10:58 ` Martin Peres
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Simon Ser @ 2019-06-12 10:50 UTC (permalink / raw)
  To: igt-dev; +Cc: martin.peres

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>
---
 docs/chamelium.txt | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/docs/chamelium.txt b/docs/chamelium.txt
index 13edb79409bd..aaa0646e9d1e 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".
--
2.22.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-13  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-12 10:50 [igt-dev] [PATCH i-g-t] docs/chamelium: add quick-start commands and network setup Simon Ser
2019-06-12 10:58 ` Martin Peres
2019-06-12 12:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-06-13  9:50 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox