OpenWrt 19.07.0 first release candidate

hello everyone,

I am having issue to get msmtp to work, unable to send mail.
Is anyone else have issue with msmtp on 19.07?

wireguard related ping issue - command line v/s luci:
I can ping a device at the remote site via luci interface with 0 packet lost BUT 100% packet lost via commandline ping

LAN and WAN ping replies from both luci and commandline good though

"Sysupgrade from ar71xx to ath79 and vice versa is not officially supported, a full manual reinstall is recommended to switch targets for devices supported by both ar71xx and ath79"

"A full manual reinstall" on ar71xx router? How to?

2 Likes

As easy as

# sysupgrade -n $ath79_firmware_sysupgrade_binary

If sysupgrade complains about an unsupported device, and you're sure you have the right one, add -F to the command. Make sure you have the correct sysupgrade (not factory!) binary though, since -F will force it.

2 Likes

Hello and thanks. I managed to have my routers working with rc1 BUT sometimes the log reports:

Wed Nov 20 21:01:50 2019 daemon.info dnscrypt-proxy[2173]: dnscrypt-proxy Refetching server certificates
Wed Nov 20 21:02:05 2019 daemon.err dnscrypt-proxy[2173]: dnscrypt-proxy Unable to retrieve server certificates

When this happens I'm unable to pass https://www.cloudflare.com/ssl/encrypted-sni/
the router fails the SecureDNS test.
I started from factory image, then I installed in this order: wget ca-certificates luci-ssl dnscrypt-proxy getdns adblock luci-app-adblock stubby
It always worked without problems in other versions... Any ideas?
Thanks

You probably should search on the DNSCrypt issue and open a new thread if you don’t find answers

Is the wifi bug fixed in wrt1900 acs v2 in this release?

reporting this problem on this device
"TL-MR3020 V1"

downloaded and istalled this file tplink_tl-mr3020-v1-initramfs-kernel.bin 43053f642848579928005c77f4c6d334e54ca0679384fcd3c44f815ab1fe7dbe

Exactly that is your problem, initramfs images are exactly that, RAM booted images that won't allow saving the overlay to flash, they mustn't be flashed to your device (and doing so comes with a huge potential of permanently damaging your device, by overwriting crucial data (e.g. wireless calibration data/ ART). You can only use factory (when coming from the OEM environment) or sysupgrade image (when flashed from a running OpenWrt) for flashing.

The problem here is that there are no factory/ sysupgrade images created for the mr3020 in 19.07.0-rc1, because the resulting image already got too large to fit at all, leaving only initramfs images (RAM booted, so the flash size limits don't apply - but that also increases the risk of damage when trying to flash these oversized images) on the server.

2 Likes

okay understood,

What kind of bug?

Development of the wifi drivers for this series of routers has been stale for many months.

19.07 on WDR3600 runs extremely well. I did a clean sysupgrade from 18.06 and switched to ath79. Everything's fine. I didn't know that I can create three wifi networks :slight_smile: (one 2,4 GHz and two 5 GHz).

1 Like

Sorry, there is a bug. Configuration is lost when turn off. Same thing happens with all version of version 18. It works with 17.01.7.

Not surprising as it is a 4/32 device probably simply out of space.

3 Likes

Hello. 19.07 has squid with logs and OpenSSL updated. Thanks for that and many other improvements like WPA3, new luci interface.
Western Digital MyBook Live Single though has no iptables support.

root@OpenWrt:~# iptables -L
iptables v1.8.3 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

https://downloads.openwrt.org/releases/19.07.0-rc1/targets/apm821xx/sata/openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-ext4-sysupgrade.img.gz
Thanks.

Squashfs images for the MyBook Live has other issue.

gdisk openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-squashfs-sysupgrade.img

Warning: File size is not a multiple of 512 bytes! Misbehavior is likely!

Number Start (sector) End (sector) Size Code Name
1 8192 24575 8.0 MiB 8300 Linux filesystem
2 32768 557055 256.0 MiB 8300 Linux filesystem

Warning! Secondary partition table overlaps the last partition by
519073 blocks!

When I try to mount second partiton with

sudo mount -o loop,offset=$((32768*512)) /openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-squashfs-sysupgrade.img /mnt

mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

Thank you.

Can you please show the output of the following commands?

df -h
mount

Hello. Thank you for your awesome work! 19.07 is going to be a very nice release.

I had some problem installing 19.07.0-rc1 on TP-Link WR902AC v1. The platform is ar71xx since there's no choice. I've used LuCI to install an update (sysupgrade image), and told to erase settings. After flashing the device, the router refused to boot, blinking all it's LEDs every 10 or 20 seconds. I have checked sha256sum of the image, and it was OK. To debrick my device, I followed the TFTP instruction. After flashing 19.07 factory image using this method, the router started, but was dropping the settings each time I've done a reboot. I have tried to flash the sysupgrade image again, but the result was the same, the router became bricked. Also, there were some errors when I was trying to install a package:

root@OpenWrt:~# opkg install /tmp/kmod-usb-net-rtl8152_4.14.151-1_mips_24kc.ipk 
Upgrading kmod-usb-net-rtl8152 on root from 4.9.120-1 to 4.14.151-1...
Collected errors:
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/kmod-usb-net-asix-ax88179.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/kmod-ath10k.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libiwinfo.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libuci.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/liblua.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libip4tc.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libuclient.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libjson-c.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libgcc.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/travelmate.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libip6tc.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libubox.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/liblucihttp.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/ath10k-firmware-qca9887.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libubus.list: No such file or directory.
 * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libxtables.list: No such file or directory.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-rtl8152:
 *      kernel (= 4.14.151-1-342af9e4f67b3447c53216ab8e3b12a1)
 * opkg_install_cmd: Cannot install package kmod-usb-net-rtl8152.

Also, what's the status of TP-Link MR3420 v2? This router is available in make menuconfig list, but there are no prebuilt images.