Skip to content

Commit

Permalink
A few minor updates to BaseInstall and WiFiAP.md
Browse files Browse the repository at this point in the history
  • Loading branch information
haukex committed Dec 13, 2023
1 parent e7aafce commit 7c42cf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions BaseInstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Basic Setup
the rest of the space on the SD card, label it e.g. `data`
(at least that's what the rest of these instructions assume).

3. The rest of this prodecure after booting is covered below.
3. The rest of this procedure after booting is covered below.

2. **At First Boot Procedures**

Expand Down Expand Up @@ -96,6 +96,7 @@ Basic Setup

4. `sudo apt-get install --no-install-recommends aptitude ufw vim git screen moreutils minicom ntpdate socat lsof tshark dnsutils elinks lftp jq zip tofrodos proxychains4 build-essential cpanminus liblocal-lib-perl perl-doc python3-pip python3-dev`
(these are my preferred tools on top of the Lite edition, you may modify this as you like)
- Note: The installation of `tshark` will ask whether non-superusers should be able to capture packets, I usually say yes

5. Misc.

Expand Down Expand Up @@ -214,7 +215,8 @@ Basic Setup
sudo mkdir -v /data
echo "PARTUUID=$(lsblk -no PARTUUID /dev/disk/by-label/data) /data ext4 defaults,noatime 0 2" | sudo tee -a /etc/fstab
cat /etc/fstab # double-check to make sure it looks right
sudo reboot
sudo systemctl daemon-reload
sudo mount /data

*Note:* Depending on the data being written, you may also want to add
`sync` to the mount options for a little bit more protection against
Expand All @@ -241,7 +243,7 @@ Basic Setup
also gets overlayed, and `raspi-config` does not support corresponding options
(see also <https://github.com/RPi-Distro/raspi-config/pull/225>).
For now, as a workaround, apply `raspi-config_overlayroot.patch` from this repository.
For example, over a remote connection, `sudo patch -d/ -r- -p0` and then paste the patch into the terminal (Ctrl-D after).
For example, over a remote connection, `sudo patch -r- -d/ -p0` and then paste the patch into the terminal (Ctrl-D after).
Note the patch needs to be reapplied when `raspi-config` gets updated!

5. Later, after completing the installation, you can enable the "Overlay File System"
Expand Down
3 changes: 2 additions & 1 deletion WiFiAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ and tested on the new Bookworm-based Raspberry Pi OS Lite.
sudo ufw allow DNS
sudo ufw allow from any port 68 to any port 67 proto udp comment DHCP

- To set up and enable the WiFi AP:
- To set up and enable the WiFi AP, do the following. (Note: if you're currently connected to the RPi
via WiFi, the first command will immediately start up the AP and kill your connection.)

sudo nmcli device wifi hotspot con-name Hotspot ssid <SSID> password <Password>
sudo nmcli connection modify Hotspot ipv4.addresses 192.168.42.1/24 \
Expand Down

0 comments on commit 7c42cf3

Please sign in to comment.