Xiaomi WiFi Router 3G

hi!

sorry , i have exactly same issue. I have upgraded my xiaomi 3g from here with sysupgrade:

https://downloads.lede-project.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mir3g-squashfs-sysupgrade.tar

and when i try to install samba i got following error:

Installing luci-app-samba (git-18.047.57952-461df8b-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci/luci-app-samba_git-18.047.57952-461df8b-1_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-samba:
 * 	samba36-server * 
 * opkg_install_cmd: Cannot install package luci-app-samba.

and:

opkg install samba36*
Unknown package 'samba36*'.
Collected errors:
 * opkg_install_cmd: Cannot install package samba36*.

Yes, because many packages still missing for mipsel_24kc. For example, OpenVPN.

Hello everyone, thank you very much in advance

Sorry for my english but I'm using google translate

I have connected a 3.0 usb disk formatted in ext4 to the usb port of the router, I am doing tests on sftp but I have very bad data transfer, the maximum that achievement is 2.1 MB / Sec. connected over the 5 GB network

That same disk I connect to another computer on the same network and achieve speeds close to 10 MB / Sec

I have loaded the modules kmod-usb3, kmod-usb-core, kmod-usb-ledtrig-usbport, kmod-usb-storage, kmod-usb-storage-uas, kmod-usb3

Can someone tell me if the transfer works on a USB 3.0 disk connected directly to the router's USB?

OpenWrt SNAPSHOT r6223-3cb3836

Thank you

HeadLess wrote guide how to install it from stable repository, working for me
link to post

Check "top" on the router during the transfer? sftp uses encryption. Router's cpu might be limiting the speed. I'd try something like http or ftp server as a test instead of sftp.

Thank you very much for the answer, I have tested with an ftp server and the transfer speed is much higher,

@neheb Hy did you try the 4.14 kernel? Is it also affected by the hdd corruption bug? I know its just preliminary support.

By the way anybody tried the new mt76x2 driver which is committed today?https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=608c84b96ea6b4501b9f64d3f9103a6ec8e7a144

4.14 is also affected

A friend of mine has tried a pen drive on a dlink dir860l rev b1 which has the same SoC and he couldn't recreate this bug. Maybe it is a target specific problem or just affected the rotational drives? I'll ask him to try it with a hdd.

That...is a big hint if true. I'll need to test this out when I have time.

This is extremely late by this point, however I had once (before I knew about Padavan's licensing), distributed an image for the Mi3 router over Telegram (and I had seen others distributing over the web during that time).

This was done about a year ago, and while I do not condone this kind of behavior for community products (even if they are not fully in line with Stallman's views (which I do not completely agree with, though I do respect many of them)), I also prefer LEDE's and OpenWRT's views over Padavan's.

is in the newest build, issue "did not acknowledge authentication response" still exists?

Here find a build with latest master (https://github.com/openwrt/openwrt/commit/d8655868ca04d12ad5ed36e26fc63d61b076e33d
now updated to https://github.com/openwrt/openwrt/commit/1f427bd6166afa2aa11384fa559be9459397a0fe)
latest MT76 commit (https://github.com/openwrt/mt76/commit/cda627fd8feffdadfcd692fbb6d823d455aa19ab)
using kernel 4.14 and Gcc 7.3 (O2 optimization)
You can test HW offload by using (can add to firewall.user)

iptables -I FORWARD 1 -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD

These packages are included in image

adblock - 3.5.1-1
base-files - 184-r6328-d865586
busybox - 1.27.2-3
ca-bundle - 20170717
ca-certificates - 20170717
chat - 2.4.7-12
curl - 7.58.0-1
ddns-scripts - 2.7.7-3
ddns-scripts_cloudflare.com-v4 - 2.7.7-3
ddns-scripts_no-ip_com - 2.7.7-3
dnsmasq - 2.79rc1-1
dropbear - 2017.75-5
etherwake - 1.09-4
firewall - 2017-11-07-c4309372-2
fstools - 2018-02-11-3d239815-1
fwtool - 1
hd-idle - 1.05-1
hostapd-common - 2017-08-24-c2d4f2eb-6
htop - 2.0.2-1
ip6tables - 1.6.2-1
ipset - 6.34-1
iptables - 1.6.2-1
iptables-mod-conntrack-extra - 1.6.2-1
iptables-mod-ipopt - 1.6.2-1
irqbalance - 1.2.0-2
iw - 4.9-1
jshn - 2018-02-08-bb0c830b-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.14.20-1-0314e6fc56f46171a8beb97db8dd1cb9
kmod-cfg80211 - 4.14.20+2017-11-01-4
kmod-gpio-button-hotplug - 4.14.20-2
kmod-ifb - 4.14.20-1
kmod-ip6tables - 4.14.20-1
kmod-ipt-conntrack - 4.14.20-1
kmod-ipt-conntrack-extra - 4.14.20-1
kmod-ipt-core - 4.14.20-1
kmod-ipt-ipopt - 4.14.20-1
kmod-ipt-ipset - 4.14.20-1
kmod-ipt-nat - 4.14.20-1
kmod-ipt-offload - 4.14.20-1
kmod-leds-gpio - 4.14.20-1
kmod-lib-crc-ccitt - 4.14.20-1
kmod-mac80211 - 4.14.20+2017-11-01-4
kmod-mii - 4.14.20-1
kmod-mt76-core - 4.14.20+2018-02-24-cda627fd-1
kmod-mt7603 - 4.14.20+2018-02-24-cda627fd-1
kmod-mt76x2 - 4.14.20+2018-02-24-cda627fd-1
kmod-nf-conntrack - 4.14.20-1
kmod-nf-conntrack6 - 4.14.20-1
kmod-nf-flow - 4.14.20-1
kmod-nf-ipt - 4.14.20-1
kmod-nf-ipt6 - 4.14.20-1
kmod-nf-nat - 4.14.20-1
kmod-nf-reject - 4.14.20-1
kmod-nf-reject6 - 4.14.20-1
kmod-nfnetlink - 4.14.20-1
kmod-nls-base - 4.14.20-1
kmod-ppp - 4.14.20-1
kmod-pppoe - 4.14.20-1
kmod-pppox - 4.14.20-1
kmod-sched-cake - 4.14.20+2018-01-07-568ed964-1
kmod-sched-core - 4.14.20-1
kmod-slhc - 4.14.20-1
kmod-tun - 4.14.20-1
kmod-usb-core - 4.14.20-1
kmod-usb-ledtrig-usbport - 4.14.20-1
kmod-usb-net - 4.14.20-1
kmod-usb-net-cdc-ether - 4.14.20-1
kmod-usb-net-rndis - 4.14.20-1
kmod-usb3 - 4.14.20-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-02-08-bb0c830b-1
libc - 1.1.18-1
libcurl - 7.58.0-1
libgcc - 7.3.0-1
libip4tc - 1.6.2-1
libip6tc - 1.6.2-1
libipset - 6.34-1
libiwinfo - 2018-02-15-223e09bf-1
libiwinfo-lua - 2018-02-15-223e09bf-1
libjson-c - 0.12.1-1
libjson-script - 2018-02-08-bb0c830b-1
liblua - 5.1.5-1
liblzo - 2.10-1
libmbedtls - 2.7.0-1
libmnl - 1.0.4-1
libncurses - 6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2n-1
libpthread - 1.1.18-1
librt - 1.1.18-1
libubox - 2018-02-08-bb0c830b-1
libubus - 2018-01-16-5bae22eb-1
libubus-lua - 2018-01-16-5bae22eb-1
libuci - 2018-01-01-5beb95da-1
libuci-lua - 2018-01-01-5beb95da-1
libuclient - 2017-11-02-4b87d831-1
libusb-1.0 - 1.0.21-1
libustream-openssl - 2016-07-02-ec80adaa-2
libuuid - 2.30.2-2
libxtables - 1.6.2-1
logd - 2018-02-14-128bc35f-1
lua - 5.1.5-1
luci - git-18.058.66225-d830946-1
luci-app-adblock - git-18.058.66225-d830946-1
luci-app-ddns - 2.4.9-1
luci-app-firewall - git-18.058.66225-d830946-1
luci-app-hd-idle - git-18.058.66225-d830946-1
luci-app-openvpn - git-18.058.66225-d830946-1
luci-app-samba - git-18.058.66225-d830946-1
luci-app-sqm - 1.1.3-1
luci-app-upnp - git-18.058.66225-d830946-1
luci-app-wol - git-18.058.66225-d830946-1
luci-base - git-18.058.66225-d830946-1
luci-lib-ip - git-18.058.66225-d830946-1
luci-lib-jsonc - git-18.058.66225-d830946-1
luci-lib-nixio - git-18.058.66225-d830946-1
luci-mod-admin-full - git-18.058.66225-d830946-1
luci-proto-ipv6 - git-18.058.66225-d830946-1
luci-proto-ppp - git-18.058.66225-d830946-1
luci-ssl-openssl - git-18.058.66225-d830946-1
luci-theme-bootstrap - git-18.058.66225-d830946-1
miniupnpd - 2.0.20170421-2
mtd - 21
netifd - 2018-02-05-1be329c6-4
odhcp6c - 2017-09-05-1f93bd4c-10
odhcpd-ipv6only - 1.4-1
openssl-util - 1.0.2n-1
openvpn-easy-rsa - 3.0.1-1
openvpn-openssl - 2.4.4-2
opkg - 2017-12-07-3b417b9f-2
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-23-653629f1-2
rpcd - 2017-12-07-cfe1e75c-1
rpcd-mod-rrdns - 20170710
samba36-server - 3.6.25-9
sqm-scripts - 1.1.3-1
swconfig - 11
tc - 4.15.0-1
terminfo - 6.0-1
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2018-02-14-128bc35f-1
ubus - 2018-01-16-5bae22eb-1
ubusd - 2018-01-16-5bae22eb-1
uci - 2018-01-01-5beb95da-1
uclient-fetch - 2017-11-02-4b87d831-1
uhttpd - 2017-11-04-a235636a-1
uhttpd-mod-ubus - 2017-11-04-a235636a-1
usb-modeswitch - 2017-12-19-f40f84c2-1
usbreset - 4
usbutils - 007-7
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359
wireless-tools - 29-5
wpad-mini - 2017-08-24-c2d4f2eb-6
wwan - 2014-07-17-1

thanks @SCRAPPER, seems that the link to guide is wrong, please , could you double check and share the correct one

thanks!

Is this kernel version stable ? What about wifi stability ?

works fine here.. you can always revert to previous build if not happy

True - can revert if the router is up and running

root, admin, wifipass: 88888888, wifi: NATCAT_XXXX

@mcaptur thanks for sharing. I tried it and it seems stable so far.
On the 5Ghz i get around 220Mbps and around 98Mbps on the 2.4Ghz. ( on a Intel 7260 pcie card)
I expected a little higher transfer rate on the 5Ghz to be honest.

There is 2 things i want to ask.
The first have to do with the kernel. This firmware comes with the 4.14 kernel and when i try to install certain packages i get a dependence error:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nvmem:
  • kernel (= 4.9.82-1-45f0911785241c9bd2fe32250a47856f) *
    Should i change the sources or should i compile the packages my self ?

The second have to do with the mac address of the 5Ghz radio. It seems if i change it the wireless settings, the clients can't connect.
/etc/config/wireless
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option macaddr 'xx:xx:xx:xx:xx:xx'

I did find a work around by changing the hex values on the mtd2 partition but it's not very convenient.
So is that just me or do you have problems with this as well ?
Any easier way to do it?

re packages would have to compile them since online ones expect 4.9 kernel.. let me know which you need and will create image with them.. re mac i never tried changing radio mac..

1 Like