summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/hostapd/appliance/hostname.sample1
-rw-r--r--etc/wpa_supplicant/appliance/hostname.sample1
-rw-r--r--man/wifibox-alpine.514
3 files changed, 15 insertions, 1 deletions
diff --git a/etc/hostapd/appliance/hostname.sample b/etc/hostapd/appliance/hostname.sample
new file mode 100644
index 0000000..66eb8bf
--- /dev/null
+++ b/etc/hostapd/appliance/hostname.sample
@@ -0,0 +1 @@
+wifibox
diff --git a/etc/wpa_supplicant/appliance/hostname.sample b/etc/wpa_supplicant/appliance/hostname.sample
new file mode 100644
index 0000000..66eb8bf
--- /dev/null
+++ b/etc/wpa_supplicant/appliance/hostname.sample
@@ -0,0 +1 @@
+wifibox
diff --git a/man/wifibox-alpine.5 b/man/wifibox-alpine.5
index 205522c..a5385aa 100644
--- a/man/wifibox-alpine.5
+++ b/man/wifibox-alpine.5
@@ -1,4 +1,4 @@
-.Dd September 17, 2022
+.Dd October 30, 2022
.Dt WIFIBOX-ALPINE 5
.Os
.Sh NAME
@@ -93,6 +93,13 @@ system for the same purpose, and their Linux version is utilized here
to make it possible to reuse the configuration files of the same
format from the host.
.It
+.Sy hostname
+sets the hostname on boot from the
+.Pa applicance/hostname
+file. This is the name that is going to be visible for others on the
+local network. Changing the hostname requires updating this file and
+restarting the guest.
+.It
.Sy ifup
and
.Sy ifdown
@@ -164,6 +171,11 @@ directory where the
are hooked up in the system in the following ways.
.Bl -bullet
.It
+.Pa /media/etc/hostname
+is mapped to
+.Pa /etc/hostname
+and used verbatim.
+.It
.Pa /media/etc/interfaces.conf
is directly included as part of
.Pa /etc/network/interfaces