[igt-dev] [PATCH i-g-t] docs/chamelium: add quick-start commands and network setup
Martin Peres
martin.peres at linux.intel.com
Wed Jun 12 10:58:20 UTC 2019
On 12/06/2019 13:50, Simon Ser wrote:
> 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 at intel.com>
Thanks!
Reviewed-by: Martin Peres <martin.peres at linux.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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
>
More information about the igt-dev
mailing list