diff --git a/20221102/es-20221102.pdf b/20221102/es-20221102.pdf index 20b4723a23322ceb33b0dd175f4d967895c0e585..ab911c60d38df7302c27974a13ba04c7a33d1458 100644 Binary files a/20221102/es-20221102.pdf and b/20221102/es-20221102.pdf differ diff --git a/20221102/es-20221102.tex b/20221102/es-20221102.tex index 0a719585112fb2e42d364e221fd43c52c6fdd2a9..bd5143d9efc35fa744295335e8b290d2bc37fd5c 100644 --- a/20221102/es-20221102.tex +++ b/20221102/es-20221102.tex @@ -20,7 +20,7 @@ % Attribution-ShareAlike 3.0 Unported License along with this % document. If not, see <http://creativecommons.org/licenses/>. -% README: VNC, Netzwerkprogrammierung +% README: VNC \documentclass[10pt,t]{beamer} @@ -66,6 +66,7 @@ \item [3.6] Netzwerkanalyse \item [3.7] SSH \item [3.8] X11 \color{red}und VNC + \color{black} \item[3.9] Programmierung \end{itemize} \item[\textbf{\dots}] @@ -195,37 +196,4 @@ \end{frame} -\subsection{Programmierung} - -\begin{frame} - - \showsection - \showsubsection - - \begin{itemize} - \item - Shell-Skripte: \file{nc} (\file{traditional} oder \file{OpenBSD}) - \item - C: Sockets, \lstinline{select()} - \item - C++: Callbacks - \end{itemize} - - \pause - \bigskip - - Beispiel: Programmierung eines VNC-Servers per Web-Interface - - \begin{itemize} - \item - Grundlagen: RFC~6143 - \item - Praxis: Untersuchung mit Wireshark - \item - Implementation: JavaScript, WebSockets, \file{websockify}, Callbacks - \end{itemize} - -\end{frame} - - \end{document} diff --git a/20221109/es-20221109.pdf b/20221109/es-20221109.pdf new file mode 100644 index 0000000000000000000000000000000000000000..4a9cfee74ac032a8be45712b3c7c1e79caca9915 Binary files /dev/null and b/20221109/es-20221109.pdf differ diff --git a/20221109/es-20221109.tex b/20221109/es-20221109.tex new file mode 100644 index 0000000000000000000000000000000000000000..013035409a0ccf3772d715a9b43c075904616564 --- /dev/null +++ b/20221109/es-20221109.tex @@ -0,0 +1,174 @@ +% es-20221109.pdf - Lecture Slides on Embedded Systems +% Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Peter Gerwinski +% +% This document is free software: you can redistribute it and/or +% modify it either under the terms of the Creative Commons +% Attribution-ShareAlike 3.0 License, or under the terms of the +% GNU General Public License as published by the Free Software +% Foundation, either version 3 of the License, or (at your option) +% any later version. +% +% This document is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this document. If not, see <http://www.gnu.org/licenses/>. +% +% You should have received a copy of the Creative Commons +% Attribution-ShareAlike 3.0 Unported License along with this +% document. If not, see <http://creativecommons.org/licenses/>. + +% README: VNC, Netzwerkprogrammierung + +\documentclass[10pt,t]{beamer} + +\usepackage{pgslides} +\usepackage{rotating} +\usepackage{tikz} + +\newcommand{\underconstruction}{% + \begin{picture}(0,0) + \put(9,0.9){\makebox(0,0)[b]{\includegraphics[width=1.5cm]{Zeichen_123.pdf}}} + \put(9,0.6){\makebox(0,0)[t]{\shortstack{Änderungen\\vorbehalten}}} + \end{picture}} + +\title{Eingebettete Systeme} +\author{Prof.\ Dr.\ rer.\ nat.\ Peter Gerwinski} +\date{2.\ November 2022} + +\newcommand{\greyurl}[1]{\href{#1}{\color{gray}\nolinkurl{#1}}} +\newcommand{\ItwoC}{I\raisebox{0.5ex}{\footnotesize 2}C} + +\begin{document} + +\maketitleframe + +\nosectionnonumber{\inserttitle} + +\begin{frame} + + \shownosectionnonumber + + \begin{itemize} + \item[\textbf{1}] \textbf{Einführung} + \hfill\makebox(0,0)[br]{\raisebox{2.25ex}{\url{https://gitlab.cvh-server.de/pgerwinski/es}}}% + \item[\textbf{2}] \textbf{Einführung in Unix} + \item[\textbf{3}] \textbf{TCP/IP in der Praxis} + \begin{itemize} + \item [3.1] IP-Adressen + \item [3.2] MAC-Adressen + \item [3.3] TCP- und UDP-Ports + \item [3.4] TCP-Protokolle + \item [3.5] Routing + \color{orange} + \item [3.6] Netzwerkanalyse + \color{black} + \item [3.7] SSH + \color{medgreen} + \item [3.8] X11 \color{orange}und VNC + \color{red} + \item[3.9] Programmierung + \end{itemize} + \item[\textbf{\dots}] + \end{itemize} + \strut\hfill \url{https://www.peter.gerwinski.de/download/net-2013ss.tar.gz} + +% \vspace*{-1cm plus 1filll} + +% \underconstruction + +\end{frame} + +\setcounter{section}{2} +\section{TCP/IP in der Praxis} + +\setcounter{subsection}{5} +\subsection{Netzwerkanalyse} + +\begin{frame} + + \showsection + \showsubsection + + \begin{itemize} + \item + \lstinline[style=cmd]{tcpdump} + \item + \lstinline[style=cmd]{wireshark} + \item + \lstinline[style=cmd]{ettercap} + \end{itemize} + +\end{frame} + +\setcounter{subsection}{7} +\subsection{X11 und VNC} + +\begin{frame} + + \showsection + \showsubsection + + \begin{itemize} + \item + Grafik-Bildschirm und Eingabegeräte über's Netz + \item + \lstinline[style=cmd]{DISPLAY}-Variable: X-Server: Rechner und Bildschirm + \item + \lstinline[style=cmd]{ssh -X}: X11-Forwarding + \pause + \bigskip + \item + VNC = Virtual Network Computing + \item + VNC-Server stellt Bildschirminhalt zur Verfügung + \begin{itemize} + \item entweder: eigener, virtueller X11-Server + \item oder: ruft Inhalt von anderem (X11-) Bildschirm ab + \end{itemize} + \item + VNC-Client ruft Bildschirminhalt ab und stellt ihn dar + \begin{itemize} + \item z.\,B.\ per X11 + \item z.\,B.\ per Web-Interface: noVNC + \end{itemize} + \end{itemize} + +\end{frame} + +\subsection{Programmierung} + +\begin{frame} + + \showsection + \showsubsection + + \begin{itemize} + \item + Shell-Skripte: \file{nc} (\file{traditional} oder \file{OpenBSD}) + \item + C: Sockets, \lstinline{select()} + \item + C++: Callbacks + \end{itemize} + + \pause + \bigskip + + Beispiel: Programmierung eines VNC-Servers per Web-Interface + + \begin{itemize} + \item + Grundlagen: RFC~6143 + \item + Praxis: Untersuchung mit Wireshark + \item + Implementation: JavaScript, WebSockets, \file{websockify}, Callbacks + \end{itemize} + +\end{frame} + + +\end{document} diff --git a/20221109/logo-hochschule-bochum-cvh-text-v2.pdf b/20221109/logo-hochschule-bochum-cvh-text-v2.pdf new file mode 120000 index 0000000000000000000000000000000000000000..4aa99b8f81061aca6dcaf43eed2d9efef40555f8 --- /dev/null +++ b/20221109/logo-hochschule-bochum-cvh-text-v2.pdf @@ -0,0 +1 @@ +../common/logo-hochschule-bochum-cvh-text-v2.pdf \ No newline at end of file diff --git a/20221109/logo-hochschule-bochum.pdf b/20221109/logo-hochschule-bochum.pdf new file mode 120000 index 0000000000000000000000000000000000000000..b6b9491e370e499c9276918182cdb82cb311bcd1 --- /dev/null +++ b/20221109/logo-hochschule-bochum.pdf @@ -0,0 +1 @@ +../common/logo-hochschule-bochum.pdf \ No newline at end of file diff --git a/20221109/pgslides.sty b/20221109/pgslides.sty new file mode 120000 index 0000000000000000000000000000000000000000..5be1416f4216f076aa268901f52a15d775e43f64 --- /dev/null +++ b/20221109/pgslides.sty @@ -0,0 +1 @@ +../common/pgslides.sty \ No newline at end of file diff --git a/README.md b/README.md index 7732f148c46ac8d760561d4352cadb01adfd3d3e..d1e2430defbc372a645bfcdc695df3eb5dbbbe07 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ Vortragsfolien: --------------- * [28.09.2022: Einführung: eingebettete Systeme, Unix](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/20220928/es-20220928.pdf) * [05.10.2022: Unix-Kommandozeile, Shell-Skripte](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/20221005/es-20221005.pdf) + * [12.10.2022: Unix-Kommandozeile, Shell-Skripte](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/20221012/es-20221012.pdf) + * [02.11.2022: VNC](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/20221102/es-20221102.pdf) + * [09.11.2022: VNC, Netzwerkprogrammierung](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/20221109/es-20221109.pdf) * [alle in 1 Datei](https://gitlab.cvh-server.de/pgerwinski/es/raw/2022ws/es-slides-2022ws.pdf) Original-Materialien einschließlich Beispiel-Programme und LaTeX-Quelltexte: diff --git a/es-slides-2022ws.pdf b/es-slides-2022ws.pdf index 1d98bb192f5aab062d0eef74a5d5c4c597cfae36..771f7748c6be05f7a375dfbba8641b6e1b7d7c2c 100644 Binary files a/es-slides-2022ws.pdf and b/es-slides-2022ws.pdf differ