AR300M16 connection issues under version 4.3.7

Hi guys,

After searching I came to no answer to my issue. Perhaps someone has some answers or has similar issues.

FCCID               2AFIW-AR300M.
Hostname			GL-AR300M
Model				GL.iNet GL-AR300M (NOR)
Architecture		Qualcomm Atheros QCA9533 ver 2 rev 0
Target Platform		ath79/nand
Firmware Version	OpenWrt 22.03.4 r20123-38ccc47687 / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a
Kernel Version		5.10.176

Stable 4.3.7
Dynamic IP
Connection sequence: Hotspot --> GL-inet router --> personal devices(laptop/mobile)
  • Since I am on 16mb NOR…Which are removable packages to save space? How to list package by sizes in Web GUI or LUCI

  • How to switch to NAND for 128MB. Confusingly in Luci → System I see NOR at model and nand at target platform? I tried the Dip switch method in Uboot without succes. Will try again. I came to this topic here, but it is quite daunting and for me requires guidance tips.

  • Repeater STA is working under Version: 3.216, but not working under Version: 4.3.7. Also tried other Network Modes without succes.
    I ugradeded GL-inet firmware with downloads from here. I tried the upgrade both in U-Boot and Web GUI without success. Please see logs below with redacted MAC adresses

Before you ask I upgraded U-boot.

Thu Dec 14 13:33:28 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:29 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:29 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:29 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:29 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:33:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:610) shutdown wlan-sta0
Thu Dec 14 13:33:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:654) disconnected actively
Thu Dec 14 13:33:40 2023 daemon.notice netifd: radio0 (27935): Command failed: ubus call wpa_supplicant config_remove {"iface":"wlan-sta0"} (Invalid argument)
Thu Dec 14 13:33:40 2023 daemon.notice netifd: radio0 (27935): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:33:40 2023 daemon.notice netifd: radio0 (27935):
Thu Dec 14 13:33:41 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:33:42 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:33:57 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:33:58 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:34:39 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1483) new scan task...
Thu Dec 14 13:34:39 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1495) Scan starting...
Thu Dec 14 13:34:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1637) .tmp.phy0.sta0: scan...
Thu Dec 14 13:34:45 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1675) .tmp.phy0.sta0: found 8 networks
Thu Dec 14 13:34:45 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1538) scan finished
Thu Dec 14 13:34:47 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:897) Switching...
Thu Dec 14 13:34:47 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1360) prepare connect 'Myspot*"€#(00:00:00:00:00:00)', WPA2 PSK (CCMP) channel 11
Thu Dec 14 13:34:47 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1458) connecting 'Myspot*"€# 00:00:00:00:00:00'...
Thu Dec 14 13:34:47 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): sh: out of range
Thu Dec 14 13:34:49 2023 daemon.err wpa_supplicant[2573]: Line 6: failed to parse ssid '"MySpot*"€'.
Thu Dec 14 13:34:49 2023 daemon.err wpa_supplicant[2573]: Line 6: failed to parse ssid '"MySpot*"€'.
Thu Dec 14 13:34:49 2023 daemon.err wpa_supplicant[2573]: Line 11: failed to parse network block.
Thu Dec 14 13:34:49 2023 daemon.err wpa_supplicant[2573]: Failed to read or parse configuration '/var/run/wpa_supplicant-wlan-sta0.conf'.
Thu Dec 14 13:34:49 2023 daemon.notice wpa_supplicant[2573]: : CTRL-EVENT-DSCP-POLICY clear_all
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Command failed: ubus call wpa_supplicant config_add { 		"driver": "nl80211", "ctrl": "/var/run/wpa_supplicant", 		"iface": "wlan-sta0", "config": "/var/run/wpa_supplicant-wlan-sta0.conf" 		 		 		} (Invalid argument)
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018):
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Interface 0 setup failed: WPA_SUPPLICANT_FAILED
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Failed to parse json data: unexpected end of data
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Command failed: ubus call network.wireless notify { "command": 2, "device": "radio0", "data": { "pid": 0, "exe": "\/usr\/sbin\/wpad", "required": true, "keep": true } } (Invalid argument)
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:34:49 2023 daemon.notice netifd: radio0 (29018):
Thu Dec 14 13:34:49 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:34:50 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:50 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:50 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:58 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:59 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:59 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:34:59 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:35:04 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:35:04 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:35:04 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:35:04 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:610) shutdown wlan-sta0
Thu Dec 14 13:35:04 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:654) disconnected actively
Thu Dec 14 13:35:05 2023 daemon.notice netifd: radio0 (29396): Command failed: ubus call wpa_supplicant config_remove {"iface":"wlan-sta0"} (Invalid argument)
Thu Dec 14 13:35:05 2023 daemon.notice netifd: radio0 (29396): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:35:05 2023 daemon.notice netifd: radio0 (29396):
Thu Dec 14 13:35:05 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:35:07 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:35:15 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:35:16 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:35:31 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1483) new scan task...
Thu Dec 14 13:35:31 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1495) Scan starting...
Thu Dec 14 13:35:32 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1637) .tmp.phy0.sta0: scan...
Thu Dec 14 13:35:37 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1675) .tmp.phy0.sta0: found 4 networks
Thu Dec 14 13:35:37 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1538) scan finished
Thu Dec 14 13:35:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:897) Switching...
Thu Dec 14 13:35:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1360) prepare connect 'MySpot*"€#(00:00:00:00:00:00)', WPA2 PSK (CCMP) channel 11
Thu Dec 14 13:35:40 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:1458) connecting 'MySpot*"€# 00:00:00:00:00:00'...
Thu Dec 14 13:35:40 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): sh: out of range
Thu Dec 14 13:35:42 2023 daemon.err wpa_supplicant[2573]: Line 6: failed to parse ssid '"MySpot*"€'.
Thu Dec 14 13:35:42 2023 daemon.err wpa_supplicant[2573]: Line 6: failed to parse ssid '"MySpot*"€'.
Thu Dec 14 13:35:42 2023 daemon.err wpa_supplicant[2573]: Line 11: failed to parse network block.
Thu Dec 14 13:35:42 2023 daemon.err wpa_supplicant[2573]: Failed to read or parse configuration '/var/run/wpa_supplicant-wlan-sta0.conf'.
Thu Dec 14 13:35:42 2023 daemon.notice wpa_supplicant[2573]: : CTRL-EVENT-DSCP-POLICY clear_all
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Command failed: ubus call wpa_supplicant config_add { 		"driver": "nl80211", "ctrl": "/var/run/wpa_supplicant", 		"iface": "wlan-sta0", "config": "/var/run/wpa_supplicant-wlan-sta0.conf" 		 		 		} (Invalid argument)
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117):
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Interface 0 setup failed: WPA_SUPPLICANT_FAILED
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Failed to parse json data: unexpected end of data
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Command failed: ubus call network.wireless notify { "command": 2, "device": "radio0", "data": { "pid": 0, "exe": "\/usr\/sbin\/wpad", "required": true, "keep": true } } (Invalid argument)
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:35:42 2023 daemon.notice netifd: radio0 (30117):
Thu Dec 14 13:35:42 2023 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Dec 14 13:36:10 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:10 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:10 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:524) wait wpa_supplicant run...
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:610) shutdown wlan-sta0
Thu Dec 14 13:36:11 2023 daemon.info lua: (...07/ipkg-mips_24kc/gl-sdk4-repeater/usr/sbin/repeater:654) disconnected actively
Thu Dec 14 13:36:12 2023 daemon.notice netifd: radio0 (30681): Command failed: ubus call wpa_supplicant config_remove {"iface":"wlan-sta0"} (Invalid argument)
Thu Dec 14 13:36:12 2023 daemon.notice netifd: radio0 (30681): Usage: ubus [<options>] <command> [arguments...]
Thu Dec 14 13:36:12 2023 daemon.notice netifd: radio0 (30681):
Thu Dec 14 13:36:12 2023 daemon.notice netifd: Wireless device 'radio0' is now down
Thu Dec 14 13:36:13 2023 daemon.notice netifd: Wireless device 'radio0' is now up

LuCI → System → Software → Software → Installed

opkg list-installed

Reset to stock. Grab your fastest USB2.0 stick:


  • How to switch to NAND for 128MB. Confusingly in Luci → System I see NOR at model and nand at target platform? I tried the Dip switch method in Uboot without succes. Will try again. I came to this topic here, but it is quite daunting and for me requires guidance tips.

From above quote to switch to NAND: Which file from here do I need to flash in u-boot ? I can confirm file openwrt-23.05.2-ath79-nand-glinet_gl-ar300m-nand-squashfs-factory did not work and remains in NOR.

From there follow below steps for U-Boot:

  1. Poweroff, connect Ethernet cable, press hold reset, power up (by power cable)
  2. In uboot enable DIP switch
  3. Do step 1 again and switch button to left
  4. select file to NAND flash

I did these approximate steps few times without succes. So I assume I am using the wrong file

I promptly wrote a tutorial for the benefit of others to the guide Extroot configuration for extra USB storage for router. To expand your firmware’s space (to install more packages) follow steps below

  1. Revert to stock firmware from Web GUI under More settings → Revert Firmware

  2. If there is no space left on Router memory choose packages that are good candidates for removal: My choices were ntfs3, ntfs3-utils, kmod-fs-ntfs, gl-tertf

  3. SSH to router:

    ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.8.1    
    
  4. Install required packages:

    opkg install block-mount kmod-fs-ext4 e2fsprogs parted
    
    • NOTE: If error was given on parted (missing package), then perform step 5 below beforehand on linux host (before SSH into router)
  5. Partition and format USB

    DISK="/dev/sda"
    parted -s ${DISK} -- mklabel gpt mkpart extroot 2048s -2048s
    DEVICE="${DISK}1"
    mkfs.ext4 -L extroot ${DEVICE}
    
  6. Configuring extroot

    eval $(block info ${DEVICE} | grep -o -e 'UUID="\S*"')
    eval $(block info | grep -o -e 'MOUNT="\S*/overlay"')
    uci -q delete fstab.extroot
    uci set fstab.extroot="mount"
    uci set fstab.extroot.uuid="${UUID}"
    uci set fstab.extroot.target="${MOUNT}"
    uci commit fstab
    
  7. Transferring data

    mount ${DEVICE} /mnt
    tar -C ${MOUNT} -cvf - . | tar -C /mnt -xf -
    
  8. Configuring rootfs_data / ubifs

    DEVICE="$(block info | sed -n -e '/MOUNT="\S*\/overlay"/s/:\s.*$//p')"
    uci -q delete fstab.rwm
    uci set fstab.rwm="mount"
    uci set fstab.rwm.device="${DEVICE}"
    uci set fstab.rwm.target="/rwm"
    uci commit fstab
    
  9. Re-install deleted packages from step 2 and many more packages

I really would prefer help on the rest of my questions:

  1. My NAND question here
  2. And my connection issue on version 4.3.7 posted here:

Repeater STA is working under Version: 3.216, but not working under Version: 4.3.7. Also tried other Network Modes without succes. I ugradeded GL-inet firmware with downloads from here. I tried the upgrade both in U-Boot and Web GUI without success. Please see logs below with redacted MAC adresses

I refrain to update to 4.3.7 again out of fear for connection issues. I posted the logs, can anyone please assist troubleshoot please