GEREAL.CONF(5)
π GEREAL.CONF β the whole vibe π
okay bestie, imagine this is a file format manual (section 5, no cap) and the star of the show is gereal.conf, the configuration file for the gereal serial console manager. yes she's giving infrastructure queen energy π
β¨ SYNOPSIS β¨
/etc/gereal/gereal.conf
that's it. that's the path. iconic. π
πΈ DESCRIPTION πΈ
So gereal.conf is a YAML configuration file, and what it does is describe serial console sessions managed by gereal(8). like, it's literally the blueprint. π¦
It holds two things: the global defaults, and then a list of individual sessions. And for every single session you write down? gereal-generator(8) auto-magically generates a systemd service for it. not you doing it by hand. the generator. we love a delegating moment. β¨
π§ FILE FORMAT π§
Written in YAML, and it's got exactly two top-level keys:
defaultsβ a mapping of default values that get applied to all the sessions, unless a session overrides them. the "everybody wears this unless you say otherwise" section π«Άsessionsβ a list of session definitions. the main characters π
And here's the cute part: both sections can hold the same keys. A key you put in defaults is the default value for that key whenever it's not given in the config of a certain section. so defaults is the fallback bestie π₯Ί
Each entry in sessions describes one serial console session.
Here's every key that's supported:
baudrateβ the baud rate for the serial connection. Mandatory. βdeviceβ path to the serial device (for example,/dev/ttyUSB0). Mandatory.enableβ boolean, says whether the session should be enabled automatically at boot. Default:False. π€groupβ the group under which the session runs. Mandatory.nameβ the logical name of the session. This is the one used to construct the systemd unit name and the screen session name. Mandatory. iykyk πscreenrcβ optional path to a screen configuration file just for this session. Default:/etc/gereal/gereal-<name>if that file exists, otherwise/etc/gereal/screenrcπuserβ the user account under which the session runs. Mandatory.
π EXAMPLE π
here's the moment you've been waiting for, literally:
defaults:
baudrate: 115200
user: _gereal
group: dialout
sessions:
- name: router
device: /dev/ttyUSB0
baudrate: 9600
enable: true
ate. no crumbs. π₯
π«Ά NOTES π«Ά
β οΈ After modifyinggereal.conf, asystemctl daemon-reloadis required to regenerate systemd units. do not skip this step bestie, nothing happens without it π
π If the configured user or group does not exist, the corresponding systemd service will not be generated. it's justβ¦ not gonna show up. so double-check those names fr fr.
π SEE ALSO π
the whole friend group π
β AUTHOR β
Marc Haber <mh+debian-packages@zugschlus.de>
and that's the page!! brought to you by gereal, dated January 2026, manual GEREAL.CONF(5) β slay, bye π β¨π¦
π¦ where this page comes from
- ubuntu stonking: gereal 0.1.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms