The RA75 has two independent radios, and you have the full flexibility of OpenWRT to configure something like that. However, it better be routed, not 'bridged'.
Finally, I managed to install it using this firmware:
To make it clear, I went with option 2: Load system code then write to Flash via TFTP
. Not option 1: Load system code to SDRAM via TFTP
(as described here).
It worked this time after I temporarily disabled firewall on my Windows like this:
FYI, I was using Tera Term and Tftpd64 softwares during the process. I believe the problem I had earlier was firewall/connectivity issue between my PC and RA75. If you're on Windows, try to disable your firewall or add firewall exception for Tftpd64 software (see this guide).
While I don't think this is critical because the LuCI is working fine so far for me, I'm going to highlight it anyway - there was an error at the end of the LuCI installation and I'm not sure what it's all about.
Traces:
root@OpenWrt:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=55 time=24.773 ms
64 bytes from 1.1.1.1: seq=1 ttl=55 time=19.213 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 19.213/21.993/24.773 ms
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/5.10.167-1-e354b3370be7826986216b38fad7739b/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/5.10.167-1-e354b3370be7826986216b38fad7739b/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install luci
Installing luci (git-23.024.33244-34dee82) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-23.024.33244-34dee82_all.ipk
Installing luci-proto-ipv6 (git-21.148.48881-79947af) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ipv6_git-21.148.48881-79947af_all.ipk
Installing luci-app-firewall (git-23.035.45612-c54efde) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-firewall_git-23.035.45612-c54efde_all.ipk
Installing rpcd (2023-01-21-c0df2a7a-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd_2023-01-21-c0df2a7a-2_mipsel_24kc.ipk
Installing rpcd-mod-file (2023-01-21-c0df2a7a-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd-mod-file_2023-01-21-c0df2a7a-2_mipsel_24kc.ipk
Installing rpcd-mod-luci (20230123-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/rpcd-mod-luci_20230123-1_mipsel_24kc.ipk
Installing rpcd-mod-ucode (2023-01-21-c0df2a7a-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd-mod-ucode_2023-01-21-c0df2a7a-2_mipsel_24kc.ipk
Installing cgi-io (2022-08-10-901b0f04-21) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/cgi-io_2022-08-10-901b0f04-21_mipsel_24kc.ipk
Installing ucode-mod-math (2023-02-13-ab2f3f70-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/ucode-mod-math_2023-02-13-ab2f3f70-1_mipsel_24kc.ipk
Installing ucode-mod-html (1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/ucode-mod-html_1_mipsel_24kc.ipk
Installing liblucihttp0 (2022-07-08-6e68a106-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp0_2022-07-08-6e68a106-1_mipsel_24kc.ipk
Installing liblucihttp-ucode (2022-07-08-6e68a106-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp-ucode_2022-07-08-6e68a106-1_mipsel_24kc.ipk
Installing luci-base (git-23.039.28596-41e9b8d) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-base_git-23.039.28596-41e9b8d_mipsel_24kc.ipk
Installing rpcd-mod-iwinfo (2023-01-21-c0df2a7a-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd-mod-iwinfo_2023-01-21-c0df2a7a-2_mipsel_24kc.ipk
Installing luci-mod-status (git-23.040.77635-e3950b5) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-status_git-23.040.77635-e3950b5_mipsel_24kc.ipk
Installing luci-mod-system (git-23.013.73089-0186d7e) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-system_git-23.013.73089-0186d7e_all.ipk
Installing luci-mod-network (git-23.038.47117-2234d0c) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-network_git-23.038.47117-2234d0c_all.ipk
Installing luci-mod-admin-full (git-19.253.48496-3f93650) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-admin-full_git-19.253.48496-3f93650_all.ipk
Installing luci-proto-ppp (git-21.158.38888-88b9d84) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ppp_git-21.158.38888-88b9d84_all.ipk
Installing luci-theme-bootstrap (git-23.038.32982-f416c27) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-theme-bootstrap_git-23.038.32982-f416c27_all.ipk
Installing rpcd-mod-rrdns (20170710) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/rpcd-mod-rrdns_20170710_mipsel_24kc.ipk
Installing uhttpd (2023-01-28-47561aa1-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/uhttpd_2023-01-28-47561aa1-1_mipsel_24kc.ipk
Installing uhttpd-mod-ubus (2023-01-28-47561aa1-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/uhttpd-mod-ubus_2023-01-28-47561aa1-1_mipsel_24kc.ipk
Installing luci-light (git-23.024.33244-34dee82) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-light_git-23.024.33244-34dee82_all.ipk
Installing rpcd-mod-rpcsys (2023-01-21-c0df2a7a-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd-mod-rpcsys_2023-01-21-c0df2a7a-2_mipsel_24kc.ipk
Installing attendedsysupgrade-common (8) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/attendedsysupgrade-common_8_all.ipk
Installing luci-app-attendedsysupgrade (git-22.285.67526-18bfcca) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-attendedsysupgrade_git-22.285.67526-18bfcca_all.ipk
Installing luci-app-opkg (git-23.009.82915-ec3aac4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-opkg_git-23.009.82915-ec3aac4_all.ipk
Configuring liblucihttp0.
Configuring cgi-io.
Configuring luci-app-opkg.
Configuring rpcd.
Configuring rpcd-mod-file.
Configuring rpcd-mod-luci.
Configuring rpcd-mod-ucode.
Configuring ucode-mod-math.
Configuring ucode-mod-html.
Configuring liblucihttp-ucode.
Configuring luci-base.
4+0 records in
4+0 records out
Configuring luci-mod-system.
Configuring luci-theme-bootstrap.
/luci-static/bootstrap
Configuring rpcd-mod-iwinfo.
Configuring luci-mod-status.
Configuring luci-app-firewall.
Configuring luci-proto-ppp.
Configuring luci-mod-network.
Configuring luci-mod-admin-full.
Configuring luci-proto-ipv6.
Configuring rpcd-mod-rpcsys.
Configuring attendedsysupgrade-common.
Configuring luci-app-attendedsysupgrade.
Configuring uhttpd.
4+0 records in
4+0 records out
Configuring rpcd-mod-rrdns.
Configuring uhttpd-mod-ubus.
4+0 records in
4+0 records out
Configuring luci-light.
Configuring luci.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-reject
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-reject6
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-log
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-log6
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-crypto-crc32c
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nft-core
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-flow
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-nf-ipt
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.93-1-58548ecaeaaebcd5046479c50712d27c) for kmod-ipt-core
Overall, it worked great so far. Thank you very much @jdeisenh for working on this RA75 support!
Hello, i want to install openwrt on my mi ra75 but i cant do soldering, could anyone share spi backup with openwrt installed so it can be flashed directly to ic flash with a ch341a please, thanks!
Hi there! I have RA75, and I want upgrade it with outside directional input antenn for 2.4GHz, but I don't understand, what antenn I should change or I can't do it, because first work for Rx and second for Tx?
This is a MIMO Device, both antennas work simultaneously for TX and RX.
If you look at the photos in https://fccid.io/2AFZZRA75/Internal-Photos/Internal-photos-5364844.pdf you will see that each 'ear' contains both a 5 and 2.4GHz antenna. They are also clearly marked, in the photos, at least.
The antenna wires are soldered to the board. So this hardware is not the best basis for such experiments.
I think that the hardware will adapt if you just connect one antenna, loosing the MIMO advantage. Will only be worth it if the antenna is much better.
So please try, but no guarantees.
Yes, thank you, I understand that this is not the best base for such experiments, but in my conditions, I don't have a better one (
That is, do you think that if one is replaced with an external one, then it can automatically start working separately? And as for the software part, isn't it possible to separate them and change their purpose in a simple way?
for some unknown reason I can't connect via LAN, when I turn on Wi-Fi, I was able to connect to it, but with the official settings documentation, I have to use LAN, at this stage everything breaks for me, ignoring this stage does nothing does not work, although through UART, it is pinged on 8.8.8.8 without problems. I'm probably doing something wrong. Is there not already a ready-made solution so that it is not necessary to turn on WiFi, via UART, because after the reset, it will not be very good to search for UART again, and secondly, the repeater is already configured, where it will be necessary to connect purely through the phone (Wi- Fi), find the client setting and enter your data there?
Please explain in a bit more detail
- What did you configure,exactly
- What happened
- What did you expect?
I do it: https://openwrt.org/docs/guide-user/network/wifi/relay_configuration
After i do it: https://openwrt.org/docs/guide-user/network/wifi/relay_configuration
Without: https://openwrt.org/docs/guide-user/network/wifi/relay_configuration#lan_interface
Are you trying to achieve something like this? https://www.nerd-quickies.net/2019/08/20/setup-lan-wlan-bridge-with-openwrt-luci/
Hi! I can setup it! I had problems with DNS servers, after add custom DNS servers (8.8.8.8, 8.8.4.4) it working.
All thanks!
Hi. I managed to flash OpenWrt to the device and set it up to be a dumb access point connected via ethernet-dhcp to my router. Thank @zulh and @brusarp for steps.
Could you please guide me how to make luci and probably some default settings persist after device reset by pin button? The goal is to unsolsder uart wires and never connect them again. Do I need to compile a custom image? is there a manual for that?
Steps to reach where I am now (on windows, with some obvious things I didn't know):
- open the device, solder 3 pins to uart adapter -- gnd to gnd, rx to tx, tx to rx.
- connect the uart adapter to PC and notice new COM port number in device manager (e. g. COM10)
- install PuTTY, go to session, set up Serial, name of COM port, and speed 115200. connect and see a green cursor in a black window.
- set up static IP at PC ethernet adapter to 192.168.31.100, mask 255.255.255.0, leave other fields blank, connect ethernet cable to the device.
- install solarwind tftp server, start it, check in configuration that it's bound to all addresses, and that directory exists (default is C:\TFTP-Root)
Turn off Windows Firewall. - download firmware to that directory, don't rename it.
- power on the device, see the output running in PuTTY window and press 2 on PC keyboard when prompted.
- enter device ip 192.168.31.1, server 192.168.31.100 and the name of firmware file in the directory of tftp server (e.g. openwrt-ramips-mt76x8-xiaomi_mi-ra75-squashfs-sysupgrade.bin)
- wait several minutes until output stops and blue led lights, press enter a couple of times. OpenWRT welcome ASCII should appear.
- set up device static ip to router's subnet: network.lan.ipaddr="192.168.4.70" (any free one), network.lan.gateway="192.168.4.1" (router LAN address), DNS, commit, restart network.
- connect the device via ethernet cable to router's LAN port.
-
install luci web interface:
opkg update && opkg install luci
- connect with your browser to the device web GUI (192.168.4.70, or whatever was set up)
- Network--Interfaces--lan--Edit--Protocol--DHCP client, save, apply. reconnect ethernet cable to router, and find out the new device ip in router dashboard, or ser static DHCP beforehand.
- connect via browser to the new IP and configure wifi networks.