.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "comitup-conf" "5" "July 2021" "" "" .hy .SH NAME .PP comitup.conf \- Comitup configuration file format .SS DESCRIPTION .PP The \f[I]comitup.conf\f[R] file configures the wifi management service comitup(8). It is located in the \f[I]/etc/\f[R] directory. .SS PARAMETERS .IP \[bu] 2 \f[I]ap_name\f[R]: By default, comitup will create a hotspot named \f[B]comitup-\f[R], publish an avahi-daemon(8) host entry for \f[B]comitup-\f[R], and establish an mdns identity for \f[B]comitup-.local\f[R]. Setting this parameter will change the \f[B]comitup\f[R] string with one of the users choosing. If the configuration variable contains an string, with between one and four \[lq]n\[cq]s\[rq], it will be replaced with a persistent, random number. Similarly, the string is replaced with the computer\[cq]s hostname. .RS 2 .PP For the Avahi Service Discovery publication to work correctly, the name should be ASCII, with no special characters or white space. .RE .IP \[bu] 2 \f[I]ap_password\f[R]: If this parameter is defined in the configuration file, then the comitup hotspot will require that any connection to the hotspot be authenticated, using this password. .IP \[bu] 2 \f[I]web_service\f[R]: This defines a user web service to be controlled by \f[B]comitup\f[R]. This service will be disabled in the \f[B]HOTSPOT\f[R] state in preference of the comitup web service, and will be enabled in the \f[B]CONNECTED\f[R] state. This should be the name of the systemd web service, such as \f[I]apache2.service\f[R] or \f[I]nginx.service\f[R]. This defaults to a null string, meaning no service is controlled. .IP \[bu] 2 \f[I]service_name\f[R]: This defines the mdns service name advertised by \f[B]comitup\f[R]. This defaults to \[lq]comitup\[rq], and will be advertised as \[lq]_comitup._tcp\[rq]. .IP \[bu] 2 \f[I]enable_appliance_mode\f[R]: By default, comitup will use multiple wifi interfaces, if available, to connect to the local hotspot and to the internet simultaneously. Setting this to something other than \[lq]true\[rq] will limit comitup to the first wifi interface. .IP \[bu] 2 \f[I]external_callback\f[R]: .RS 2 .PP The path to an external script that is called on comitup state changes. It will include a single argument, either `HOTSPOT', `CONNECTING', or `CONNECTED'. The script will run as the owning user and group. .RE .IP \[bu] 2 \f[I]primary_wifi_device\f[R]; .RS 2 .PP Override the default choice for the primary WiFi device to use. .RE .IP \[bu] 2 \f[I]verbose\f[R]: .RS 2 .PP Set to `1' (or `yes' or `true') to enable more verbose logging. .RE .IP \[bu] 2 \f[I]enable_nuke\f[R]: .RS 2 .PP Set to `1' (or `yes' or `true') to enable a hardware-based factory reset function. This will cause all WiFi connection settings to be deleted. On a Raspberry Pi, short out pins 39 and 40 on the GPIO header for three seconds to invoke. The green LED will flash three times to indicate success. .PP This capability is also availble via \f[I]comitup-cli\f[R] and the D-BUS interface. .RE .IP \[bu] 2 \f[I]ipv6_link_local\f[R]; .RS 2 .PP Set to `1' to force Comitup to create only \[lq]link-local\[rq] IPv6 addresses for the upstream WiFi connection, affording a higher level of protection for that link. \[lq]link-local\[rq] addresses cannot route to the Internet. Delete existing connections after changing the value of this parameter. .RE .SS COPYRIGHT .PP Comitup is Copyright (C) 2016-2021 David Steele .SS SEE ALSO .PP comitup(8), comitup-cli(1), comitup-web(8)