Xiaomi Wifi Router 3G - 19.07.X / feedback and help

Continuing the discussion from Xiaomi Wifi Router 3G - 18.06.X / feedback and help:

This topic is for discussion of general issues of Xiaomi Wifi Router 3G with OpenWrt 19.07.x.

For WiFi issues regarding Xiaomi Wifi Router 3G / OpenWrt 19.07, please see

1 Like

Hello guys,

After installing version 19.07.0 via sysupgrade, I'm trying to install samba4-server but I got this error:

root@OpenWrt:~# opkg install samba4-server
Installing samba4-server (4.11.4-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0/packages/mipsel_24kc/packages/samba4-server_4.11.4-1_mipsel_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for samba4-server:
 *      libc
 * opkg_install_cmd: Cannot install package samba4-server.

Do you know how to fix it ?

Thanks

Do you have a working internet connection on this device?
Try the command ping downloads.openwrt.org

I've just upgraded by keeping existing settings (sysupgrade without -n param). First upgrade attempt failed, with no message, and router rebooted on previous version 18.06.4. Second attempt went fine.

So far, everything seems fine. I've not tested yet WPA3, and according to https://openwrt.org/docs/techref/targets/ath79 the router is not yet compatible with ath79. My router runs several additional packages but nothing fancy (adblock, ddns, iperf3, email, https, usb drive, a bit complex network configuration with several LANs) plus hardware offload.

?
MIR3G is ramips, not ar71xx.

!!! You 100% right. Must me Monday-effect :slight_smile:

Yes, the internet connection is working:

root@OpenWrt:~# ping downloads.openwrt.org
PING downloads.openwrt.org (176.9.48.73): 56 data bytes
64 bytes from 176.9.48.73: seq=0 ttl=53 time=26.626 ms
64 bytes from 176.9.48.73: seq=1 ttl=53 time=26.495 ms
64 bytes from 176.9.48.73: seq=2 ttl=53 time=26.501 ms
64 bytes from 176.9.48.73: seq=3 ttl=53 time=26.467 ms
64 bytes from 176.9.48.73: seq=4 ttl=53 time=26.496 ms
64 bytes from 176.9.48.73: seq=5 ttl=53 time=26.518 ms
64 bytes from 176.9.48.73: seq=6 ttl=53 time=26.460 ms
64 bytes from 176.9.48.73: seq=7 ttl=53 time=26.562 ms
^C
--- downloads.openwrt.org ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 26.460/26.515/26.626 ms

Do you see the package libc with opkg list-installed?

curiously, I see nothing with opkg list-installed:

root@OpenWrt:~# opkg list-installed
root@OpenWrt:~#

but I see it in Luci installed packages list

I've found the solution! There was an error in my opkg.conf file, a reference to unexisting folder...

Thanks for your help @juppin

2 Likes

Have you installed trough bin, not tar?

The bin and tar files are the same... There was a unification of the file ending, but it´s still a tar file.

1 Like

It's my main rooter and I'm little bit afraid to upgrade. I have read that some routers require tar and that you can brick them with bin

If you doesn't have a backup device, you should prepare you for using serial console to boot the initram image with the uboot boot menu option 1 and flash from there the sysupgrade image.

Only for the case that something goes wrong and you will be left without a working internet connection.

I've done the initial flashing with the above described procedure, so I'm prepared already for such cases... Despite, I've some other backup devices laying around.

1 Like

Is there detailed procedure to flash with serial? I have only found some partial information about this on forum. I have RPi that I can use to flash over serial.

Maybe you find something in the wiki?
https://openwrt.org/toh/xiaomi/mir3g

It's not that hard to flash with sysupgrade from a temporarily (with u-boot option 1) booted initram image.
I think this is the easiest flashing procedure if you have a serial pin header soldered.
Probably you (@liners) can add this info into the wiki page.

If I ever need to access serial console I will create step by step guide.

I'm just trying to be prepared for everything that can happen. Tnx a lot for all the answers

1 Like

I have updated trough sysupgrade from 18.06.4 to 19.07.0 without any problems. It seems as stable release.