\documentclass{beamer}
\usetheme{metropolis}
\usepackage{lmodern}
\usepackage[czech]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{color}
\usepackage{mathtools}
\usepackage{hyperref}
\usepackage{epstopdf}
\usepackage{svg}
\usepackage{amsmath}
\usepackage{minted}
\hypersetup{
    colorlinks,
    citecolor=black,
    filecolor=black,
    linkcolor=black,
    urlcolor=black
}
\usepackage{pdflscape}

\title{Domácí wifi síť s OpenWRT}
\author{Kar(t)el Kočí}
\date{3.3.2018}

\begin{document}

\frame{\titlepage}

\begin{frame}
	\frametitle{Co je cílem?}
	\def\svgwidth{11cm}
	\input{overview.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{OpenWRT?}
	\begin{itemize}
		\item Možnosti nastavení
		\item Updaty
		\item Open Source
	\end{itemize}
	\vspace{1cm}
	\def\svgwidth{5cm}
	\input{Openwrt_Logo.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Základní nastavení}
	\def\svgwidth{11cm}
	\input{simple.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Přidáváme AP}
	\def\svgwidth{11cm}
	\input{wtih_ap.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Síťové služny na roteru vs. AP}
	\def\svgwidth{0.4cm}
	\begin{table}
		\begin{tabular}{r | c | c}
			& Router & AP \\
			\hline
			DHCP client / static ip & \def\svgwidth{0.4cm}\input{tick.pdf_tex} & \def\svgwidth{0.4cm}\input{tick.pdf_tex} \\
			DHCP server & \def\svgwidth{0.4cm}\input{tick.pdf_tex} & \def\svgwidth{0.4cm}\input{cross.pdf_tex} \\
			DNS resolver & \def\svgwidth{0.4cm}\input{tick.pdf_tex} & \def\svgwidth{0.4cm}\input{cross.pdf_tex} \\
			Firewall & \def\svgwidth{0.4cm}\input{tick.pdf_tex} & \def\svgwidth{0.4cm}\input{tick.pdf_tex} \\
		\end{tabular}
	\end{table}
\end{frame}

\begin{frame}
	\frametitle{Rozšiřujeme o síť pro hosty (Wifi)}
	\def\svgwidth{11cm}
	\input{hosts.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Rozšiřujeme o síť pro hosty (Interface)}
	\def\svgwidth{11cm}
	\input{hosts_interface.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Rozšiřujeme o síť pro hosty (VLan)}
	\def\svgwidth{11cm}
	\input{hosts_vlan.pdf_tex}
\end{frame}

\begin{frame}
	\frametitle{Rozšiřujeme o síť pro hosty (Firewall)}
	\def\svgwidth{11cm}
	\input{hosts_firewall.pdf_tex}
\end{frame}

\begin{frame}[fragile]
	\frametitle{IEEE802.11r (volitelně)}
	\begin{verbatim}
config wifi-iface
  option device 'radio0'
  option mode 'ap'
  .....
  option ieee80211r 1
  option mobility_domain 'ff42'
  option nasid '552244339990' # 552244339991
  option r1_key_holder '112233445502' # BSSID
  list r0kh "11:22:33:44:55:00,552244339990,ffaaffaaffaaffaaffaaffaaffaaffaa"
  list r0kh "11:22:33:44:55:01,552244339991,ffaaffaaffaaffaaffaaffaaffaaffaa"
  list r1kh "11:22:33:44:55:00,11:22:33:44:55:00,ffaaffaaffaaffaaffaaffaaffaaffaa"
  list r1kh "11:22:33:44:55:01,11:22:33:44:55:01,ffaaffaaffaaffaaffaaffaaffaaffaa"
\end{verbatim}
	\url{https://wiki.openwrt.org/doc/uci/wireless#fast_bss_transition_options}
\end{frame}

\begin{frame}
	\begin{block}{\large Otázky?}
	\end{block}
	\vspace{2cm}
	\begin{block}{\large Děkuji za pozornost}
	\end{block}
\end{frame}

\end{document}
