Compare commits

...

6 Commits

Author SHA1 Message Date
c3553ccaad
LaTeX: add symlink to ../wifi/mikrotik-config.tex to remind of its existence 2023-01-29 15:28:20 +02:00
df743ab333
.gitignore: duplicate contents from LaTeX/.gitignore
It's useful as a separate file for just LaTeX things reference
2023-01-29 15:20:59 +02:00
a7fc8a99ff
wifi/mikrotik-config.tex: initial commit
I exhausted myself while writing and/or formatting this and consider using LaTeX for this a mistake, while this is probably my most fancy document yet and likely was good practice.
I learned at least that arrows require inline math and how to get table of contents that my other files don't have.
2023-01-29 15:19:42 +02:00
43da4c7d94
radio/FM-Kotka.csv: initial commit 2023-01-29 14:04:08 +02:00
106e005582
update submodule 2023-01-29 14:01:24 +02:00
0ab656ab32
.gitattributes: add *.pdf to git lfs just in case 2023-01-29 12:36:04 +02:00
7 changed files with 447 additions and 1 deletions

1
.gitattributes vendored
View File

@ -1 +1,2 @@
*.png filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text

304
.gitignore vendored
View File

@ -1,2 +1,306 @@
*~ *~
.~*# .~*#
# ---> TeX
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
*.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplot
*.gnuplot
*.table
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.glog
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# newpax
*.newpax
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# svg
svg-inkscape/
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# titletoc
*.ptc
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# xwatermark package
*.xwm
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib

2
LaTeX/.gitignore vendored
View File

@ -1,3 +1,5 @@
mikrotik-config.tex
# ---> TeX # ---> TeX
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:
*.aux *.aux

1
LaTeX/mikrotik-config.tex Symbolic link
View File

@ -0,0 +1 @@
../wifi/mikrotik-config.tex

@ -1 +1 @@
Subproject commit 3edd1d86959762268f117f5f4c22a452ea5f3b19 Subproject commit c4ae62c4b7fa9df6aefe9025d121cea6e1280794

3
radio/FM-Kotka.csv Normal file
View File

@ -0,0 +1,3 @@
Frequency,Name,Location,Note
89.3 MHz,SuomiPOP,,http://suomi.fm/radiokanavat/radio-suomipop/taajuudet
96.9 MHz,,Anjalankoski,
1 Frequency Name Location Note
2 89.3 MHz SuomiPOP http://suomi.fm/radiokanavat/radio-suomipop/taajuudet
3 96.9 MHz Anjalankoski

135
wifi/mikrotik-config.tex Normal file
View File

@ -0,0 +1,135 @@
\documentclass[a4paper,colorlinks,linkcolor=blue]{rapport3}
\usepackage[english]{babel}
\usepackage{noto-serif}
\usepackage{cmap}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{csquotes}
\title{MikroTik configuration}
\author{Aminda Suomalainen}
\date{2023-01-29}
\begin{document}
\hypersetup{urlcolor=blue}
\maketitle
\tableofcontents
\chapter{Introduction}
This file documents how I want my MikroTik devices to be configured.
It doesn't necessarily have to be written in \LaTeX, but I want to practice it.
My wishlist for WiFi APs, that MikroTik doesn't fully comform either, is at:
\url{https://gitea.blesmrt.net/mikaela/gist/src/branch/master/wifi/README.md}
My configuration is mostly based on \url{https://support.apple.com/HT202068} although I disable legacy protocols which it advices keeping enabled for maximum compatibility.
As this document is primarily for my personal use, some sections won't go to further detail.
\chapter{winbox}
WinBox is the MikroTik configuration tool.
It works directly with WINE and can be dropped to \texttt{\$PATH} with \texttt{chmod +rx WinBox64.exe}
\chapter{Quíck set}
\begin{itemize}
\item Network name: same for both, for me ends with \_nomap
\item Frequency: auto
\item Band: 2GHz-only-N, 5GHz-only-AC
\item Guest network: openwireless.org\_nomap
\item Guest WiFi password: empty
\item Limit Download Speed: 8M
\end{itemize}
Limit Download Speed appears to use bits per second or something similar as an unit.
%
An expert has this to say on WiFi bands:
\begin{displayquote}
The problem with enabling the lower spec networks are the broadcasts. Those you shout out with the lowerst spec you have available for the clients.
Those beacons are reserved airtime not only for you, but everyone who hears them too.
\end{displayquote}
This is where Apple disagrees, but they most likely want the most compatibility for end users regardless of their devices, while I don't have active devices that don't support n.
\chapter{IPv6}
To enable IPv6, simply
Select LTE APNs.
\begin{enumerate}
\item navigate to Interfaces $\rightarrow$ LTE (it's a tab) $\rightarrow$ LTE APNs (a button below the tab bar).
\item Doubleclick or add a new APN from the plus symbol.
\item Set \texttt{IPv6 Interface: bridge}
\end{enumerate}
DNS could be canged here too, but "Use Peer DNS" is probably fine when using DoH anyway.
Referr to a later section.
For reference the full configuration here is:
\begin{lstlisting}
Name: Moi
APN: data.moimobile.fi
IP Type: Auto
[x] Use Peer DNS
[ ] Use Network APN
[x] Add Default Route
Default route distance: 2
IPv6 Interface: bridge
Authentication: none
Passthrough Interface: none
\end{lstlisting}
\chapter{DNS over HTTPS}
IP $\rightarrow$ DNS $\rightarrow$ Use DoH server.
WinBox has a Files button where .pem can be uploaded (previously downloaded with Firefox security details, CA tab), that can then be imported from System $\rightarrow$ Certificates.
In Firefox it's best to load the chain and then check that the 90 days certificate doesn't get included.
\chapter{2.4 GHz band}
Doubleclick Interface WLAN1 (and WLAN2) and select the appropiate box (20 MHz).
\chapter{DHCP Lease time}
IP $\rightarrow$ DHCP Server $\rightarrow$ doubleclick defconf (short for default configuration).
\begin{itemize}
\item Default: 00:10:00.
I hope this means 10 hours, but I fear it's HH:MM:SS...
\item New value for SOHO: 08:00:00
\item New value for open: 01:00:00
\end{itemize}
\chapter{5G}
In iOS MikroTik app settings I have navigated to 5G, pressed the cog symbol and set NR bands to 78.
This closes out 28 which is present, I am under impression that it's similar in experience to 4G.
\chapter{DFS}
I have detected that most of my clients refuse to use DFS channels for 5 GHz.
The solution is to disable them.
On MikroTik iOS app:
\begin{enumerate}
\item Select WLAN2 on the main menu.
\item Press the three dots on top.
\item Select advanced mode.
\item Wireless
\item Skip DFS channels
\item All
\end{enumerate}
Note: Skip DFS channels is set to "disabled", my clients avoid 5 GHz.
If it's "10 min CAC", my clients still avoid it.
So it must be disabled, even if those three non-DFS channels are going to be the most busy.
\end{document}