Raspberry Pi 4 released

Hi,

Because you are running master snapshots and you do not seem to require specific patches, it will be easier for you to use imagebuilder. It will be quicker everytime you update your system. So, this is basically what I do nowadays with my RPi4 which is acting as my household main Internet gateway and router.

  1. I create a backup with sysupgrade -k -b openwrt-rpi4.tar.gz —this gets me all modified files and a list of the installed packages.
  2. I save it and untar it in files_to_include directory inside my machine's Image Builder directory with tar vxfz openwrt-rpi4.tar.gz files_to_include/
  3. I use files_to_include/etc/backup/installed_packages.txt to create a file that I pass as an argument to the build parameters with cat files_to_include/etc/backup/installed_packages.txt | awk '{print $1}' | xargs > packages_to_include
  4. I use all these as parameters for the build: make image PACKAGES="$(cat packages_to_include)" FILES=files_to_include/ DISABLED_SERVICES="adblock banip sqm"

This save me a lot of time and I reckon it can be mostly scripted if you want to, in the end is just 1) download latest image builder, 2) get running openwrt config backup, 3) process backup, and 4) launch the builder.

In regard to your WAN interface, swap them, I ended up using the internal NIC as the WAN interface and the USB3 NIC (using an AX88179 chipset for now, looks like my UE300 will be in a drawer till drivers get fixed) as the LAN interface. If you are afraid of loosing connectivity with your Pi, just enable your WLAN interface for admin purposes, otherwise you can use a serial console connection, it will come handy in some situations.

Kind regards.

3 Likes