Nanostation Loco 5AC loses settings upon reboot

I've been struggling with my nanostation - turns out it seems the overlay fs is 100% full which is causing a host of problems, including losing settings upon each reboot. It is this way from a fresh firmware flash. Here are the details so hopefully someone can help figure out a fix:

root@OpenWrt:~# ubus call system board
{
        "kernel": "5.15.134",
        "hostname": "OpenWrt",
        "system": "Atheros AR9342 rev 3",
        "model": "Ubiquiti Nanostation AC loco (WA)",
        "board_name": "ubnt,nanostation-ac-loco",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.0",
                "revision": "r23497-6637af95aa",
                "target": "ath79/generic",
                "description": "OpenWrt 23.05.0 r23497-6637af95aa"
        }
}
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    27.9M     76.0K     27.8M   0% /tmp
/dev/mtdblock5            9.3M      9.3M         0 100% /overlay
tmpfs                    27.9M     84.0K     27.8M   0% /tmp/root
overlayfs:/tmp/root      27.9M     84.0K     27.8M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock5 on /overlay type jffs2 (rw,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)

the memory loss is a bug, downgrade to 22.03, or use snapshots.

Thank you - I did not stumble upon that post when digging for info. I'll give that a shot.

yup, just like the info from @mk24 said.

Sorry, just saw the solution on the post you previously sent and tried to delete my previous post before anyone saw it LOL...

I'm having the same problem. And I can't find the 22.03.6 v. with the pacht " ath79: update WA/XC devices UBNT_VERSION to 8.7.4". When I try to upload the available 22.03.6 v. firmware it fails...

Does anyone know where I can find a compatible and working firmware for the NS 5AC Loco?
Is there any way I can force the installation of the existing 22.03.6 v or I have manually compile ?

Link to the refer pacht:
https://github.com/openwrt/openwrt/pull/14622/files with the message ailes because
:pray: :pray: :pray:

we can't work with "it doesn't work" ...

My solution to installing a stable version of OpenWrt (23.05.3) was to adapt and self compile the firmware on GitHub (some one alse in the forum indicates this solution). If you dont have GitHub you can compile in your computer.
I'm sure this can be optimized, but I'm noob, I hope It helps.

  1. Make a config file on your computer following this tutorial: OpenWrt Building System

  2. Create a new repository in Github and then copy the .config file that you have created from your computer to the root of the repository.

  3. In the repository folder ./github/workflows create a new yml file with the following commands:

    name: Build OpenWrt
    
    on:
      push:
        branches:
          - main
      pull_request:
        branches:
          - main
    
    jobs:
      build:
        runs-on: ubuntu-latest
    
        steps:
        - name: Checkout code
          uses: actions/checkout@v2
    
        - name: Set up build dependencies
          run: |
            sudo apt-get update
            sudo apt-get install -y build-essential libncurses5-dev gawk git gettext libssl-dev xsltproc zlib1g-dev file wget
            sudo apt-get install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev python3-setuptools rsync swig unzip zlib1g-dev file wget
    
    
        - name: Clone OpenWrt source code
          run: |
            git clone https://git.openwrt.org/openwrt/openwrt.git
            cd openwrt
            git checkout v23.05.3
            ./scripts/feeds update -a
            ./scripts/feeds install -a
    
        - name: Update UBNT_VERSION in common-ubnt.mk
          run: |
            cd openwrt
            sed -i 's/UBNT_VERSION := 8.5.3/UBNT_VERSION := 8.7.4/g' target/linux/ath79/image/common-ubnt.mk
          
        - name: Copy custom .config
          run: |
            rm -f openwrt/.config
            cp .config openwrt/.config
            
        - name: Build OpenWrt
          run: |
            cd openwrt
            make -j$(nproc) V=s
    
        - name: Upload firmware
          uses: actions/upload-artifact@v2
          with:
            name: openwrt-nanostation-ac-loco-firmware
            path: openwrt/bin/targets/
    
  4. Run the job on GitHub, and after finishing the compilation (takes around 1 hour and 30 minutes), downloading the zip file, extract the files, and install the Openwrt firmware as indicated on this website.

  5. Update and install luci and other packages that you need.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.