Builds for NETGEAR WNR1000V2, WNR1000V2-VC, WNR612v2, WPN824N, WNR2000v3, EX2700

Confirmed,

2 Likes

I’d appreciate if anyone with a 100Mb+ WAN connection with 10+ wireless devices could report back on performance, stability, uptime under 19.07, thanks.

1 Like

Hi @jlpapple!
Happy New Year!
Today I flashed a new build with a sysupgrade. All settings are saved but when logging in to the web interface, I get an error:

NetworkError
HTTP error 400 while loading class file "/luci-static/resources/view/status/include/30_network.js?v=git-20.363.65948-e6a5ba7"
  at compileClass (http://192.168.1.1/luci-static/resources/luci.js?v=git-20.363.65948-e6a5ba7:169:16)
  at async Promise.all (index 2)

After resetting, the error persists but is slightly different:

NetworkError
HTTP error 400 while loading class file "/luci-static/resources/view/status/include/40_dhcp.js?v=git-20.363.65948-e6a5ba7"
  at compileClass (http://openwrt.lan/luci-static/resources/luci.js?v=git-20.363.65948-e6a5ba7:169:16)
  at async Promise.all (index 3)

I haven't set it up again yet and it looks like everything is working but it's probably not very good?

Sounds similar to HTTP error 404 while loading class file /luci-static/resources/view.js

1 Like

I wanted to flash the factory image over the top, but got a warning about the HWID mismatch, this is normal?

Went back to build 19.07.4 where there is no problem. I upgraded again to 19.07.5 and got an error:

NetworkError
HTTP error 400 while loading class file "/luci-static/resources/view/status/include/20_memory.js?v=git-20.363.65948-e6a5ba7"
  at compileClass (http://192.168.1.1/luci-static/resources/luci.js?v=git-20.363.65948-e6a5ba7:169:16)

It turns out that the problem is in the build 19.07.5 or in the main repo.

Wireless doesn't show 802.11r Fast Transition (roaming) support under "Wireless Security" like on official builds of OpenWrt. Has this feature been omitted to save space or does this device just not support it?

I am running 19.07.5 on a WNR1000v2.

Hi

I just found this thread. For the same reasons of avoiding unnecessary disposal of perfectly good hardware I run my own builds of OpenWRT on a WN604 so that it can be a wi-fi repeater / extender behind my "bigger" OpenWRT device connecting to my ISP and providing DHCP, firewall, etc.

The WN604 is very simialr to the other devices in this thread, and I use the WNR1000 as the template when adding my device to my local build. Because I only use it as an extender I strip various things like firewall, DHCP, PPP, etc from my builds, and also LUCI as I can do what little configuration (IP config, WDS network, etc) is needed via SSH.

If you want to add the WN604 to your builds I'll send a patch.

1 Like

Shall we consider that the device wpn824v3 will never receive some form (even the minimal one) of OpenWrt release?

1 Like

That's correct.

@jlpapple, could you, please, post the configs you use to build these firmwares? I'd like to get rid of 'ppp' and add a few packages but I cannot get small enough size. I use all the things from Saving firmware space and still get over 4 MB. The smallest size I managed to get was 3.6 MB and it was without LUCI, IPv6, PPPoE when your firmware is 3.5 with all this stuff.
P.S. I have a WNR612.

Hi Lucky, Thanks for reporting this error, although I haven't encountered it with my WNR1000V2-VC with my 19.07.5 build. I reflashed it twice and still didn't see an error.

Thanks for reporting it though, we'll see if it shows up with 19.07.6.

1 Like

Hi IanC, Yes - please send along a patch. Glad you're getting good use out of your WN604. Thanks!

I too use the "Saving firmware space" tips and I've found that changing the " TARGET_SQUASHFS_BLOCK_SIZE" is essential - I currently use 1024 KiB. Don't increase it too much though, as you'll use more RAM. I've found it is getting harder and harder to squeeze basic features into the 19.07.x branch for these devices as the kernel size grows. The latest config I used to build the 19.07.5 images is below. Good luck!

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_tiny=y
CONFIG_TARGET_ar71xx_tiny_DEVICE_REALWNR1000V2=y
# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_DEBUG_FS is not set
# CONFIG_KERNEL_MAGIC_SYSRQ is not set
CONFIG_LUCI_SRCDIET=y
# CONFIG_PACKAGE_MAC80211_DEBUGFS is not set
# CONFIG_PACKAGE_MAC80211_MESH is not set
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_kmod-ledtrig-default-on=y
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
CONFIG_PACKAGE_kmod-ledtrig-netdev=y
CONFIG_PACKAGE_kmod-ledtrig-timer=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
# CONFIG_PACKAGE_libpthread is not set
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-base=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-proto-relay=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
# CONFIG_PACKAGE_openwrt-keyring is not set
# CONFIG_PACKAGE_opkg is not set
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_uhttpd=y
# CONFIG_PACKAGE_usign is not set
# CONFIG_SIGNATURE_CHECK is not set
# CONFIG_SIGNED_PACKAGES is not set
CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_USE_MKLIBS=y

Unsure, although I didn't explicitly disable it.

I've compiled an image for 19.07.6, testing it now on the WNR100v2-VC. If it is stable over the next few days I'll compile images for other devices and upload for everyone.

2 Likes

Hi, @jlpapple !
The new release:

Since there is still no test result of the previous build, can you make a fresh build that I am ready to test on my 612v2?

I'm running a test build of 19.07.7 right now, give me a few more days and if it remains stable I'll post updates for other models. The previous test build of 19.07.6 was solid, too.

1 Like

19.07.7 is now available, link in Post #1.

1 Like

Been a bit busy, but trying to catch up :).This is what I'm using against the current 19.0.7 tree for ath79. Is that what you're targetting?

diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index dd0f91affa3..0c8daa9d7ba 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -84,6 +84,16 @@ glinet,gl-ar300m-lite)
 glinet,gl-x750)
        ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
        ;;
+netgear,wn604)
+       ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
+       ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
+       ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
+       ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
+       ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
+       ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
+       ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
+       ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
+       ;;
 netgear,wnr612-v2|\
 on,n150r)
        ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 5dda551caae..f2a484a4238 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -208,6 +208,9 @@ ath79_setup_interfaces()
                ucidef_set_interface_wan "eth0"
                ucidef_add_switch "switch0" \
                "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
+       netgear,wn604)
+               ucidef_add_switch "switch0" \
+               "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
                ;;
        phicomm,k2t)
                ucidef_add_switch "switch0" \
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 1bdbab79d6a..643109dfc61 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -167,6 +167,7 @@ case "$FIRMWARE" in
        winchannel,wb2000)
                ath9k_eeprom_extract "art" 20480 1088
                ;;
+       netgear,wn604|\
        netgear,wnr612-v2|\
        on,n150r|\
        pcs,cap324|\
diff --git a/target/linux/ath79/image/tiny-netgear.mk b/target/linux/ath79/image/tiny-netgear.mk
index de152990146..6b1f66c0589 100644
--- a/target/linux/ath79/image/tiny-netgear.mk
+++ b/target/linux/ath79/image/tiny-netgear.mk
@@ -2,7 +2,6 @@ include ./common-netgear.mk

 define Device/netgear_ar7240
   ATH_SOC := ar7240
-  NETGEAR_KERNEL_MAGIC := 0x32303631
   KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
   IMAGE_SIZE := 3712k
   IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
@@ -11,6 +10,7 @@ endef

 define Device/netgear_wnr612-v2
   $(Device/netgear_ar7240)
+  NETGEAR_KERNEL_MAGIC := 0x32303631
   DEVICE_TITLE := Netgear WNR612v2
   DEVICE_DTS := ar7240_netgear_wnr612-v2
   NETGEAR_BOARD_ID := REALWNR612V2
@@ -18,8 +18,19 @@ define Device/netgear_wnr612-v2
 endef
 TARGET_DEVICES += netgear_wnr612-v2

+define Device/netgear_wn604
+  $(Device/netgear_ar7240)
+  NETGEAR_KERNEL_MAGIC := 0x31303031
+  DEVICE_TITLE := Netgear WN604
+  DEVICE_DTS := ar7240_netgear_wn604
+  NETGEAR_BOARD_ID := WN604
+  SUPPORTED_DEVICES += wn604
+endef
+TARGET_DEVICES += netgear_wn604
+
 define Device/on_n150r
   $(Device/netgear_ar7240)
+  NETGEAR_KERNEL_MAGIC := 0x32303631
   DEVICE_TITLE := ON Network N150R
   NETGEAR_BOARD_ID := N150R
   SUPPORTED_DEVICES += n150r