Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend support to latest Debian distros (non-RPi OS) #1354

Merged
merged 7 commits into from
Aug 1, 2023

Conversation

billz
Copy link
Member

@billz billz commented Jun 2, 2023

To include:

Status Distro Release Support
complete Armbian 23.05 (Suni) official
complete Debian 12 (bookworm) beta
complete Ubuntu Server 23.04 (Lunar Lobster) beta

https://docs.raspap.com/#compatible-operating-systems

@billz
Copy link
Member Author

billz commented Jun 2, 2023

Debian 12 setup notes, applies to RPi 3B+. The following will update the kernel to the latest 6.1 release and fix various missing package / locale errors:

apt update
apt full-upgrade
apt-install sudo
vim /etc/hosts <-- add: 127.0.0.1  [hostname]
apt install locales
dpkg-reconfigure locales
reboot

after full-upgrade:

uname -a
Linux rpi3-20230102 6.1.0-9-arm64 #1 SMP Debian 6.1.27-1 (2023-05-08) aarch64 GNU/Linux

See https://raspi.debian.net/tested-images/

@billz billz added this to the Latest Debian distros milestone Jun 4, 2023
@billz billz linked an issue Jun 4, 2023 that may be closed by this pull request
@billz
Copy link
Member Author

billz commented Jun 4, 2023

Stable install with Ubuntu 23.04, with important pre- and post-install steps. RaspAP's installer will prompt to stop and disable systemd-resolved consuming port 53 before installing dnsmasq (works fine with other distros). On Ubuntu Lunar this causes an immediate name resolution failure and the installation cannot continue. Steps to fix:

  1. Stop systemd-resolved: sudo systemctl stop systemd-resolved.service
  2. Edit the systemd-resolved config file: sudo vim /etc/systemd/resolved.conf, un-hash and specify DNS=9.9.9.9 (for example) and set DNSStubListener=no
  3. Symlink /etc/resolv.conf: sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
  4. Proceed with RaspAP install as normal. Disable systemd services when prompted

Post-install: dnsmasq will report errors such as "config error is REFUSED (EDE: not ready)". DNS 'A' record queries will fail and the AP will not be usable for clients. Fix with:

  1. sudo vim /etc/default/dnsmasq and un-hash IGNORE_RESOLVCONF=yes
  2. Restart dnsmasq

Rather than have the installer muck with these system settings, I'm considering adding a doc link for this distro.

@billz
Copy link
Member Author

billz commented Aug 1, 2023

Good to merge. Thanks to the RaspAP community for their help testing this!

@billz billz merged commit 41445b1 into master Aug 1, 2023
@billz billz deleted the maint/debian12-distros branch August 1, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add support for Debian/Armbian Bookworm
1 participant