public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Simon Ser <simon.ser@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: martin.peres@intel.com
Subject: [igt-dev] [PATCH i-g-t] docs/chamelium: add quick-start commands and network setup
Date: Wed, 12 Jun 2019 13:50:00 +0300	[thread overview]
Message-ID: <20190612105000.18724-1-simon.ser@intel.com> (raw)

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

             reply	other threads:[~2019-06-12 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-12 10:50 Simon Ser [this message]
2019-06-12 10:58 ` [igt-dev] [PATCH i-g-t] docs/chamelium: add quick-start commands and network setup 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190612105000.18724-1-simon.ser@intel.com \
    --to=simon.ser@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=martin.peres@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox